-
Notifications
You must be signed in to change notification settings - Fork 199
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
Feature 'Razor TagHelperProvider Feature' is currently unavailable due to an internal error. #11532
Comments
Thaanks very much for the report and the stack trace. cc @phil-allen-msft and @davidwengier: This looks to be the same issue as https://developercommunity.visualstudio.com/t/Error-displayed-for-feature-on-project-o/10848099, which almost certainly caused by having two |
I've done a bit of investigation and am capturing that here. I've looked at the Razor ServiceHub binaries that installed in VS Preview. These are located under Here are some important details:
So, everything looks to be in order from this initial investigation. Something fishy is going on. 🤔 |
I don't have much context here, but I was asked about an IsExternalInit ngen failure yesterday, and it seems dotnet/roslyn#77186 was the fix. I think @333fred did the investigation. Related? |
I've been wondering about the In addition, I would expect to see a LOT more reporting of this issue if it were widespread. That leads me to wonder if it's some sort of upgrade issue. Maybe one binary isn't being updated or something like that. |
WRT to |
@davidwengier: Do we have any reports of this issue that include a dump? It should be possible to poke around a dump at the exception and see where the other |
I think this is the first actual report I've seen of the issue. I saw mention of "IsExternalInit" fly past in an Infraswat chat message the other day, which is why I knew about the above PR, and I personally hit this at one point and avoided using a record as a result, but I don't think I've seen a customer report before. |
In my mind Andrew is effectively working on this, creating a new EA.Razor.Features, and my hope is that OOP can reference that instead of the existing one. It's not quite the same as splitting the existing EA, but hopefully the effect is similar. |
Once I get the split done do we just need to move some of the stuff to it for referencing? Should be pretty easy since it will already be target net9 (what Roslyn LSP targets) |
Yeah, that would be my hope. Essentially Microsoft.CodeAnalyisis.Remote.Razor moves from MS.CA.EA.Razor to MS.CA.EA.Razor.Features, and we move stuff into the shared project until it all compiles. Shouldn't even need a dual insertion :D |
VS 17.14 P1
Added an existing project to a blank solution and got this error: "Feature 'Razor TagHelperProvider Feature' is currently unavailable due to an internal error."
The text was updated successfully, but these errors were encountered: