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
Ajay Bhargav Baaskaran
e085441ad3
Don't limit parallel threads for xunit tests
2018-03-07 10:43:25 -08:00
Ajay Bhargav Baaskaran
c96d8e4bab
Skip test correctly
2018-03-06 17:47:43 -08:00
Ryan Brandenburg
6bc5c976de
Remove AppVeyor status tag.
2018-03-06 10:58:22 -08:00
Ryan Brandenburg
16a0b69b5b
Remove AppVeyor file until reliability improves
2018-03-06 10:56:38 -08:00
Pranav K
5502e90565
Prepend FeatureBranchVersionPrefix if FeatureBranchVersionSuffix is specified
2018-03-06 10:05: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
Pranav K
c4ba279fb5
Skipping flaky test and additional additional diagnositcs to Shutdown command
2018-03-06 09:15:53 -08:00
Pranav K
0d321771ad
Make UseRazorBuildServer=true by default
2018-03-06 09:15:52 -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
Ajay Bhargav Baaskaran
27e6c699e5
Don't print normal output as error
2018-03-05 15:22:37 -08:00
Ajay Bhargav Baaskaran
7e18efbf1f
Fixed flaky shutdown tests
2018-03-05 11:55:56 -08:00
Pranav K
41c923926e
Make RazorCompileOnBuild=true
...
Fixes #1986
2018-03-05 11:29:44 -08:00
ASP.NET CI
69a32c68e2
Update dependencies.props
...
[auto-updated: dependencies]
2018-03-04 12:26:25 -08:00
Pranav K
c444f65c5d
Import capabilities to support solution explorer nesting
...
Fixes #2047
2018-03-02 11:18:11 -08:00
Pranav K
29bd5f49dd
Fix build break
2018-03-02 10:05:44 -08:00
Pranav K
5bd650bdd1
Pack should pack symbol nupkg
...
* Update path calculation for BuiltProjectOutputGroupOutput to include full path. This matches
the behavior of Microsoft.Common.targets.
* Add Razor symbols to DebugSymbolsProjectOutputGroupOutput
Fixes #2116
2018-03-02 07:45:24 -08:00
Ajay Bhargav Baaskaran
0f1bc0e0bd
Fix flaky dispatcher test
2018-03-01 14:29:25 -08:00
Ajay Bhargav Baaskaran
a9dca60a10
Added support for AssemblyMetadata caching during build server TagHelper discovery
2018-03-01 13:08:56 -08:00
Ryan Nowak
00485d9f1b
Fix #2099 - make AssemblyExtension public
...
This is needed when a runtime wants to construct its own configuration
manually, especially useful in tests.
(cherry picked from commit 92c511b2b4 )
2018-03-01 11:05:35 -08:00
Ryan Nowak
3e0360a891
Fix #2041 - Add static constructor to DocumentWriter
...
The instance Create method was always supposed to be static.
(cherry picked from commit e05c2abd94 )
2018-03-01 10:54:16 -08:00
Ryan Nowak
92c511b2b4
Fix #2099 - make AssemblyExtension public
...
This is needed when a runtime wants to construct its own configuration
manually, especially useful in tests.
2018-02-28 17:58:21 -08:00
Ryan Nowak
e05c2abd94
Fix #2041 - Add static constructor to DocumentWriter
...
The instance Create method was always supposed to be static.
2018-02-28 13:46:18 -08:00
Ryan Nowak
d6784b5f16
Report faults on Razor project system exceptions
...
Using the async-tasks service will automatically handle and report
exceptions from the project system
2018-02-28 13:04:42 -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
Pranav K
251d57942b
Clean up error message when Razor compiler is not referenced
...
Fixes #1974
2018-02-27 18:08:34 -08:00
Pranav K
f51ddf68a6
Add RazorGenerate items to UpToDateCheckInput
...
Fixes #2048
2018-02-27 15:01:27 -08:00
Pranav K
2958a145e3
Revert "Revert "Update to the latest Sdk and cleanup projects""
...
This reverts commit fed0970b33 .
2018-02-27 09:44:03 -08:00
Pranav K
aa21a6be6e
Use File.Open overload that overwrites file entirely in DiscoverCommand ( #2110 )
...
* Use File.Open overload that overwrites file entirely in DiscoverCommand
Re-enable TagHelper discovery incrementalism test
Fixes #2104
2018-02-26 10:22:29 -08:00
N. Taylor Mullen
b538ceba93
Change final code documents to not contain non-existent imports.
...
- Existent imports are imports that have content that contribute to the processing of a Razor document. Prior to this we had a legacy expectation that code documents had empty markers in them for all of their import locations. This proved troublesome when cross-referencing files that had file paths and were supposed to be existent but weren't in metadata. Now that we have a project engine with a de-coupled import feature we can rely on the import feature for finding all locations of important files and then strip out any non-existent items.
2018-02-23 16:30:22 -08:00
Ajay Bhargav Baaskaran
64c86634a8
Added a test to verify incremental TagHelper discovery
2018-02-22 17:15:58 -08:00
Pranav K
60e5818884
Use FeatureBranchVersionSuffix when generating VersionSuffix
2018-02-21 18:27:10 -08:00
Pranav K
540e8437da
Enable PreserveCompilationContext by default
2018-02-21 11:59:23 -08:00
Pranav K
33e60ae363
Separate VS/DesignTime properties from general SDK properties
...
Fixes #2069
2018-02-21 11:55:36 -08:00
Pranav K
8938f6c8c2
Change the default extension for Razor views to .Views.dll
2018-02-21 11:48:31 -08:00
Pranav K
fed0970b33
Revert "Update to the latest Sdk and cleanup projects"
...
This reverts commit 1c9088087b .
2018-02-21 11:26:04 -08:00
N. Taylor Mullen
c5e83c61f8
Changed AddDefaultImports to take strings instead of project items.
...
- Strings here was important because any import added to the system dynamically needs to eventually make its way back to being a project item. With strings we can state that they do exist (have content) but do not have any file paths associated.
- Updated all call sites to use the new AddDefaultImports string based api.
#2080
2018-02-21 09:42:40 -08:00
Pranav K
1c9088087b
Update to the latest Sdk and cleanup projects
2018-02-21 06:49:53 -08:00
Pranav K
9a9a2cf66a
Make content files work better in class library projects referencing Razor Sdk
...
* Include cshtml files as content when referencing Razor Sdk
* Exclude cshtml files added by default from being packed
Fixes #1980
2018-02-20 14:15:19 -08:00
Ryan Nowak
cf5743ea86
Fix a bug in tag helper discovery on build
2018-02-20 13:07:01 -08:00
Ryan Nowak
43f8108ac3
Merge branch 'rel/vs15.7' into dev
2018-02-19 16:45:49 -08:00
Ryan Nowak
0b777dad3f
Decouple tooling from MVC assemblies
2018-02-19 14:39:19 -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
Ryan Nowak
59a1cf9293
Add support for method parameters to Razor IR
2018-02-19 14:38:03 -08:00
Ryan Nowak
c032988ddf
Merge branch 'rel/vs15.7' into dev
2018-02-19 14:06:34 -08:00
Ryan Nowak
fcf6ea03a9
Add IDE extensibility for project engine
2018-02-19 14:03:41 -08:00
Ryan Nowak
b644ecfeaa
Relayer interaction between extensions and engine
2018-02-19 14:00:31 -08:00
Ryan Nowak
b2e89726a1
Merge branch 'rel/vs15.7' into dev
2018-02-19 10:50:41 -08:00