-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Get builds working better within VS (temporary fix?); disable pre-compilation #2499
Conversation
…pilation - remove `RazorPreCompilation.cs` files from all but the PrecompilationWebSite - related to #2498 but not addressing that issue since pre-compilation is what that site is about
I'd want to have @Eilon 's ok, but to me anything that's blocking developer workflow needs to be addressed. Are you seeing any issues other than errors in VS? |
No other issues. In fact VS freezes more often when I'm editing in the Razor repo 😦 Note this leaves the #2498 errors in play. I could remove those 10 as well. But then we might as well throw away the PrecompilationWebSite entirely. |
|
In the meantime I'll add the additional errors seen without this change to the commit description. That is, I'll make sure the change still makes a difference a few days later. |
@dougbu ok thanks go ahead and merge. |
@dougbu, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR. |
@dougbu should this be closed? |
@rynowak I didn't get back to this over the last couple of days. The change definitely makes debugging Razor code-generation orders of magnitude easier. I'll try to reproduce the original issue(s) over the weekend and re-confirm the change helps even when not doing low-level debugging. Will take a more definitive action in the next day or two... |
Checked VS behaviour without this change. Much uglier -- 26 errors instead of the 10 (mentioned in #2498) just for PrecompilationWebSite. And I can't start the tag helper sample from VS. So I'll check this change in shortly. |
RazorPreCompilation.cs
files from all but the PrecompilationWebSite