When you create a project MVC 4 error occurs, how to fix it. enter image description here

enter image description here

enter image description here

  • interesting, and what is shown by the button "help" - PashaPash
  • What is your version of Visual Studio? in 2013 there was a bug that led to the emergence of this dialogue with the correctly installed .net - PashaPash

1 answer 1

I think that you need to enter the operating system along the way:

Control Panel -> Programs and Components -> Enabling or Disabling Windows Components

Find there items related to the .NET Framework and install the missing components. There should be an ASP.NET item somewhere - you need to tick it off.

I also advise you to read the article Configuring the .NET Framework for Web sites . I think you have something not delivered to the system from the .NET Framework.

As @PashaPash says - perhaps this is a VS error. It is necessary to try to update the development environment and try to reinstall the NuGet package. Also, there is an article on the fix for this bug: Dialog box may be displayed in Microsoft Visual Studio 4.6 .

  • Everything is installed, but does not work. - SVD102
  • @ SVD102, and everything is installed from the IIS component? Maybe they are missing ... Somehow, for a very long time, there was something similar, the problem was solved by installing the missing components. - Denis Bubnov
  • Do you mean this professorweb.ru/my/ASP_NET/sites/level3/3_1.php But I do not have in the list 4.5 versions - SVD102
  • Added screen, look. - SVD102
  • Well, as I said, you have not delivered the components. I have ASP.NET 3.5 and ASP.NET 4.6 there. Maybe you need to deliver the .NET Framework to the system? - Denis Bubnov