Discussion:
Delete a Solution in VS2008 - How to?
(too old to reply)
RichardOnRails
2009-10-21 12:51:21 UTC
Permalink
Hi,

I just started using VS2008 StdEd over WinXP-Pro/SP3.

I downloaded/installed the Samples library and copied the Scribble
sample to my Test folder.
When I double-clicked scribble.sln, VS came up and displayed Scribble
in the Solutions pane. When I pressed F7, I got the three lines:
------ Skipped Build: Project: Scribble ------

========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped
==========

That seemed OK, but when I selected the Debug menu, all the Start
and Step items were grayed out.

Question 1: Do you think, as I do, that the reason I can't run the
solution is because I built out of the context of the set of samples?

Question 2: How can I delete this errant solution from VS?

Thanks in advance,
Richard
David Wilkinson
2009-10-21 13:00:20 UTC
Permalink
Post by RichardOnRails
Hi,
I just started using VS2008 StdEd over WinXP-Pro/SP3.
I downloaded/installed the Samples library and copied the Scribble
sample to my Test folder.
When I double-clicked scribble.sln, VS came up and displayed Scribble
------ Skipped Build: Project: Scribble ------
========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped
==========
That seemed OK, but when I selected the Debug menu, all the Start
and Step items were grayed out.
Question 1: Do you think, as I do, that the reason I can't run the
solution is because I built out of the context of the set of samples?
Question 2: How can I delete this errant solution from VS?
1. Why don't you try a complete rebuild?

2. Close the solution in Visual Studio, use Windows Explorer to delete the
folder containing the solution, and then try to open the solution again from the
recent projects list (or start page) of Visual Studio. VS will say it can't find
it, and offer to remove it from the recent project list (or maybe it just does
it, I forget).
--
David Wilkinson
Visual C++ MVP
Ulrich Eckhardt
2009-10-21 13:10:10 UTC
Permalink
Post by RichardOnRails
I downloaded/installed the Samples library and copied the Scribble
sample to my Test folder.
When I double-clicked scribble.sln, VS came up and displayed Scribble
------ Skipped Build: Project: Scribble ------
==== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ====
That seemed OK, but when I selected the Debug menu, all the Start
and Step items were grayed out.
No, it doesn't seem okay to me. It shouldn't skip building the Scribble
project. The only reason (under VS2005, assuming it works similarly) why it
doesn't do that is that it is not configured to build the project in the
current solution configuration. Fire up the configuration manager from the
build menu and check that it's activated for building there. It is possible
that this doesn't work, when the project only contains settings for e.g.
PocketPC and your solution only contains setups for win32, in that you have
to add setups to the project and/or solution.

Uli
--
C++ FAQ: http://parashift.com/c++-faq-lite

Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
RichardOnRails
2009-10-21 16:51:20 UTC
Permalink
On Oct 21, 8:51 am, RichardOnRails
Post by RichardOnRails
Hi,
I just started using VS2008 StdEd over WinXP-Pro/SP3.
I downloaded/installed the Samples library and copied the Scribble
sample to my Test folder.
When I double-clicked scribble.sln, VS came up and displayed Scribble
------ Skipped Build: Project: Scribble ------
========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped
==========
That seemed OK,  but when I selected the Debug menu,  all the Start
and Step items were grayed out.
Question 1:  Do you think, as I do, that the reason I can't run the
solution is because I built out of the context of the set of samples?
Question 2:  How can I delete this errant solution from VS?
Thanks in advance,
Richard
Hi David & Uli,

Thanks for your prompt, excellent guidance. I was in the middle of
posting new results on this, but I had to get off the 'Net to have a
tech check out my connection speed and get me a new modem. I'll post
back later this afternoon.

Best wishes,
Richard
RichardOnRails
2009-10-21 20:00:47 UTC
Permalink
Before applying the ideas you guys offered, I stumbled across the
fact that I could reload the project I had unloaded from the
solution.

Then I discovered that I could compile after all, by compiling the
project rather than the solution. That seems strange to me, but I
happy to run with it.

Then a new problem emerged. Execution fails with the message:
Unable to start program '...\Scribble.exe'.
The 32-bit version of VS cannot debug 64-bit processes ...

I found Visual Studio 2008\Settings\C++.vssettings which, I thought,
should have some setting like:
WinVersion=0400 (in XML format) to correct the apparent current
setting or default for 64-bit Vista.

I had found the symbol and potential value for it before the tech
closed a relevant window while he worked on my Internet speed. Ughh!

Best wishes,
Richard

If you have any idea on this 32- vs. 64-bit question, I'd love to
receive it.
RichardOnRails
2009-10-21 23:21:33 UTC
Permalink
On Oct 21, 4:00 pm, RichardOnRails
Before applying the ideas you guys offered,  I stumbled across the
fact that I could reload the project I had unloaded from the
solution.
Then I discovered that I could compile after all,  by compiling the
project rather than the solution.  That seems strange to me,  but I
happy to run with it.
Unable to start program '...\Scribble.exe'.
The 32-bit version of VS cannot debug 64-bit processes ...
I found Visual Studio 2008\Settings\C++.vssettings which, I thought,
WinVersion=0400 (in XML format) to correct the apparent current
setting or default for 64-bit Vista.
I had found the symbol and potential value for it before the tech
closed a relevant window while he worked on my Internet speed. Ughh!
Best wishes,
Richard
If you have any idea on this 32- vs. 64-bit question,  I'd love to
receive it.
I'm post this 32 v. 64 question anew on this NG.

Best wishes,
Richard

Continue reading on narkive:
Loading...