Commit Graph

155 Commits

Author SHA1 Message Date
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