Commit Graph

247 Commits

Author SHA1 Message Date
Pranav K 754d7ba64e Pass versions using MSBuild template instead of importing dependencies.props 2018-06-05 11:33:46 -07:00
ASP.NET CI 41324bd37a Update dependencies.props
[auto-updated: dependencies]
2018-06-03 19:25:30 +00:00
Ryan Brandenburg 28a859605f Override MicrosoftNETCoreApp22PackageVersion 2018-05-29 09:35:55 -07:00
ASP.NET CI 35a34a81fc Update dependencies.props
[auto-updated: dependencies]
2018-05-27 19:26:14 +00:00
Ryan Brandenburg a42f9d28be Don't police netcoreapp version 2018-05-24 12:20:58 -07:00
Ryan Brandenburg de9c5b3909 netcoreapp22 status 2018-05-22 16:41:31 -07:00
N. Taylor Mullen 592f5669db Revert "Fix local VSIX creation."
This reverts commit 1ff2e7022f.
2018-05-21 17:20:48 -07:00
N. Taylor Mullen 1ff2e7022f Fix local VSIX creation. 2018-05-21 12:58:22 -07:00
N. Taylor Mullen 59baad17da Merge branch 'rel/vs15.8' into dev 2018-05-21 10:48:16 -07:00
ASP.NET CI 53eedb2e34 Update dependencies.props
[auto-updated: dependencies]
2018-05-20 19:43:37 +00:00
N. Taylor Mullen e8c8396298 Upgrade to VS 15.8 Preview 2 version of Roslyn. 2018-05-16 15:50:54 -07:00
N. Taylor Mullen 8d4363b515 Update VSIX publishing to be consistent with non-VSIX publishing
- Prior to this change PDBs published by our build system wouldn't match up because the assembly identity would look different.
2018-05-16 15:50:44 -07:00
N. Taylor Mullen 63af9221dc Update korebuild and VSIX generation settings to support 15.8 VS.
- Prior to this if a 15.8 VS was installed the VSIX creation target would fail due to a bug in the CLI we're currently pinned to (already fixed, we just haven't pulled it). The fix was removing the parallelism flags to msbuild to allow it to run unrestricted in regards to processor utilization.
- Changed the VS restrictions to ensure we don't use unsupported 15.9 bits that have breaking changes in their MSBuild bits (this has proven to be troublesome in the past).
2018-05-15 11:51:00 -07:00
ASP.NET CI ccec11c19d Update dependencies.props
[auto-updated: dependencies]
2018-05-13 14:20:13 -07:00
Pranav K 0f2b315fe4 Fixup Razor Sdk tests to work on netcoreapp2.2 2018-05-08 15:22:54 -07:00
Ryan Brandenburg efaaec6546 Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
Ryan Nowak a9e7e4668d Bump Roslyn dependency to 2.8.0
(cherry picked from commit e9fc15de02)
2018-05-07 12:35:51 -07:00
ASP.NET CI fdce0ca71e Update dependencies.props
[auto-updated: dependencies]
2018-05-06 12:27:39 -07:00
Pranav K 2081663635 Re-enable desktop msbuild tests
Fixes #2208
2018-05-01 15:00:03 -07:00
ASP.NET CI 8bc4c7a15c Update dependencies.props
[auto-updated: dependencies]
2018-04-29 12:28:29 -07:00
Pranav K 813e50087c Specify RuntimeFrameworkVersion \ NSLibraryVersion when running tests 2018-04-26 17:42:01 -07:00
Nate McMaster b956aa0c80
Merge branch 'release/2.1' into dev 2018-04-23 19:02:19 -07:00
Nate McMaster 0d047d64f3
Remove explicit reference to NETStandard.Library when using .NET Framework 2018-04-23 13:32:50 -07:00
ASP.NET CI a643531c05 Update dependencies.props
[auto-updated: dependencies]
2018-04-23 12:22:04 -07:00
Nate McMaster 3854d22e2a
Merge branch release/2.1 into dev 2018-04-20 15:09:42 -07:00
ASP.NET CI 8075ae5344 Update dependencies.props
[auto-updated: dependencies]
2018-04-19 22:33:04 -07:00
Ajay Bhargav Baaskaran 8c56296460 Merge branch 'release/2.1' into dev 2018-04-18 12:31:11 -07:00
Ryan Nowak 2c6ae20e11 Update Roslyn version numbers
Updates the version numbers of Roslyn to match what will be available on
nuget.org for our RC.
2018-04-17 21:15:13 -04:00
Pranav K c8c6a6f0ae Update versions in ProvideBindingRedirectAttribute 2018-04-17 11:40:19 -07:00
Ryan Brandenburg 3ffd3480b5 Branching for 2.1.0-rc1 2018-04-16 17:01:21 -07:00
ASP.NET CI d16c9a5ba4 Update dependencies.props
[auto-updated: dependencies]
2018-04-15 14:22:44 -07:00
ASP.NET CI 92cab8d893 Update dependencies.props
[auto-updated: dependencies]
2018-04-03 22:38:54 +00:00
Ajay Bhargav Baaskaran ad3048fcc3 Merge branch 'release/2.1' into dev 2018-03-28 18:26:25 -07:00
Nate McMaster (automated) bc72470c21
Update dependencies.props
[auto-updated: dependencies]
2018-03-28 10:59:33 -07:00
ASP.NET CI 34772f4459 Update dependencies.props
[auto-updated: dependencies]
2018-03-25 15:51:35 -07:00
Pranav K 48606039e5
Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-22 12:17:52 -07:00
Pranav K ac3065a9e1
Temporary workaround to make Razor Windows build on dotnet-ci 2018-03-22 12:17:06 -07:00
Ajay Bhargav Baaskaran e9562ad372 Merge branch 'release/2.1' into dev 2018-03-19 11:07:21 -07:00
Ryan Brandenburg 7a7cc5ab1e Set 2.0 baselines 2018-03-19 10:46:23 -07:00
Pranav K 61fe0d6448
Branching for 2.1.0-preview2 2018-03-16 11:16:32 -07:00
Pranav K 0c7269eeb6
Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
N. Taylor Mullen 1d602d1205 Add host project system for VS4Mac.
- Tied into VS4Macs ProjectExtensions in order to bootstrap our Razor world.
- We currently watch all DotNet projects with the expectation that they're the only ones that can potentially turn into Razor compatible projects.
- Added a fallback Razor project host which is used for pre-Razor SDK Razor versions (< 2.1).
- Added a default Razor project host which consumes all MSBuild data from the users packages and sets up the Razor world accordingly.
- Had to modify some existing contracts to work better with new expectations. one of these was the VS4Mac specific Workspace accessor; essentially we needed to be able to lookup a workspace from a solution.
- Some of our previous expectations about addins were wrong (not being able to directly reference your libraries). To avoid using reflection to bootstrap our types I tried out directly referencing our libraries and all worked fine.
- Refactored the DefaultRazorProjectHost in windows (since we had to in Mac) for testing purposes.

