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
Blazor Templates gone in VS 15.8.0 #15677
Comments
Have you tried to build an app with VS? When I upgraded to 15.8.0 I had the experience of having the build hang, then you could cancel the build, & restart and it would build. Make a source change & the build would hang again. I went back to 15.7.6. I didn't try to create a new project so I can't comment on your issue. |
Had the same "hanging" problem - solved it by saving before building. I guess VS hangs because the compile starts before the save is finished. |
@uwefms I am not seeing this issue with my installation of 15.8.0 (which was an upgrade from 15.7.6). I am seeing the issue raised in aspnet/Blazor#1324 |
@mlorbetske Any thoughts on this one? |
@uwefms Could you please check a few things for me?:
If all these things check out, could you please try running |
Could you please check a few things for me?: - Does the C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Blazor folder exist? YES - But on my machine it is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\Blazor (Community for Enterprise) Is the Templates.pkgdef file present in that folder? Does the contents of this file match the following: [$RootKey$\TemplateEngine\Templates\Blazor\0.2.0] YES Does the ProjectTemplates folder exist in that folder and does it contain the Microsoft.AspNetCore.Blazor.Templates.0.5.1.nupkg package? NO - Creating the folder and adding Microsoft.AspNetCore.Blazor.Templates.0.5.1.nupkg manually from /.nuget/packages brought back the templates. Funny enough - deinstalling / reinstalling did not kill them this time. Went to 15.8.1 and installed the newest language services in the meantime. Everything still fine. Btw. I am using the community edition - maybe this caused the issue. Will keep an eye on this at the next update. |
Seems to be OK now after the last language services update. Close it for now. |
@uwefms When you hit this issue had you installed a Blazor VSIX update from our CI def feed? What version of the Blazor VSIX do you have installed? |
@danroth27 ASP.NET Core Blazor Language Services 0.6.0-preview1-20180830.1 Creating the missing ProjectTemplates folder and adding Microsoft.AspNetCore.Blazor.Templates.0.5.1.nupkg manually from /.nuget/packages brought back the templates. Since then - no issue. Just checked 10 secs ago. |
OK, yeah, it looks like you're using a build form the Blazor dev feed, so this is consistent with the issue I am able to reproduce. Thanks for confirming! |
🤔 |
After upgrading to VS 15.8.0 and SDK 2.1.400 all blazor templates (core 2.0 and 2.1) are gone. Creating new apps with dotnet new works as expected and the newly created projects can be edited with VS. Deinstalling and reinstalling the asp.net blazor language services did not help.
Uwe
The text was updated successfully, but these errors were encountered: