Commit Graph

1756 Commits

Author SHA1 Message Date
N. Taylor Mullen 8f8bbda27a Merge branch 'release/2.1' into dev 2018-03-20 16:35:07 -07:00
N. Taylor Mullen 6a7a6669e7 Merge branch 'rel/vs15.7' into release/2.1 2018-03-20 16:19:14 -07:00
Kiran Challa f831df00a7 Merge branch 'release/2.1' into dev 2018-03-20 15:29:43 -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 f84c27c0a7
Merge pull request #2199 from aspnet/release/2.1
Stop expressly testing on netcoreapp2.0
2018-03-20 09:37:46 -07:00
Pranav K 5f3908cb54 Stop expressly testing on netcoreapp2.0 2018-03-20 09:37:26 -07:00
Pranav K d0a0317df2
Merge pull request #2198 from aspnet/release/2.1
Do not write generated files to disk if the input has parser errors
2018-03-19 21:31:16 -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 a8d6eac1d6 Merge branch 'release/2.1' into dev 2018-03-19 19:15:19 -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 37c398bcb1 Merge branch 'release/2.1' into dev 2018-03-19 16:15:43 -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 161f000174 Merge branch 'release/2.1' into dev 2018-03-19 15:23:17 -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
Ryan Nowak 76194d37e8 Merge branch 'release/2.1' into dev 2018-03-19 14:23:06 -07:00
Ryan Nowak 70cdcb520e Merge branch 'rel/vs15.7' into release/2.1 2018-03-19 14:22:41 -07:00
Ryan Nowak 130a751dfa Add an experimental Language Version
Adding a secret language version for Blazor and other experiments.
2018-03-19 14:10:33 -07:00
Ryan Nowak f990dd306a Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-19 13:24:27 -07:00
Ryan Nowak be53b64fc1 Add an experimental Language Version
Adding a secret language version for Blazor and other experiments.
2018-03-19 13:21:06 -07:00
Ryan Nowak 9f794b0290 Merge branch 'release/2.1' into dev 2018-03-19 13:01:24 -07:00
Ryan Nowak 6e4a968e12 Fix #2149 give generated files distinct extension
Gives our generated a files an extension that isn't used for any other
purpose (that we know of). This is handy for tooling to be able to
quickly know if a file is 'ours'. This comes up in places like
IVsSymbolicNavigationNotify (go to definition).
2018-03-19 12:59:16 -07:00
Jass Bagga dc766c8354
Merge pull request #2185 from aspnet/release/2.1
CodeGen RouteTemplate as a RazorCompiledItemAttribute
2018-03-19 12:38:48 -07:00
Pranav K 7ff56dadf4 CodeGen RouteTemplate as a RazorCompiledItemAttribute 2018-03-19 12:37:04 -07:00
Ajay Bhargav Baaskaran e9562ad372 Merge branch 'release/2.1' into dev 2018-03-19 11:07:21 -07:00
Ajay Bhargav Baaskaran 767e5a12c3 Display errors from build server as part of MsBuild output 2018-03-19 10:49:00 -07:00
Ryan Brandenburg 7a7cc5ab1e Set 2.0 baselines 2018-03-19 10:46:23 -07:00
Artak b58986414e
Make Razor HTML Comments aware (#2178)
* Merging changes (from dev branch; doing manually to squash them really)of HTML Parser to be aware of HTML Comments so TagHelpers don't complain about comments as content.
2018-03-19 10:18:29 -07:00
Pranav K 531f59acc5
Updating BuildTools 2018-03-19 09:36:17 -07:00
Pranav K 4914e17868
Merge branch 'release/2.1' into dev 2018-03-19 09:35:53 -07:00
Pranav K e8ab1336a3
Updating BuildTools 2018-03-19 09:35:32 -07:00
Pranav K 12157aca8b
Merge branch 'release/2.1' into dev 2018-03-16 12:33:13 -07:00
Pranav K 6fa415b67c
Update KoreBuild channel 2018-03-16 12:33:08 -07:00
Ajay Bhargav Baaskaran 4c01f4d20f Merge branch 'release/2.1' into dev 2018-03-16 12:06:23 -07:00
Ajay Bhargav Baaskaran d8e363d99c Added parameter validation to RazorTagHelper and RazorGenerate tasks 2018-03-16 12:02:51 -07:00
Pranav K cbef575673
Update version prefix to preview3 2018-03-16 11:27:53 -07:00
Pranav K 39632f50b8
Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-16 11:27:53 -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
Pranav K b74582e101 Ensure PreserveCompilationContext is set if we're targeting precompilation tool
PreserveCompilationContext must be set for precompilation tool to work, even when
the app has no views.

Fixes #2168
2018-03-15 12:49:56 -07:00
Pranav K 5f69a01cc5
RazorSdk - Attribute code generation fixes
* Allow the type name for ProvideApplicationPartFactoryAttribute to be specified.

* Generate ReleatedAssemblyAttribute in class library projects
2018-03-14 23:09:28 -07:00
N. Taylor Mullen f9ad346be8 Fix RazorDirectiveCompletionProvider MEF dependency. 2018-03-14 14:41:22 -07:00
N. Taylor Mullen a6d03bd407 Workaround MonoDevelop.Core.FilePath tests failing to run due to strong name issues. 2018-03-13 16:56:23 -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 492e958114 Change HostProjectBuildComplete to persist workspace projects.
- This was missed in the VS15.7 movement to dev.
2018-03-13 15:11:21 -07:00
Pranav K 1eab654620 Fix typo in Razor.props 2018-03-13 14:01:23 -07:00