#2081
2018-03-13 15:31:45 -07:00
N. Taylor Mullen 07e672159e Merge remote-tracking branch 'origin/dev' into nimullen/vs15.7merge 2018-03-08 14:44:14 -08:00
ASP.NET CI 69c2d08326 Update dependencies.props
[auto-updated: dependencies]
2018-03-08 13:11:37 -08:00
Pranav K 53b3ebb680
Use dotnet-core feed in repos 2018-03-06 10:05:37 -08:00
Nate McMaster 0dc95887ee
Set MSBuild dependency version to 15.6.82
This is the latest stable release of MSBuild package versions
2018-03-06 09:46:30 -08:00
N. Taylor Mullen 5c456fbd04 Merge branch 'rel/vs15.7' into dev
# Conflicts:
#	build/dependencies.props
#	src/Microsoft.CodeAnalysis.Razor.Workspaces/ProjectSystem/DefaultProjectSnapshot.cs
#	src/Microsoft.CodeAnalysis.Razor.Workspaces/ProjectSystem/DefaultProjectSnapshotManager.cs
#	src/Microsoft.CodeAnalysis.Razor.Workspaces/ProjectSystem/DefaultProjectSnapshotWorker.cs
#	src/Microsoft.CodeAnalysis.Razor.Workspaces/ProjectSystem/DefaultProjectSnapshotWorkerFactory.cs
#	src/Microsoft.CodeAnalysis.Razor.Workspaces/ProjectSystem/ProjectSnapshot.cs
#	src/Microsoft.CodeAnalysis.Razor.Workspaces/ProjectSystem/ProjectSnapshotUpdateContext.cs
#	src/Microsoft.VisualStudio.Editor.Razor/DefaultVisualStudioDocumentTracker.cs
#	src/Microsoft.VisualStudio.LanguageServices.Razor/Legacy/LegacyTagHelperResolver.cs
#	src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj
#	src/Microsoft.VisualStudio.LanguageServices.Razor/ProjectSystem/Rules/RazorConfiguration.cs
#	src/Microsoft.VisualStudio.LanguageServices.Razor/ProjectSystem/Rules/RazorExtension.cs
#	src/Microsoft.VisualStudio.LanguageServices.Razor/ProjectSystem/Rules/RazorGeneral.cs
#	src/Microsoft.VisualStudio.LanguageServices.Razor/ProjectSystem/Rules/RazorProjectProperties.cs
#	test/Microsoft.CodeAnalysis.Razor.Workspaces.Test/ProjectSystem/DefaultProjectSnapshotTest.cs
#	test/Microsoft.VisualStudio.Editor.Razor.Test/Microsoft.VisualStudio.Editor.Razor.Test.csproj
2018-03-05 22:58:07 -08:00
ASP.NET CI 69a32c68e2 Update dependencies.props
[auto-updated: dependencies]
2018-03-04 12:26:25 -08:00
Pranav K 62df770c39 PreserveCompilationContext needs to be set only if a project has any Razor files
Fixes #2077
2018-02-28 11:45:20 -08:00
Ryan Nowak 5008c7803c Add a project system
Step 1: Add HostProject

