Geeksltd / Olive.MvcTemplate

The template from which M# Core projects (MVC Core) are created. It's available under the GPLv3 license.
4 stars 12 forks source link

New project from template M# ASP.NET Core - MVC Microservice, error #54

Open AliBayatGH opened 4 years ago

AliBayatGH commented 4 years ago

I am getting the following error every time I create a new M# ASP.NET Core - MVC Microserviceproject in Visual Studio 2019

The vstemplate file references the wizard class 'MSharp.AddNew.MvcTemplate.MicroserviceTemplateWizard', which does not exist in the assembly 'MSharp.AddNew, Version=1.1.1.1, Culture=neutral, PublicKeyToken=733bef6714186f66'.

Any way I can fix it?

s-amani commented 3 years ago

I am getting the same error.

HosseinKhatibi-Geeks commented 3 years ago

I am getting the same error.

Hi, Please make sure that you have the most Updated msharp-build installed on your system.

Update Command: C:\> dotnet tool update --global msharp-build

If this doesn't fix your problem in visual studio, You can always use command line for creating new Microservice M# project: C:\Projects\> msharp-build /new-ms /n:"ProjectName"

to find out more about this, check here