Your project does not reference “.NETFramework,Version=v4.6.2” framework. Add a reference to “.NETFramework,Version=v4.6.2” in the “TargetFrameworks”

后端 未结 7 1282
太阳男子
太阳男子 2020-12-24 00:20

I can\'t run my unit tests.

I have the next error:

Your project does not reference \".NETFramework,Version=v4.6.2\" framework. Add a referen

7条回答
  •  滥情空心
    2020-12-24 00:36

    For my case, delete the .pkgrefgen/ folder under the project folder works, it contains a file project.assets.json that refer to old .net framework

提交回复
热议问题