Visual C++'s :"clean solution" doesn't clean the solution?

P

plenty900

Hello,

I'm trying to build a large project, and I've found that
when something doesn't compile properly, and I attempt
to re-build it, Visual C++ Express doesn't make a new
attempt. So then I try to clean the solution, but
this has literally no effect because when I try to
build after that, again no attempt to made to build.

Can someone tell me to really to clean the solution,
removing all intermediate files and output files?

Thanks.
 
L

Lionel B

Hello,

I'm trying to build a large project, and I've found that when something
doesn't compile properly, and I attempt to re-build it, Visual C++
Express doesn't make a new attempt. So then I try to clean the solution,
but this has literally no effect because when I try to build after that,
again no attempt to made to build.

Can someone tell me to really to clean the solution, removing all
intermediate files and output files?

Someone in another newsgroup probably can:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
 
J

Jigar Mehta

Hi (e-mail address removed),

Try to run procmon when you 'clean' from visual studio (which version are
you using?)..
It may be possible that intermediate files are locked by some process (most
likely visual studio.) Try exiting visual studio or else, find handle using
Process Explorer and try to close it forcefully.

Jigar Mehta
 
E

Eric Pruneau

Hello,

I'm trying to build a large project, and I've found that
when something doesn't compile properly, and I attempt
to re-build it, Visual C++ Express doesn't make a new
attempt. So then I try to clean the solution, but
this has literally no effect because when I try to
build after that, again no attempt to made to build.

Can someone tell me to really to clean the solution,
removing all intermediate files and output files?

Thanks.

Are the projects dependencies properly set?
 
P

plenty900

Are the projects dependencies properly set?

Yes insofar as the solution has 4 projects, and the dependencies
between projects are correct. Actually, the project that
is nary impossible to get built is the one that 3 of the 4
depend upon.

I've discovered that if I manually remove all obj files
in Cygwin i.e.
rm -f `find . -name "*.obj"`
then this helps.
 
P

plenty900

Hi (e-mail address removed),

Try to run procmon when you 'clean' from visual studio (which version are
you using?)..

I'm using VC++ 9 Express. Also using Vista which hasn't got procmon.
 
P

plenty900

Hi (e-mail address removed),

Oh well, procmon is a utility you will have to download (it doesnt get bundled
with Vista).. Its a SysInternals Utility..

Thank you.
 
J

jason.cipriani

Can someone tell me to really to clean the solution,
removing all intermediate files and output files?

Ask this question here:

http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=161&SiteID=1

That is Microsoft's official VC++ Express user help forum. It exists
for questions about VC++ Express. This newsgroup, comp.lang.c++, is
for general questions on the syntax and semantics of the C++ language
itself. You will get a better answer in the appropriate place.

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top