Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have just read every googleable post on this subject. No one who answered the question really understood the question, whish I'm fairly certain was the fault of the original poster's lack of clarity, so I'll be as crystal clear as possible:

 

I am sick of clicking the "Yes" button in the following dialog when I choose to launch my app from Visual Studio .NET:

 

"These project configuration(s) are out of date:

myprojectname - Debug Win32

Would you like to build them?"

 

I want to BUILD & RUN **ALWAYS**, and I DON'T want to be asked about it. Just build it and run it. Don't ask first.

 

I know there is a preference/setting for this somewhere in Visual Studio, but I can't find it for some reason.

 

I realize that if changes have been made, then I should rebuild... I just don't want to be ASKED about it. Just REBUILD and RUN. No asking.

 

So the question is: Where is that setting?

 

And, Visual Studio's preferences layout is like a labyrinth, so please very very detailed about how I am to find that little checkbox (or radio button, or whatever it is).

 

Thanks.

 

- Philip

  • *Experts*
Posted

I think I've got it:

 

In design mode, click the "Build" menu, then click "Configuration Manager..." and make

sure all your projects are checked under the "Build" column.

 

If this doesn't solve the problem... what menu item or key command are you presently

using to run your applications that causes this message to appear?

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Posted

In design mode, click the "Build" menu, then click "Configuration Manager..." and make sure all your projects are checked under the "Build" column.

 

nope. didn't work.

 

but, i hadn't tried that yet, so, from my vantage point, it was a great idea. ;-)

 

 

 

If this doesn't solve the problem... what menu item or key command are you presently using to run your applications that causes this message to appear?

 

F5 or the little play button. The project type is C/C++ Win32 Console (Empty). I only have one source file ("server.c") and no headers. The only customization that i do is to add "WSock32.lib" to:

 

project -> properties -> linker -> input -> additional dependencies

 

other than that, it's very small and simple, and i'm not doing anything out-of-the-ordinary to launch/debug it.

 

my workaround is to add the "build solution" button to to the toolbar, sitting just to the left of the play/run button. i click it first, wait...... and then click run. isn't there some way to make a custom button that executes the actions of multiple other buttons when you click it? like, for instance, a custom button, who first builds the solution and the runs it. that would be the perfect workaround.

 

it's hilarious that i'm even thinking about such a workaround though, because i know this is a setting somewhere in visual studio. i know it is, because the last time i had to use this ide was in school; it was visual studio 6, and when we first would start a new project, it would behave like this. at some point you'd get annoyed enough to figure out where the checkbox is and you'd check it. end of story. from that moment on, when you make some changes to the code, and then click the play/run button (or F5), it would first build, and then run... without asking you. Seems pretty logical. For some reason that little checkbox has thus far eluded my grasp on Visual Studio .NET.

 

so, the question remains... where's that setting?

 

(plus the additional question about the workaround. not as thrilling, but still better than what i've got) ;-)

 

thanks.

 

- philip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...