I can't add a Controller by Code Generation in Visual Studio Enterprise 2017

0

I'm new at ASP.NET Core 2.0 MVC I had a problem in Generating a Controller code by using "Add MVC Controller with views, using Entity Framework"

this is what I'm in:

Code Generation

and when I press add I'm getting this Error:

The Error message

Could not load file or assembly 'System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.b__6_0() at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args) at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args)

I don't really what to do I'm so confused, help me guys if you have a solution please. Thank you

.net
model-view-controller
controller
asked on Stack Overflow Sep 18, 2018 by Badeea • edited Sep 18, 2018 by Badeea

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0