This is a somewhat complex addition to the ProjectSnapshotManager. Now
that we accept updates from the underlying IDE project system we need to
coordinate those with the Workspace.

This means that ProjectSnapshot itself now also has a version concept.

Step 2: Introduce a new project system based on CPS

We use project capabilities defined by the Razor SDK to determine
whether to rely on MSBuild evaluation to detect the configuration or
whether to fallback to assembly-based detection.

Step 3: Flow RazorConfiguration everywhere

We use now expose the RazorConfiguration to the language service and
editor. This means that we no longer need to detect the project's
configuration asynchronously, it happens much faster now.
2018-02-19 14:39:19 -08:00
Nate McMaster 13824c418e Catch 15.7 up with dev
This change integrates most of the non-breaking work that we did in 2.1
including the updates to make Razor less coupled to MVC.
2018-02-19 10:46:16 -08:00
ASP.NET CI 02a5b11725 Update dependencies.props
[auto-updated: dependencies]
2018-02-18 12:29:05 -08:00
ASP.NET CI 19ec125880 Update dependencies.props
[auto-updated: dependencies]
2018-02-11 12:37:35 -08:00
Nate McMaster 06c2f0cfd2 Merge branch 'release/2.1' into dev 2018-02-09 10:12:41 -08:00
Nate McMaster 1a77aecf68 Align NETStandard.Library version variable with Universe 2018-02-09 10:08:09 -08:00
N. Taylor Mullen 6c75f29419 Include VSIX symbols in build output.
#2037
2018-02-08 14:36:07 -08:00
Ryan Nowak 2ae925a0f2 Update SDK with tooling changes
These are some updates to the SDK based on the work going on in the
VS 15.7 branch. I porting the SDK changes here early for ease of
testing.
2018-02-06 18:21:33 -08:00
N. Taylor Mullen 7490b4413c Change GenerateMPACK ItemGroup names to be non-plural. 2018-02-06 12:13:17 -08:00
N. Taylor Mullen 83c31f611f Update GenerateMPACK to capture PDBs.
- VS Mac expects pdbs to sit side-by-side.

