Groups | Blog | Home
all groups > visual studio .net setup > may 2005 >

visual studio .net setup : How to delete a solution?



kvr901
5/15/2005 11:13:23 AM
I'm trying to figure out how to delete a solution. I've looked for a delete
option when right clicking the solution, a delete option under the file menu,
two books, online help.... etc.

I can delete files within the solution, but have not been able to find a way
to delete the solution.

How can the solution be deleted?

TIA
Peter van der Goes
5/15/2005 1:49:05 PM

[quoted text, click to view]
Perhaps I'm not understanding what you want to do, but a solution is simply
a container for one or more projects. Simply navigate to the location of
your solution folder in Windows Explorer and delete the entire solution
folder.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

kvr901
5/15/2005 2:22:02 PM
Hello,

Thank you for your reply.

Perhaps I am not describing my situation clearly.

After reading your reply (below), I created a "solution". It is an ASP.NET
application called "TestDeleteWebApp". That was the easy part.

Then I used Windows Explorer to delete the TestDeleteWebApp directory which
was located here: c:\Inetpub\wwwroot\TestDeleteWebApp.

Sure enough the application is deleted, BUT Visual Studio 2003 still lists
the TestDeleteWebApp on its Projects tab on the start page.

Perhaps my question should be: After creating an application how does one
get rid of it entirely? I cannot find an option within VS 2003 to delete a
solution.

While learning VS the books I am reading have me creating a variety of
learner applications such as "MyFirstNETapp" etc. When I don't need these
applications anymore I want to delete them entirely so the files are gone,
but also the reference to them on the start page projects tab is gone too.

I can restore my hard drive from a Ghost image it all else fails, but I
would think there is a more elegant way to delete VS "solutions". No?

Thank you.



[quoted text, click to view]
kvr901
5/16/2005 8:21:02 AM
I think I found the answer. There appears to be no elegant methods to delete
solutions.
From here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxtskDeletingOrRemovingProject.asp

"You can delete a project permanently, but not by using Visual Studio .NET"

Oh well. Thanks anyway.

While "googling" I found this clean up tool, but have not yet downloaded or
tried it....
http://dotnetjunkies.com/WebLog/roydictus/archive/2005/01/18/45638.aspx




[quoted text, click to view]
Peter van der Goes
5/16/2005 8:38:53 AM

[quoted text, click to view]
After reading your clarification, I have to say that, AFAIK, it is not
possible to delete a solution from the "recently used" list. I normally pay
little attention to the list, as dead solutions scroll off the bottom as new
solutions are created. The only adjustment I can find allows you to control
the length of the list at:

Tools->Options->General: change the number of items to display in the list.

Perhaps somebody else has a technique and will post it here.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

AddThis Social Bookmark Button