You must add a reference to assembly 'netstandard, Version=2.0.0.0

后端 未结 17 2558
遇见更好的自我
遇见更好的自我 2020-12-02 08:23

The project is an ASP.NET MVC Web App targeting the .NET Framework 4.6.1.

All of a sudden (some NuGet packages were upgraded) I started to get the following error du

17条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 08:46

    Those who are not having web.config file. Output Type other than web application. update the project file (.csproj) with below give code.

    It may cause due to adding/removing the .netframework in improper way or it may broke unexpected way.

      
        
      
    

    Output Type

    • Console application
    • Class Library

提交回复
热议问题