本文介绍了Visual Studio警告:“无法读取与解决方案关联的某些属性";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开解决方案时,出现带有此警告的对话框.该解决方案(一个Web应用程序,一个类项目)的构建没有错误.

When I open my solution, I get a dialog with this warning. The solution (one web app, one class project) builds without errors.

如何确定导致该问题的属性,并解决该错误?

How can I determine what properties are causing the problem, and resolve the error?

推荐答案

我刚刚解决了包含35个项目的VS2010解决方案的类似问题……原因是重复的

I just fixed a similar issue with a VS2010 solution with 35 projects... The cause was a duplicated

GlobalSection(TeamFoundationVersionControl)

部分.我关闭了解决方案,删除了重复的GlobalSection(TeamFoundationVersionControl)配置,然后重新加载了解决方案,警告消息消失了.

section in the solution file. I closed the solution, removed the duplicate GlobalSection(TeamFoundationVersionControl) config and reloaded the solution and the warning message was gone.

如果这不是您的问题,考虑到您只有2个项目,我将放弃解决的解决方案文件,创建一个新的解决方案,然后重新添加您的两个项目...

If this is not the issue for you, considering you only have 2 projects I would ditch the busted solution file, create a fresh solution and re-add your two projects...

这篇关于Visual Studio警告:“无法读取与解决方案关联的某些属性";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 15:18