一切福田,不離方寸,從心而覓,感無不通。

Your project is not referencing the ".NETFramework,Version=4.5" framework.

我遇到了

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
————————————————
版权声明:本文为CSDN博主「迷惘小书童」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/m0_37080285/article/details/90206495