Visual Studio Development Bookmark and Share   
 index > Visual Studio Debugger > clean and rebuild
 

clean and rebuild

I typically end up with solutions that include multiple projects.
Typically, I do the main runtime in one project with all the helper classes in a second one. This allows me to separate the UI from the application code.

Lately, I've noticed that, if I make a change to one of the projects -- either one of the helper ones or the main exe one -- I have to do a clean and rebuild *every time* to pick up the change.
All the dependencies and build dependencies are right, I think, but studio doesn't seem to be realizing that it has to rebuild.

When I first installed studio, this wasn't an issue. It seems to have gotten worse with use.

It's actually kind of a pain, since I'm used to hitting <crtl>-<shift>-b to do my rebuilds. If I do that now, it basically does nothing, so I don't pick up my changes. If I right click on each project and do a clean->rebuild, it works, but it's not only a pain, it's easy to forget or miss things.

I did a little searching but i'm not seeing anyone else with this issue?
Am I the only one having it?
Is there something I can do to stop it?
thanks for any help

I'm using studio 2008 professional SP1.

--kevin
kjhngisd  Thursday, September 24, 2009 4:23 PM
Hi Kevin,

Is it true that when you click Rebuild in the context menu in solution explorer, it doesn't work. Visual Studio will use msbuild to rebuild the project when you click rebuild. The msbuild output should help on this issue. Please let me know what is in the Output window.

What happens if you create a new project? Can you still reproduce this issue?

Hongye Sun [MSFT]

MSDN Subscriber Support in Forum

If you have any feedback on our support, please contact msdnmg@microsoft.com




Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  Friday, September 25, 2009 2:40 AM
Hi Kevin,

Is it true that when you click Rebuild in the context menu in solution explorer, it doesn't work. Visual Studio will use msbuild to rebuild the project when you click rebuild. The msbuild output should help on this issue. Please let me know what is in the Output window.

What happens if you create a new project? Can you still reproduce this issue?

Hongye Sun [MSFT]

MSDN Subscriber Support in Forum

If you have any feedback on our support, please contact msdnmg@microsoft.com




Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  Friday, September 25, 2009 2:40 AM
Hi Kevin,

Is it true that when you click Rebuild in the context menu in solution explorer, it doesn't work. Visual Studio will use msbuild to rebuild the project when you click rebuild. The msbuild output should help on this issue. Please let me know what is in the Output window.

What happens if you create a new project? Can you still reproduce this issue?

Hongye Sun [MSFT]

MSDN Subscriber Support in Forum

If you have any feedback on our support, please contact msdnmg@microsoft.com




Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
That's a very good idea.... not sure why I didn't think of it.
If I create a new solution containing new project and rebuild all, it builds.
If I go to my old one, it tells me all the projects are up to date and shows me this:
========== Build: 7 succeeded or up-to-date, 0 failed, 0 skipped ==========

I'll take a look at my solution and my build properties. I'll be one of the common projects that I use is whacked.
thanks

kjhngisd  Friday, September 25, 2009 1:44 PM
Hi Kevin,

Is this issue resolved? Please let me know if there is any update of this issue. I will follow up.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  Wednesday, October 07, 2009 8:31 AM

You can use google to search for other answers

Custom Search

More Threads

• Whay Step Into is not visiable
• debugger not working in visual studio 2008
• Visual studio compiler is error.
• Disabling Visual Studio Just in Time Debugger
• Problem with a list visualizer
• Parallel debugger : concurrent users
• Unable to attach webdev.webserver.exe
• Debuging "Hello World" crashes VS2005 VC++ Express
• Monitor goes blank when visual studio Application launches
• Choosing which process to attach to on build/debug