Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2005

Tip: Looking for answers? Try searching our database.

First time running in Debug Mode IDE recompiles EVERYTHING?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Baltrinic - 21 Mar 2005 23:43 GMT
We are having a significant problem in that any time we restart the ide,
such as when we start in the morning, the first time we run our solution in
debug mode, the IDE recompiles everything, whether the code has changed
since last compilation or not.  This is a significant issue as a full
recompile of our solution can take 10 minutes.  Why does the IDE do this and
how do we keep it from doing this?  It should only be necessary to recompile
those projects where code has changed or where a referenced project has been
been recompiled.  What gives here?

-Ken
Ted - 22 Mar 2005 05:26 GMT
if you can't beat 'em, get someone who'll fix it for ya,

http://www.workspacewhiz.com/OtherAddins.html#FastSolutionBuild

Ted.

> We are having a significant problem in that any time we restart the ide,
> such as when we start in the morning, the first time we run our solution
[quoted text clipped - 6 lines]
>
> -Ken
Andrew McDonald - 22 Mar 2005 20:18 GMT
"Ted" <ted@t--x.org> wrote...
> "Ken Baltrinic" <ken.baltrinic@inforeliance.com> wrote...
>> We are having a significant problem in that any time we restart the ide, such as when we start in
[quoted text clipped - 7 lines]
>
> http://www.workspacewhiz.com/OtherAddins.html#FastSolutionBuild

Are you sure that will actually fix the OP's problem? That add-in seems designed to change the VS7
IDE behaviour for multiple projects in a solution, where each project is built every time you hit
run (can't you just choose "Only build startup projects and dependencies on Run" in the options to
fix this anyway?)

The OP's problem sounded like a bug I ran into but was never given a solution for, where the first
time you try to build in a session it will recompile all files in the project regardless of whether
they've changed or not. Subsequent builds are ok until you restart VS.

Andrew
Ted - 22 Mar 2005 23:34 GMT
It also changes the way dependencies are checked, so what may be screwed up
in the Microsoft method of dependency checking may not be screwed in the
add-in's dependency checking.    I'm not guaranteeing anything, but I have
found in the past that the dependency checking of the add-in is better, even
in cases where it's screwed.   In any case it's worth a try.

Ted.

> "Ted" <ted@t--x.org> wrote...
>> "Ken Baltrinic" <ken.baltrinic@inforeliance.com> wrote...
[quoted text clipped - 23 lines]
>
> Andrew
Ken Baltrinic - 23 Mar 2005 16:46 GMT
Andrew,

Yes the problem you are describing is the same one we are encountering.  A
plain old build also exhibits the problem.  Obviously, when you run a
project, it does a build and that is where we wind up waiting forever.  I
will take a look at Teds addin though as well.

--Ken

> "Ted" <ted@t--x.org> wrote...
>> "Ken Baltrinic" <ken.baltrinic@inforeliance.com> wrote...
[quoted text clipped - 23 lines]
>
> Andrew

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.