All this compiling is TOOO much

A

active

I have 25 projects in my solution and everytime I run (Start) it compiles
everything. Can't it keep tack of what's been changed.

I asked a while ago and someone made me aware of the configuration manager
and I thought that would work for me, but it hasn't. Maybe I don't know how
to set it up or maybe there is an other way of avoiding all the compiles.

Is there?? It's hard to believe they produced an IDE that always compiles. I
have to go a long way back to find a time when that was so. Pascal maybe??

Thans for any help
Cal
 
C

Cowboy \(Gregory A. Beamer\)

Build versus rebuild. Rebuild will rebuild all every time, while build only
builds the current project.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
J

Joe Fallon

Use the Build menu.
The first choice is the one you hate - Build Solution.
The 3rd choice builds the current project only.
So if that is the only that changed you should be OK.

Also, you can right click a Project and build it in Solution explorer in
case you need to build a few of them.
 
H

Herfried K. Wagner [MVP]

* " active said:
I have 25 projects in my solution and everytime I run (Start) it compiles
everything. Can't it keep tack of what's been changed.

I asked a while ago and someone made me aware of the configuration manager
and I thought that would work for me, but it hasn't. Maybe I don't know how
to set it up or maybe there is an other way of avoiding all the compiles.

Is there?? It's hard to believe they produced an IDE that always compiles. I
have to go a long way back to find a time when that was so. Pascal maybe??

Doesn't even using "Build Project..." instead of "Build Solution..." help?
 
A

active

Even if I just rebuilt the entire solution, if I run it (click Start) the
entire solution is built again!

Must have something setup wrong.

Cal
 
A

active

I'm not sure how that helps. The problem is when I run (click Start)
everything gets compiled. Not sure how Build Project applies. Give me a few
more words about it.

Thanks
Cal
 
B

Bernie Yaeger

Hi,

Project/project properties; click 'config manager' (upper right); uncheck
the projects you don't want to build when you test/run. Remember to check
these again when you need to.

HTH,

Bernie Yaeger
 
A

active

Thanks, I've tried that. Forgot I made some changes in one project that
didn't get compiled and debuger got crazy. Guess it expected things that
didn't agree with my code listing.

Anyway, looks like the IDE is not smart enough to compile only those things
that have changed - that's a real bummer - hard to believe.

Seems like all they would have to is programmatically set a configuration
item when a project gets edited and reset it when the project get compiled.



Thanks
Cal
 
H

Herfried K. Wagner [MVP]

* " active said:
I'm not sure how that helps. The problem is when I run (click Start)
everything gets compiled. Not sure how Build Project applies. Give me a few
more words about it.

It's a menu item in the "Build" menu.
 
A

active

"> It's a menu item in the "Build" menu.What does that have to do with the problem?

I'm missing something. I have the problem when I run - not when I build.

You keep telling me about Build - how does that relate?

When I click start it compiles everything is what the problem is.

I have no problem building.
 
B

Bernie Yaeger

Hi Cal,

A lot of people are missing your point - when you debug/start (F5) all
projects recompile. It's a bummer, you're correct. But my suggestion - to
remove the checkbox in config manager works. Notwithstanding the fact that
you forgot to recheck on occasion, if you are going to do a lot of run
testing and want to avoid the full solution recompile, I think this is the
only solution. Yes, it would be nice if the IDE was more sophisiticated re
changed modules, but it isn't. Maybe in a different release.

HTH,

Bernie
 
A

active

Thanks for the info.
I'll try your suggestion again.
I don't have to like it but knowing that's the way it is, as opposed to
maybe I should select some option, helps a lot.
Cal
 

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

Top