-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SDK #49034
Update SDK #49034
Conversation
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
@dotnet/razor-compiler There seems to be an issue with the razor SDK somewhere between 8.0.100-preview.7.23321.23 and 8.0.100-preview.7.23325.3. I did a little investigation and found this corresponds to dotnet/razor@f7483d3...c3de764. f7483d386b01ec87d1a284817732c60711e242bf was only from last Wednesday, so that narrows it down a bit, but there are much older commits merged in there. Looking at the decompilation from the above failing test, I noticed that when compiled with the new SDK, aspnetcore/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Image.cshtml Lines 13 to 14 in d92a95f
aspnetcore/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs Lines 48 to 49 in d92a95f
which makes me wonder if the razor compiler isn't picking up the |
Thanks for the investigation @halter73, I can reproduce this. Seems it's caused by adding -@addTagHelper Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
+@addTagHelper global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor I would expect that to work. Will investigate and fix it or revert that part of the PR. |
We're now blocked on dotnet/installer#16864 before we can consume the razor fix in dotnet/razor#8871. |
Try again after #49113 (or its replacement) fixes e2e (now required). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@dotnet/aspnet-build any thoughts about the issues here? There seem to be new warnings about globalization, but I'm not sure what action should we take. |
@mavasani can you take a look? It's seems to be a bug that is blocking our update. |
@javiercn This update to CA1305 is coming from dotnet/roslyn-analyzers#6730, which fixed dotnet/roslyn-analyzers#6586. It seems the new CA1305 violations in the PR are indeed valid ones. You can attempt to fix the new violations, or suppress them in source with pragma suppressions/SuppressMessageAttributes. |
@mavasani I'm seeing warnings like this: |
- And update SDK again
...etCoreAnalyzers/src/Analyzers/RouteEmbeddedLanguage/FrameworkParametersCompletionProvider.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for making the "easy" fix.
No description provided.