fox*_*ndy 21 visual-studio-2017
在Visual Studio 2017中加载我的.NET Frameowrk 4.6.2解决方案时,它给出了以下警告:
Severity Code Description Project File Line Suppression State
Warning Your project is not referencing the ".NETFramework,Version=v4.6.2" framework. Add a reference to ".NETFramework,Version=v4.6.2" in the "frameworks" section of your project.json, and then re-run NuGet restore.
Run Code Online (Sandbox Code Playgroud)
另一个:
Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. BigData 1 Active
Run Code Online (Sandbox Code Playgroud)
但是,使用完全相同的解决方案文件和结构,在visual studio 2015中加载完全没问题.
为什么这样以及我如何解决它?
顺便说一句,从我读到的,在最新的更新中,project.json被合并回.csproj,为什么在这里仍然推荐一些关于project.json的东西
Tom*_*Tom 51
在将解决方案从vs2015迁移到2017年之后不久建立时,我将此显示为错误,然后还进行了一些git重组.事实证明,我认为git实际上是罪魁祸首.
无论如何,手动删除受影响项目中的bin&obj文件夹为我解决了这个问题.(单独清洁并没有削减它.)
| 归档时间: |
|
| 查看次数: |
2722 次 |
| 最近记录: |