Your project is not referencing the “.NETFramework,Version=v4.5” framework.

后端 未结 6 1567
独厮守ぢ
独厮守ぢ 2020-12-24 11:20

I am using VS 2015.

Your project is not referencing the \".NETFramework,Version=4.5\" framework. Add a reference to \".NETFramework,Version=4.5\" in

6条回答
  •  有刺的猬
    2020-12-24 11:50

    I found that a rogue project.lock.json was causing this issue for me. Once I deleted the file, the problem went away.

    Here is some documentation on project.lock.json.

    Some further advice would be to ensure that project.lock.json is ignored in your git ignore file, and to try a full git clean. Make sure you understand the implications of a Git clean before you do that though.

提交回复
热议问题