我遇到了
Your project is not referencing the “.NETFramework,Version=4.5” framework. Add a reference to “.NETFramework,Version=4.5” in the “frameworks” section of your project.json, and then re-run NuGet restore.
怎么弄都没法解决,我尝试了git撤销更改也无法解决,最后解决方法:删除/obj文件。
来自stackoverflow