Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2005

Tip: Looking for answers? Try searching our database.

Editing .SLN by hand causes IDE dependency dialog to not display

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dfrobison@gmail.com - 22 Jul 2005 21:40 GMT
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.
dfrobison@gmail.com - 25 Jul 2005 18:29 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.