Visual studio 2019 Blazor Client Side option is not visible - visual-studio-2019

I updated vs 2019 to 16.0.1 after .net core 3 is released. But I cannot find all the options for blazor. I can just see the blazor server side option, but nothing else. Funny enough the template are visible in command line.
Blazor Server App ------ blazorserver
Blazor (hosted in ASP.NET server) ----- blazorhosted
Blazor Library ----- blazorlib
Blazor (Server-side in ASP.NET Core) ---- blazorserverside
Blazor (standalone) ----- blazor
But can't see the client-side option in visual studio. I had .net core 3-preview installed. Which I have uninstalled already just in case, but that didn't help. Anybody else faced this issue?

I had same issue with dotnet core 3.1.100 and visual studio of version 16.0.1
I was able to get this template by upgrading my visual studio to version 16.7.2 which comes with dotnet core 3.1.401 and Blazor WebAssembly App.
Upgrade your visual studio 2019 using the installer.

Must use Visual Studio Preview for now. If you add the project using command line or preview, you can open it in non-preview Visual Studio, however I wouldn't suggest it. Blazor client-side is in a state of flux, you are gonna want all the latest bits which will only be available in preview until official release. Use preview to add and edit Blazor wasm projects.
https://visualstudio.microsoft.com/vs/preview/

Related

Why are all my templates in visual studio gone?

I recently installed Visual Studio for Mac 2022. I had VS Mac 2019, and it had the .net templates. When I installed VS 2022, all my previous .net templates were gone, even though I selected to install .net templates. When I open VS 2019, it has all of the templates installed, even the ones that I installed with only VS 2022. Is there any way to fix this, or should I just use VS 2019? 2022 vs 2019
Could you please try to set your .NET SDK path?
You can locate it under Preferences->SDK Locations->.NET Core and set the path as /usr/local/share/dotnet/dotnet.
Hope this can help solve the problem.
Ref: https://developercommunity.visualstudio.com/t/Starter-templates-missing/10070338?space=41&q=missing+templates
The Other - .NET project templates in Visual Studio for Mac 2019 require the Mono framework.
In Visual Studio for Mac 2022 the project templates that require Mono have been removed.
Instead you can install the .NET SDK use the project templates that target .NET 6.0, .NET Core 3.1, and these are available from the Web and Console section, if the associated SDKs are installed.
To install the .NET SDK you can either download them directly from the download page or re-run the installer and ensure that .NET is selected.

Nuproj alternatives for Visual Studio 2019?

We have a legacy C# and C++ solution (web services, web app, OWIN and Nancy) that was built with Visual Studio 2013. We now must use Visual Studio 2019 Enterprise. The solution has a .nuproj file that we were using with the open source nuproj github repo that has been archived and is unsupported in VS 2019. The nuproj authors have not supplied any help (from what I can see) on how to convert or migrate nuproj to a VS 2019 format.
I am wondering if anyone knows the quickest way to get this working?
Alternatives would also be appreciated.
I read:
Quickstart: Create and publish a NuGet package using Visual Studio (.NET Standard, Windows only), but I was hoping not to install .NET Core on my company laptop yet.
Automating creating NuGet package as part of build process, but I see that is eight years old.
Internet searches about csproj self-pack and dotnet pack, but again, I do not want .NET Core right now.
Nothing straightforward. I will retool and use NAnt.

Could not load file or assembly Microsoft.VisualStudio.Web.AzureAD.Contracts

Was trying to follow the tutorial of MVC in ASP.NET site Creating an Entity Framework Data Model for an ASP.NET MVC Application, using Visual Studio Express for Web 2013, here is an image of the version:
and just at the beginning I got this error when trying to select No Authentication:
How to solve this?
You're going to need to install Windows Azure SDK for .NET (VS 2013).
Go to http://www.windowsazure.com/en-us/downloads, and click the "VS 2013 Install" link under .NET.
This will open Microsoft's WPI (Web Platform Installer), which will take you through the steps needed to install it.

ASP.NET MVC 2.0 does not install with visual studio 2010 professional?

Hi all I installed vs 2010 and it should have asp.net mvc 2.0 but it didnt install it. I tried installing it manually but it still does not show under the new projects tab..but it shows installed in control panel. I had vs2010 rc1 before and uninstalled it and it had mvc 2.0 but now for some reason i dont have it! ..Can anyone please help me out...
MVC is published standalone. ASP.NET 4.0 is bundled with VStudio 2010, but you'll need to either download MVC 2.0 or install it using the Web Platform Installer
You're right. Sorry, I had a small brain-fart there. If the projects aren't showing up in the New->Project Dialog, that doesn't neccesarily mean MVC isn't installed, It may just be installed Incorrectly.
Are the assemblies registered in the GAC, you should check this. Also check your VS2010 configuration to see where it's pointing for it's project templates, and verify the files aren't there.
Check that the AddIn DLL is where it should be:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Web.Mvc.2.0.dll

windows 7 asp.net mvc RC

i have a problem with asp.net mvc on windows 7... asp.net mvc RC was previously installed and i installed MVC rtm... it says “the project type is not supported by this installation”... is there anyway to register this project type in to visual studio or unregister the rc version?
Uninstall every ASP.NET MVC installation (in control panel) and reinstall the final 1.0 release. If it didn't help, run Visual Studio command prompt as administrator and run:
devenv /resetskippkgs
Not sure. Helped me once. I hope that works for you.
I had the same issue. You have to install MVC 1.0 even though you may have MVC 2. I did that and it worked for me.
OS Version: Windows 7
IDE: Visual Web Developer 2008 Express

Resources