#1968
2018-02-06 12:13:17 -08:00
Ryan Nowak 07f3c5cb50 Merge branch 'rel/vs15.7' into dev 2018-02-02 13:17:27 -08:00
Ryan Nowak eb5abc6ac5 Add CPS dependencies
Getting this in to avoid pain when rebasing/merging.
2018-02-02 13:16:24 -08:00
Nate McMaster d452ff44b3
Include portable symbols in nupkgs (#2009) 2018-02-02 11:14:25 -08:00
ASP.NET CI f3817ef738 Update dependencies.props
[auto-updated: dependencies]
2018-02-01 04:19:14 +00:00
Nate McMaster 8653225b0c Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip]
Scripted changes:
- updated travis and appveyor.yml files to only build dev, ci, and release branches
- updated dependencies.props
- updated korebuild-lock.txt
- updated korebuild.json to release/2.1 channel
2018-01-31 15:01:13 -08:00
N. Taylor Mullen 5c6ff4366f Make it so MPacks generate in Mac build.
#1966
2018-01-24 12:28:01 -08:00
Pranav K c7d376dc61 Branching for 2.1.0-preview1 2018-01-23 15:32:31 -08:00
Ryan Nowak b9db1ac7c8 update deps 2018-01-19 13:59:31 -08:00
N. Taylor Mullen 49a3b6bcae Use ZipArchive task instead of powershell.
#1937
2018-01-17 16:07:07 -08:00
Ajay Bhargav Baaskaran eb107092d9 Upgrade dependencies 2018-01-17 12:35:26 -08:00
N. Taylor Mullen 5e0e09ac06 Remove MPack assets. 2018-01-16 20:19:11 -08:00
Nate McMaster 141b0b4763 Upgrade to build tools 2.1.0-preview1-15651 2018-01-16 20:19:11 -08:00
ASP.NET CI e35bc1176c Update dependencies.props
[auto-updated: dependencies]
2018-01-16 20:19:11 -08:00
ASP.NET CI 03ef44aa1d Update dependencies.props
[auto-updated: dependencies]
2018-01-16 20:19:11 -08:00
Nate McMaster c88f7be1ab Include the VSIX and MPack files in the bill of materials 2018-01-16 20:19:11 -08:00
ASP.NET CI f578819c6e Update dependencies.props 2018-01-16 20:19:11 -08:00
ASP.NET CI 3413c74c2d Update dependencies.props
[auto-updated: dependencies]
2018-01-16 20:19:11 -08:00
Pranav K ec4e127a70 Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2018-01-16 20:19:11 -08:00
Ryan Brandenburg 9edbf87f31 Remove unneeded exclusion 2018-01-16 20:19:11 -08:00
Pranav K a5ddd2baf1 Specify runtime versions to install 2018-01-16 20:19:11 -08:00
Pranav K 50fa43d35b Replace aspnetcore-ci-dev feed with aspnetcore-dev 2018-01-16 20:19:11 -08:00
Nate McMaster 89243f8bb8 Use MSBuild to set NuGet feeds instead of NuGet.config 2018-01-16 20:19:11 -08:00
Ryan Nowak 8c1623695a Update deps 2018-01-16 12:41:21 -08:00
N. Taylor Mullen f025a27f04 Unify how AdhocWorkspace is constructed.
- Created a new `TestWorkspace` type to lock on `AdhocWorkspace` construction. This type can't be constructed/changed in parallel.
- Updated test usages of `AdhocWorkspace` to make use of `TestWorkspace`.
- Added a `Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common` project to have the `TestWorkspace` type.

#1913
2018-01-12 17:54:53 -08:00
Ryan Nowak 6bab1c682d Fix a build break introduced by new SDK
This is failing on the CI due to an issue with a newer build of the SDK.
I opened https://github.com/dotnet/sdk/issues/1854 to track the SDK bug.

