How to solve "one or more projects in the solution were not loaded correctly" problem?

/*By Dylan SUN*/

When building an enterprise application, there could have a lot of projects in one solution. And several developers create new projects to meet the business requirement. And also some re-factorization could be undertaking at the same time. The re-factorization
could be varied, such as rename the projects and reorganize project folders or combine some projects into one project etc.

Some inconsistency problem may occur in your solution file during the developing & refactoring process.

The has happened in my project solution, which contains more than 100 projects (Tools, Web Services, Windows Services, Common Libraries, Integration tests, Unit tests). While this solution needs to be splited to be more readble. This is another history.

So every time I open the product solution, I have a warning :

"one or more projects in the solution were not loaded correctly please see the output"

And then I check the output, I have the message :

"some of the properties associated with the solution could not be read."

When I check the solution(.sln) file. The "SccNumberOfProjects" has occurred twice whereas the number of this property is not the same, which causes the solution load warning.

So what you need to do is just modify it with correct project numbers. And then the problem is solved!

时间: 2024-10-19 01:28:49

How to solve "one or more projects in the solution were not loaded correctly" problem?的相关文章

Visual Studio Many Projects in One Solution VS中多工程开发

在用VS开发项目的时候,我们可以将不同的模块拆分开来,分别建立单独的Project来开发调试,整个放到一个Solution中就行了.这样做的好处是结构清晰,每个功能模块可以单独调试,而不用编译整个Solution,尤其当项目很大的时候,能节省很多编译时间.而且各个项目之间相互独立,对于每个模块,我们可以选择生成静态库Static Library或是应用程序Application,便于维护.那么下面来看如何将一个大项目拆分为若干个子项目: 1. Add new project in same so

不同版本CUDA编程的问题

1 无法装上CUDA的toolkit 卸载所有的NVIDIA相关的app,包括NVIDIA的显卡驱动,然后重装. 2之前的文件打不开,one or more projects in the solution were not loaded correctly. please see the output window for details. 要先配置和用cuda编程在vs中需要的设置,并且要注意包括cuda的很多头文件. 可以新建一个项目,然后将xx.cu里头的内容拷贝进去.

[C5] Andrew Ng - Structuring Machine Learning Projects

About this Course You will learn how to build a successful machine learning project. If you aspire to be a technical leader in AI, and know how to set direction for your team's work, this course will show you how. Much of this content has never been

6.在MVC中使用泛型仓储模式和依赖注入实现增删查改

原文链接:http://www.c-sharpcorner.com/UploadFile/3d39b4/crud-operations-using-the-generic-repository-pattern-and-dep/ 系列目录: Relationship in Entity Framework Using Code First Approach With Fluent API[[使用EF Code-First方式和Fluent API来探讨EF中的关系]] Code First Mig

selenium docs

Note to the Reader - Docs Being Revised for Selenium 2.0! Introduction Test Automation for Web Applications To Automate or Not to Automate? Introducing Selenium Brief History of The Selenium Project Selenium’s Tool Suite Choosing Your Selenium Tool S

【转载】安卓APP架构

注:本篇博文转载于 http://my.oschina.net/mengshuai/blog/541314?fromerr=z8tDxWUH 本文介绍了文章作者从事了几年android应用的开发,经历2次架构变革,第一次集成了RxJava第二次集成了MVP,并将RxJava与MVP完美结合,实现了低耦合,代码简单,测试方便的架构. 其实我们在开发中也遇到过,Android入门门槛较低,如果前期对APP规划不清晰,Coder们对未来变化把握不准,技术架构经验不够强大,最终导致就是一个Activit

创建一个Dribbble的作品展示

Most designers on dribbble have a personal portfolio website that usually consists of a name and a bit about themselves – maybe even some work. When it comes to updating this static page you usually put it off in favour of the booming community of dr

Model-View-ViewModel (MVVM) Explained 转摘自:http://www.wintellect.com/blogs/jlikness/model-view-viewmodel-mvvm-explained

The purpose of this post is to provide an introduction to the Model-View-ViewModel (MVVM) pattern. While I've participated in lots of discussions online about MVVM, it occurred to me that beginners who are learning the pattern have very little to go

My understanding about smart pointer

Here are two simple questions. Problem A #include <string> include <iostream> using namespace std; class vehicle { public: vehicle(const string& name); virtual ~vehicle(){} void PrintOwnerInfo(); private: string driver_name_; }; vehicle::v