Artak Mkrtchyan
32e2c533c7
Naming improvements and test code cleanup
2018-03-08 13:37:05 -08:00
Artak Mkrtchyan
632c9dead7
Added tests for the LookaheadUntil method
2018-03-08 13:37:05 -08:00
Artak Mkrtchyan
33814fb634
Updated the Comments detection to comply with HTML 5 specification
2018-03-08 13:37:04 -08:00
Artak Mkrtchyan
6885fb15d0
Updated the test TagHelperBlockRewriteTest class
2018-03-08 13:37:04 -08:00
Artak Mkrtchyan
0af42204eb
Added the AllowHtmlCommentsInTagHelpers feature flag to control behavior of having comments in TagHelpers
2018-03-08 13:37:04 -08:00
Artak Mkrtchyan
6f515bb763
Fixed all the tests to reflect HtmlComment block type support
2018-03-08 13:37:03 -08:00
Artak Mkrtchyan
e1fbea24f1
HtmlMarkupParser is now aware of HtmlComment blocks. Majority (if not all, will confirm soon) tests have been updated to account for HtmlComment blocks.
2018-03-08 13:37:03 -08:00
Artak Mkrtchyan
ad8485addd
Added new BlockType - HtmlComment
...
Updated the HtmlMarkupParser to understand the HtmlCOmments, and treat those as blocks.
2018-03-08 13:37:03 -08:00
Artak Mkrtchyan
a940a4cd91
Moved the comment check into the "ValidateParentAllowsContent" method
2018-03-08 13:37:02 -08:00
Artak Mkrtchyan
679acdc5d4
Ignoring razor comments during validation
2018-03-08 13:37:02 -08:00
Artak Mkrtchyan
47228dd822
Revert unnecessary change
2018-03-08 13:37:01 -08:00
Artak Mkrtchyan
41b7d90ea8
Ignoring markup comments during validation
2018-03-08 13:37:01 -08:00
Artak Mkrtchyan
e6f68eb244
Added a unit test to repro the issue
2018-03-08 13:37:01 -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
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
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
43f8108ac3
Merge branch 'rel/vs15.7' into dev
2018-02-19 16:45:49 -08:00