- update korebuild
- upgrade deps
- remove System.Diagnostics.DiagnosticSource from test projects
2018-01-12 14:22:00 -08:00
Pranav K 1849056093 Add support for running tests using desktop msbuild 2018-01-05 12:52:01 -08:00
Ajay Bhargav Baaskaran 988d1b3c34 Use common BDN runner and config 2018-01-04 14:35:38 -08:00
ASP.NET CI 0452feced7 Update dependencies.props
[auto-updated: dependencies]
2018-01-04 01:55:16 +00:00
ASP.NET CI 2e6c06bc6f Update dependencies.props
[auto-updated: dependencies]
2017-12-31 21:49:09 +00:00
Nate McMaster 34054339ed Upgrade to build tools 2.1.0-preview1-15651 2017-12-28 14:10:04 -08:00
Ryan Nowak ed17bd549b Update to latest korebuild
Contains a fix to avoid crashing on Roslyn's version format
2017-12-28 13:16:55 -08:00
Nate McMaster 82a68d73de Include the VSIX and MPack files in the bill of materials 2017-12-20 13:52:32 -08:00
Ryan Nowak a3fef5eeaa Adds support for Razor compilation at build-time
This PR adds two new tools as well as a tasks project. None of these
projects produce a package and they ship as part of
Microsoft.AspNetCore.Razor.Design. For now this is a 'fat' package that
contains all of the dependencies, but we plan to strip them out in the
future.

The support for compilation at build-time will start as **off** by
default. The immediate goal here is to get this to flow through the
build so that we can test it as part of the inner loop effort. We will
enable this feature by default once we've done more thorough testing.

Since this is mostly a code dump, I plan to address blocking and minor
feedback only. If there are design issues that are non-critical, I will
open follow up items.

The next step will be to start adding more detailed tests.
2017-12-18 13:01:14 -08:00
Ryan Nowak c0eecc87e7 Add tools and tasks for Razor MSBuild support 2017-12-18 11:19:24 -08:00
N. Taylor Mullen 7234850c9a Update MonoDevelop.Sdk to 1.0.1.
- The update includes properly signed binaries so they can be used in tests.
2017-12-15 16:20:18 -08:00
ASP.NET CI 1c9c05b64d Update dependencies.props
[auto-updated: dependencies]
2017-12-13 21:33:19 +00:00
N. Taylor Mullen b73c50be41 Add Mac implementation of FileChangeTracker.
- Added a LanguageServices Mac test project.
- Added a few tests for the new `DefaultFileChangeTracker`. There's currently an issue with the MonoDevelop.Core binaries we're compiling against which doesn't allow me to unit test other pieces of the class (they depend on instantiating mono develop objects).
- Added IVT from product projects to new mac testing project.

#1789
2017-12-12 15:47:16 -08:00
ASP.NET CI 3ee6426503 Update dependencies.props
[auto-updated: dependencies]
2017-12-10 13:37:33 -08:00
N. Taylor Mullen 37eed518f8 Make VisualStudioRazorParserFactory VisualStudio agnostic.
- Removed the `Microsoft.VisualStudio.Language.IntelliSense` dependency from `Microsoft.VisualStudio.Editor.Razor` because it isn't supported in VS for mac.
- Replaced `ICompletionBroker` usage in the VS agnostic dll with a new abstract type `VisualStudioCompletionBroker`. This also enables us to implement completion
- Added Mac implementation of new `VisualStudioCompletionBroker`.

#1789
2017-12-08 16:34:43 -08:00
N. Taylor Mullen 7ec0e9fb23 Make GenerateMPack target more resilient. 2017-12-05 11:59:42 -08:00
N. Taylor Mullen cd1d57f97b Add MonoDevelop.Core and MonoDevelop.Ide addin dependencies.
- Added the runtime package dependency to allow for proper assembly building.
- Added a new external package source for the MonoDevelop.Sdk.
- Had to change the MPack version to be compliant with VS for mac versioning support.

#1789
2017-12-04 17:35:54 -08:00