I have a large solution file (~200 projects). I'm in the process of
consolidating projects in order to reduce the number as well as to
group file more appropriatly. Through the IDE (VC7), I tried to remove
a project and the IDE crashes. I've attempted this simple operation on
four different machines with the same result. I have some small .SLN
files and I can remove projects without a problem--it only happens on
this large .SLN. I decide to edit the file by hand. I remove the all
occurances of the the GUID and the project name. It loads back into the
IDE just fine. When I tried to bring up the dependency dialog, however,
it get the following message "The project file '' has been renamed or
is not longer in the solution." Is there another place that needs to be
updated in order to removed a project from the solution file? How does
it know that a project has been removed? Any help or insight would be
appreciated.
After hours of investigation, I found the problem. There is a bug in
how dependencies are handled. In my project, I've used the "Reference"
feature in order to create some dependencies. When a project is
deleted, the "References" to that project are not be deleted. The
dependency checker within the IDE is not robust enough to handle the
case of an invalid dependency and crashes.
Zoodor - 16 Sep 2005 09:17 GMT
Thanks for posting the answer to this problem - you've just saved me a lot of
heartache!
> After hours of investigation, I found the problem. There is a bug in
> how dependencies are handled. In my project, I've used the "Reference"
> feature in order to create some dependencies. When a project is
> deleted, the "References" to that project are not be deleted. The
> dependency checker within the IDE is not robust enough to handle the
> case of an invalid dependency and crashes.