Visual Studio warning: “Some of the properties ass

2019-01-21 01:12发布

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?

14条回答
走好不送
2楼-- · 2019-01-21 01:49

For me the problem was empty spaces (due to copy-paste) at the end of each line. By removing them I didn't get the error again.

查看更多
Root(大扎)
3楼-- · 2019-01-21 01:52

I just fixed a similar issue in VS2012 with 44 projects.

The cause was a combination of a duplicated GlobalSection(TeamFoundationVersionControl) section (a la Boycs' answer), but I also had several projects duplicated--as well as a few references to projects which had been recently removed--within the GlobalSection(TeamFoundationVersionControl) section that I kept.

Once I had ensured that all of the referenced projects corresponded 1:1 with actual projects in my solution, the warning went away.

Aside: I suspect that the majority of these issues could have been avoided with closer attention paid to the .sln during branch and commit merges, but who knows what VS is thinking sometimes...

查看更多
登录 后发表回答