Pranav K
1a2ca58eba
Merge pull request #2324 from aspnet/release/2.1
...
Merge release/2.1
2018-05-01 19:31:26 -07:00
Pranav K
a94323499b
Change CopyToPublishDirectory on Content items instead of explicitly removing this from publish items
...
Fixes #2295
2018-05-01 16:50:49 -07:00
Pranav K
05c84f008a
Ensure Views dll are copied during P2P builds
...
FastUpToDateCheck in VS doesn't account for changes solely to .Views.dll. This causes referencing projects to be treated as
up to date even though a referenced project rebuilt. Touch the marker file to cause referenced projects to rebuild.
Fixes https://github.com/aspnet/Razor/issues/2306
to cause it to treat
2018-05-01 16:50:49 -07:00
Pranav K
8d99ba53ce
Make incremental build in VS copy output files
...
Fixes #2306
2018-05-01 16:50:49 -07:00
Ajay Bhargav Baaskaran
7cba5ed593
Fix flaky test failure in ServerCommandTest
2018-04-30 16:32:18 -07:00
N. Taylor Mullen
c59dcb9b4c
Add IVT for Razor.LiveShare.Test.
2018-04-30 16:13:40 -07:00
Ryan Nowak
f67458f156
Fix #2298 simplify TagHelperDescriptor hash
...
The hash code implementation here is exhaustive when it doesn't need to
be. Slimming this down to a much more reasonable set of things for perf
reasons.
2018-04-30 13:55:55 -07:00
N. Taylor Mullen
2885b4b138
Make document tracker resilient to multiple subscribes.
...
- Added tests to verify new functionality.
#2314
2018-04-30 12:03:13 -07:00
N. Taylor Mullen
ee9537bebd
Add Razor.LiveShare IVT to Editor.Razor.
2018-04-27 10:57:10 -07:00
N. Taylor Mullen
ad66ebb220
Add Razor.LiveShare IVT to CodeAnalysis.Razor.
2018-04-26 15:45:06 -07:00
N. Taylor Mullen
49299d78a4
Add Razor.LiveShare IVT to Razor.Workspaces.
2018-04-25 17:25:56 -07:00
Ryan Nowak
e2edc280c5
Add documents, engine, tag helpers to snapshot
...
The project snapshot now maintains a RazorProjectEngine as well as set
of Tag Helpers that are known for that snapshot.
Pivoted some more services to be snapshot-centric.
Also added the ability to track .cshtml documents to the project system.
For now most components just ignore document changes.
2018-04-25 19:05:54 -04:00
Pranav K
1e2a1405e5
Update tests to target netcoreapp2.1
2018-04-25 10:27:07 -07:00
Pranav K
a6a5e4ea10
Simplify building Microsoft.AspNetCore.Razor.Design
2018-04-25 10:27:07 -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
Ajay Bhargav Baaskaran
2eb9d4d783
Merge branch 'rel/vsmac15.7' into dev
2018-04-20 13:48:35 -07:00
Ajay Bhargav Baaskaran
2be905def4
Make newline comparison work crossplat
2018-04-20 13:34:14 -07:00
Ajay Bhargav Baaskaran
d2fe76be21
Write process and pipe information to a pid file
2018-04-18 14:51:28 -07:00
Ajay Bhargav Baaskaran
dc997821cc
Added nuspec and symbols.nuspec files to Razor.Design
2018-04-17 11:07:34 -07:00
Pranav K
95835d6c37
Continue generating RelatedAssemblyPart on assembly if GenerateAssemblyInfo=false
...
Fixes #2257
2018-04-13 16:14:37 -07:00
Ajay Bhargav Baaskaran
60b6ec047d
Don't fail the build when ExtensionDependencyChecker fails
2018-04-13 15:55:39 -07:00
Pranav K
8d1de6ec80
Make sure RazorSdk works when BuildingInVisualStudio \ BuildProjectReferences is disabled
...
Fixes #2247
2018-04-13 14:35:04 -07:00
Ajay Bhargav Baaskaran
f8dc5c4702
Obsoleted IRazorEngineBuilder APIs
2018-04-13 12:35:53 -07:00
Pranav K
9365fcd053
Don't publish the refs directory when the app does not have any Razor files
...
Fixes https://github.com/aspnet/Razor/issues/2246
2018-04-11 15:20:16 -07:00
Ajay Bhargav Baaskaran
6d9df1ef33
Noop Razor Sdk for F# projects
2018-04-11 14:18:19 -07:00
Ajay Bhargav Baaskaran
5504374125
Preserve directive node diagnostics in document node
2018-04-10 10:24:21 -07:00
Ajay Bhargav Baaskaran
6270c1f47e
Merge branch 'rel/vs15.7' into dev
2018-04-05 16:28:17 -07:00
Ryan Nowak
4cd24a2b08
Add experimental flag to un-special-case data-
...
This change allows blazor to opt into treating data- attributes the same
way as normal attributes in the parser.
2018-04-05 15:27:04 -07:00
Ryan Nowak
d1c0ab587c
Add support for type parameters to class nodes
...
This change will allow someone extending Razor to use generic type
parameters in generated classes.
There's no user-level extensibility provided here yet, as in there is no
language support for adding type parameters.
2018-04-05 15:26:42 -07:00
Ajay Bhargav Baaskaran
ae42d7599d
Show error if page directive is not at the top of file
2018-04-04 17:27:10 -07:00
Ajay Bhargav Baaskaran
b1007744b0
Added PipeOptions.CurrentUserOnly option to the named pipe streams
...
Don't run on server if CurrentUserOnly is not available
2018-04-04 09:53:36 -07:00
Ajay Bhargav Baaskaran
a2a920dde5
Normalize the tool assembly path before using it as the base for pipe name
2018-03-29 12:50:51 -07:00
Ajay Bhargav Baaskaran
03938dfd95
Handle Mutex creation exceptions
2018-03-28 18:23:30 -07:00
Pranav K
1e11b5fa95
Make PreserveCompilationContext=true
2018-03-26 14:23:29 -07:00
Ajay Bhargav Baaskaran
7bc54b99e0
Use tool assembly path for computing default pipe name
2018-03-23 16:50:20 -07:00
Ajay Bhargav Baaskaran
adc7184d98
Register missed directives in RazorPageGenerator
2018-03-23 12:36:23 -07:00
Pranav K
954a62c075
Remove EnableDefaultCompiledViewAssemblyLoadBehavior and add a switch to disable generating application part factory attribute
2018-03-22 17:09:53 -07:00
Ajay Bhargav Baaskaran
a7178a66bd
Show error if page directive is not at the top of file
2018-03-21 11:22:01 -07:00
Pranav K
8631f287d9
Add a few more Razor Sdk fixes
...
* UseSharedCompilation to determine the default value of UseRazorBuildServer
* Generate AssemblyDescriptionAttribute
2018-03-21 08:44:55 -07:00
Kiran Challa
431a8e195a
[ Fixes #2144 ] Incorrect target element of nested tag helper
2018-03-20 15:25:07 -07:00
N. Taylor Mullen
c874f84c3d
Revert "Revert "Make Razor HTML Comments aware ( #2178 )""
...
This reverts commit 1f3f4b79da .
2018-03-20 15:23:53 -07:00
N. Taylor Mullen
1f3f4b79da
Revert "Make Razor HTML Comments aware ( #2178 )"
...
This reverts commit b58986414e .
2018-03-20 11:54:09 -07:00
Pranav K
2bc3466e3d
Do not write generated files to disk if the input has parser errors
...
Fixes #2169
2018-03-19 21:30:47 -07:00
Ajay Bhargav Baaskaran
c934bd08ac
Merge branch 'rel/vs15.7' into release/2.1
2018-03-19 19:14:51 -07:00
Ajay Bhargav Baaskaran
9dc7c65205
Fix: Missing Html intellisense after directives
2018-03-19 17:16:11 -07:00
Ajay Bhargav Baaskaran
fab70c81ec
Merge branch 'rel/vs15.7' into release/2.1
2018-03-19 15:57:46 -07:00
Ajay Bhargav Baaskaran
79e744f691
Handle unreadable import items in design time
2018-03-19 15:39:25 -07:00
Ryan Nowak
d72e914fe9
Merge branch 'rel/vs15.7' into release/2.1
2018-03-19 15:11:49 -07:00
Ryan Nowak
d1bf120c54
Make 2.1 MVC the default for uninitialized projects
2018-03-19 15:06:57 -07:00