all groups > dotnet compact framework > march 2008 >
You're in the dotnet compact framework group:
Visual Studio 2008 build takes insanely long time
dotnet compact framework:
I migrated a VB app for the PocketPC 2003 platform from VS2005 to VS2008 and the build time increased by a huge amount. I suspect that the problem is that VS2008 always recompiles everything rather than just the out-of-date components. Whereas it used to typically take a few seconds to deploy my app under VS2005, it now takes about 5 minutes. And redeploying an unmodified project still takes 5 minutes to "build" the already-built project. What is causing this and how
I don't think this has ever worked properly in any version of VS. I have found VS always builds projects whether they are out-of-daye or not regardless of whether you have explicitly set the "On run, when projects are out of date" to "Prompt to build", you never get prompted VS just builds anyway. So I have set mine to "Never build" I like to be in control of the build process and this works fine which allows me to debug quickly. Also consider turning off the "Deploy .NET CF" under project properties. -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com [quoted text, click to view] "silverfox" wrote: > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > VS2008 and the build time increased by a huge amount. I suspect > that the problem is that VS2008 always recompiles everything rather > than just the out-of-date components. Whereas it used to typically > take a few seconds to deploy my app under VS2005, it now takes about 5 > minutes. And redeploying an unmodified project still takes 5 minutes > to "build" the already-built project. What is causing this and how > can I fix this?
[quoted text, click to view] On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > I don't think this has ever worked properly in any version of VS. I have > found VS always builds projects whether they are out-of-daye or not > regardless of whether you have explicitly set the "On run, when projects are > out of date" to "Prompt to build", you never get prompted VS just builds > anyway. So I have set mine to "Never build" I like to be in control of the > build process and this works fine which allows me to debug quickly. Also > consider turning off the "Deploy .NET CF" under project properties. > -- > Simon Hart > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > "silverfox" wrote: > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > VS2008 and the build time increased by a huge amount. I suspect > > that the problem is that VS2008 always recompiles everything rather > > than just the out-of-date components. Whereas it used to typically > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > minutes. And redeploying an unmodified project still takes 5 minutes > > to "build" the already-built project. What is causing this and how > > can I fix this? Where do you make that setting? I don't seem to be able to find it.
[quoted text, click to view] On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > I don't think this has ever worked properly in any version of VS. I have > > found VS always builds projects whether they are out-of-daye or not > > regardless of whether you have explicitly set the "On run, when projects are > > out of date" to "Prompt to build", you never get prompted VS just builds > > anyway. So I have set mine to "Never build" I like to be in control of the > > build process and this works fine which allows me to debug quickly. Also > > consider turning off the "Deploy .NET CF" under project properties. > > -- > > Simon Hart > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > "silverfox" wrote: > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > VS2008 and the build time increased by a huge amount. I suspect > > > that the problem is that VS2008 always recompiles everything rather > > > than just the out-of-date components. Whereas it used to typically > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > to "build" the already-built project. What is causing this and how > > > can I fix this? > > Where do you make that setting? I don't seem to be able to find it. Actually, I can't find any of the settings you mention: Neither "On run when projects are out of date" and its various options, nor "Deploy .NET CF" under project properties. What am I missing?
Tools/Options/Projects Solutions/Build and Run. -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com [quoted text, click to view] "silverfox" wrote: > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > I don't think this has ever worked properly in any version of VS. I have > > found VS always builds projects whether they are out-of-daye or not > > regardless of whether you have explicitly set the "On run, when projects are > > out of date" to "Prompt to build", you never get prompted VS just builds > > anyway. So I have set mine to "Never build" I like to be in control of the > > build process and this works fine which allows me to debug quickly. Also > > consider turning off the "Deploy .NET CF" under project properties. > > -- > > Simon Hart > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > "silverfox" wrote: > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > VS2008 and the build time increased by a huge amount. I suspect > > > that the problem is that VS2008 always recompiles everything rather > > > than just the out-of-date components. Whereas it used to typically > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > to "build" the already-built project. What is causing this and how > > > can I fix this? > > > Where do you make that setting? I don't seem to be able to find it. >
see my other response with regard to the build settings. To supress deployment of the CF, this option can be found under Project Properties and the Build tab. I am assuming you are on VS 2005/2008? -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com [quoted text, click to view] "silverfox" wrote: > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > > > > > I don't think this has ever worked properly in any version of VS. I have > > > found VS always builds projects whether they are out-of-daye or not > > > regardless of whether you have explicitly set the "On run, when projects are > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > build process and this works fine which allows me to debug quickly. Also > > > consider turning off the "Deploy .NET CF" under project properties. > > > -- > > > Simon Hart > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > "silverfox" wrote: > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > that the problem is that VS2008 always recompiles everything rather > > > > than just the out-of-date components. Whereas it used to typically > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > to "build" the already-built project. What is causing this and how > > > > can I fix this? > > > > Where do you make that setting? I don't seem to be able to find it. > > Actually, I can't find any of the settings you mention: Neither "On > run when projects are out of date" and its various options, nor > "Deploy .NET CF" under project properties. What am I missing? >
[quoted text, click to view] On Mar 30, 2:25 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > Tools/Options/Projects Solutions/Build and Run. > -- > Simon Hart > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > "silverfox" wrote: > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > I don't think this has ever worked properly in any version of VS. I have > > > found VS always builds projects whether they are out-of-daye or not > > > regardless of whether you have explicitly set the "On run, when projects are > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > build process and this works fine which allows me to debug quickly. Also > > > consider turning off the "Deploy .NET CF" under project properties. > > > -- > > > Simon Hart > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > "silverfox" wrote: > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > that the problem is that VS2008 always recompiles everything rather > > > > than just the out-of-date components. Whereas it used to typically > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > to "build" the already-built project. What is causing this and how > > > > can I fix this? > > > Where do you make that setting? I don't seem to be able to find it. Are you talking about VS2008? You are the second person to try to direct me to that location but it does not exist on my system. In Tools>Options>Projects and Solutions, there are three places to enter some Visual Studio locations and eight checkboxes, none of which are Build and Run. I can send you a screen grab if you like.
[quoted text, click to view] On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > see my other response with regard to the build settings. To supress > deployment of the CF, this option can be found under Project Properties and > the Build tab. I am assuming you are on VS 2005/2008? > -- > Simon Hart > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > "silverfox" wrote: > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > I don't think this has ever worked properly in any version of VS. I have > > > > found VS always builds projects whether they are out-of-daye or not > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > build process and this works fine which allows me to debug quickly. Also > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > -- > > > > Simon Hart > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > "silverfox" wrote: > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > than just the out-of-date components. Whereas it used to typically > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > to "build" the already-built project. What is causing this and how > > > > > can I fix this? > > > > Where do you make that setting? I don't seem to be able to find it. > > > Actually, I can't find any of the settings you mention: Neither "On > > run when projects are out of date" and its various options, nor > > "Deploy .NET CF" under project properties. What am I missing? Right! VS2008! Are YOU on VS2008? It would seem that we have two
[quoted text, click to view] On Mar 30, 4:35 pm, silverfox <dcfre...@gmail.com> wrote: > On Mar 30, 2:25 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > Tools/Options/Projects Solutions/Build and Run. > > -- > > Simon Hart > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > "silverfox" wrote: > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > I don't think this has ever worked properly in any version of VS. I have > > > > found VS always builds projects whether they are out-of-daye or not > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > build process and this works fine which allows me to debug quickly. Also > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > -- > > > > Simon Hart > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > "silverfox" wrote: > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > than just the out-of-date components. Whereas it used to typically > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > to "build" the already-built project. What is causing this and how > > > > > can I fix this? > > > > Where do you make that setting? I don't seem to be able to find it. > > Are you talking about VS2008? You are the second person to try to > direct me to that location but it does not exist on my system. In > Tools>Options>Projects and Solutions, there are three places to enter > some Visual Studio locations and eight checkboxes, none of which are > Build and Run. I can send you a screen grab if you like. And just to be a little bit clearer, expanding Projects and Solutions on the left side of the tab shows General and VB Defaults. The controls I described are in the General tab. In the VB defaults tab are controls for Option Implicit, Option Strict, Option Compare, and Option Infer.
It is no different on VS 2008 than VS 2005. What do you see when you expand the Project and Solutions treeview item? You can email me a screen grab if you like. What version of VS are you using? -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com [quoted text, click to view] "silverfox" wrote: > On Mar 30, 4:35 pm, silverfox <dcfre...@gmail.com> wrote: > > On Mar 30, 2:25 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > > > > > Tools/Options/Projects Solutions/Build and Run. > > > -- > > > Simon Hart > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > "silverfox" wrote: > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > I don't think this has ever worked properly in any version of VS. I have > > > > > found VS always builds projects whether they are out-of-daye or not > > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > > build process and this works fine which allows me to debug quickly. Also > > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > > -- > > > > > Simon Hart > > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > > > "silverfox" wrote: > > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > > than just the out-of-date components. Whereas it used to typically > > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > > to "build" the already-built project. What is causing this and how > > > > > > can I fix this? > > > > > > Where do you make that setting? I don't seem to be able to find it. > > > > Are you talking about VS2008? You are the second person to try to > > direct me to that location but it does not exist on my system. In > > Tools>Options>Projects and Solutions, there are three places to enter > > some Visual Studio locations and eight checkboxes, none of which are > > Build and Run. I can send you a screen grab if you like. > > And just to be a little bit clearer, expanding Projects and Solutions > on the left side of the tab shows General and VB Defaults. The > controls I described are in the General tab. In the VB defaults tab > are controls for Option Implicit, Option Strict, Option Compare, and > Option Infer. > > No Build and Run.
[quoted text, click to view] On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > see my other response with regard to the build settings. To supress > deployment of the CF, this option can be found under Project Properties and > the Build tab. I am assuming you are on VS 2005/2008? > -- > Simon Hart > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > "silverfox" wrote: > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > I don't think this has ever worked properly in any version of VS. I have > > > > found VS always builds projects whether they are out-of-daye or not > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > build process and this works fine which allows me to debug quickly. Also > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > -- > > > > Simon Hart > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > "silverfox" wrote: > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > than just the out-of-date components. Whereas it used to typically > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > to "build" the already-built project. What is causing this and how > > > > > can I fix this? > > > > Where do you make that setting? I don't seem to be able to find it. > > > Actually, I can't find any of the settings you mention: Neither "On > > run when projects are out of date" and its various options, nor > > "Deploy .NET CF" under project properties. What am I missing? Simon, I posted a screen grab of the Tools>Options screen on my web site if you are interested. http://www.donfrenchphotography.com/VSScreenGrab.jpg As you can see, there is no Build and Run. I suspect that the reason is that my project is a VB project. What do you think?
I have 2008 team suite edition and VB.NET installed which also shows the "Build and run" treeview item. I do see from your screenshot that you do not have this setting - which is probebly why you can't find it! I know you are using VS 2008 but what version? The following site contains product comparison tables: http://msdn2.microsoft.com/en-us/vstudio/products/cc149003.aspx -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com [quoted text, click to view] "silverfox" wrote: > On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > see my other response with regard to the build settings. To supress > > deployment of the CF, this option can be found under Project Properties and > > the Build tab. I am assuming you are on VS 2005/2008? > > -- > > Simon Hart > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > "silverfox" wrote: > > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > > > I don't think this has ever worked properly in any version of VS. I have > > > > > found VS always builds projects whether they are out-of-daye or not > > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > > build process and this works fine which allows me to debug quickly. Also > > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > > -- > > > > > Simon Hart > > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > > > "silverfox" wrote: > > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > > than just the out-of-date components. Whereas it used to typically > > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > > to "build" the already-built project. What is causing this and how > > > > > > can I fix this? > > > > > > Where do you make that setting? I don't seem to be able to find it. > > > > > Actually, I can't find any of the settings you mention: Neither "On > > > run when projects are out of date" and its various options, nor > > > "Deploy .NET CF" under project properties. What am I missing? > > Simon, > > I posted a screen grab of the Tools>Options screen on my web site if > you are interested. > > http://www.donfrenchphotography.com/VSScreenGrab.jpg > > As you can see, there is no Build and Run. I suspect that the reason > is that my project is a VB project. What do you think? > > Don
Hi Don, You may also try to Disable PlatformVerificationTask I too faced the same issue with VS 2008 build taking long time, I disbled the PVT and it is better now. Steps to diable PVT is explained in this blog entry, http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.aspx Hope this helps, Cheers, Arun [quoted text, click to view] On Mar 31, 2:46=A0am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > I have 2008 team suite edition and VB.NET installed which also shows the > "Build and run" treeview item. I do see from your screenshot that you do n= ot > have this setting - which is probebly why you can't find it! > > I know you are using VS 2008 but what version? The following site contains= > product comparison tables: http://msdn2.microsoft.com/en-us/vstudio/product= s/cc149003.aspx > -- > Simon Hart > Visual Developer - Device Application Development MVPhttp://simonrhart.blo= gspot.com > > > > "silverfox" wrote: > > On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > see my other response with regard to the build settings. To supress > > > deployment of the CF, this option can be found under Project Propertie= s and > > > the Build tab. I am assuming you are on VS 2005/2008? > > > -- > > > Simon Hart > > > Visual Developer - Device Application Development MVPhttp://simonrhart= ..blogspot.com > > > > "silverfox" wrote: > > > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote:= > > > > > > > I don't think this has ever worked properly in any version of VS= .. I have > > > > > > found VS always builds projects whether they are out-of-daye or = not > > > > > > regardless of whether you have explicitly set the "On run, when = projects are > > > > > > out of date" to "Prompt to build", you never get prompted VS jus= t builds > > > > > > anyway. So I have set mine to "Never build" I like to be in cont= rol of the > > > > > > build process and this works fine which allows me to debug quick= ly. Also > > > > > > consider turning off the "Deploy .NET CF" under project properti= es. > > > > > > -- > > > > > > Simon Hart > > > > > > Visual Developer - Device Application Development MVPhttp://simo= nrhart.blogspot.com > > > > > > > "silverfox" wrote: > > > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005= to > > > > > > > VS2008 and the build time increased by a huge amount. =A0 =A0I= suspect > > > > > > > that the problem is that VS2008 always recompiles everything r= ather > > > > > > > than just the out-of-date components. =A0Whereas it used to ty= pically > > > > > > > take a few seconds to deploy my app under VS2005, it now takes= about 5 > > > > > > > minutes. =A0And redeploying an unmodified project still takes = 5 minutes > > > > > > > to "build" the already-built project. =A0What is causing this = and how > > > > > > > can I fix this? > > > > > > Where do you make that setting? =A0I don't seem to be able to find= it. > > > > > Actually, I can't find any of the settings you mention: Neither "On > > > > run when projects are out of date" and its various options, nor > > > > "Deploy .NET CF" =A0under project properties. =A0What am I missing? > > > Simon, > > > I posted a screen grab of the Tools>Options screen on my web site if > > you are interested. > > > http://www.donfrenchphotography.com/VSScreenGrab.jpg > > > As you can see, there is no Build and Run. =A0I suspect that the reason > > is that my project is a VB project. =A0 What do you think? > > > Don- Hide quoted text - > > - Show quoted text -
[quoted text, click to view] On Mar 31, 2:46 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > I have 2008 team suite edition and VB.NET installed which also shows the > "Build and run" treeview item. I do see from your screenshot that you do not > have this setting - which is probebly why you can't find it! > > I know you are using VS 2008 but what version? The following site contains > product comparison tables: http://msdn2.microsoft.com/en-us/vstudio/products/cc149003.aspx > -- > Simon Hart > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > "silverfox" wrote: > > On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > see my other response with regard to the build settings. To supress > > > deployment of the CF, this option can be found under Project Properties and > > > the Build tab. I am assuming you are on VS 2005/2008? > > > -- > > > Simon Hart > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > "silverfox" wrote: > > > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > > > I don't think this has ever worked properly in any version of VS. I have > > > > > > found VS always builds projects whether they are out-of-daye or not > > > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > > > build process and this works fine which allows me to debug quickly. Also > > > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > > > -- > > > > > > Simon Hart > > > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > > > "silverfox" wrote: > > > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > > > than just the out-of-date components. Whereas it used to typically > > > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > > > to "build" the already-built project. What is causing this and how > > > > > > > can I fix this? > > > > > > Where do you make that setting? I don't seem to be able to find it. > > > > > Actually, I can't find any of the settings you mention: Neither "On > > > > run when projects are out of date" and its various options, nor > > > > "Deploy .NET CF" under project properties. What am I missing? > > > Simon, > > > I posted a screen grab of the Tools>Options screen on my web site if > > you are interested. > > > http://www.donfrenchphotography.com/VSScreenGrab.jpg > > > As you can see, there is no Build and Run. I suspect that the reason > > is that my project is a VB project. What do you think? > > > Don Simon, I discovered why I didn't see the Build and Run feature. There is a check box at the bottom of the Options form called Show All Settings. I completely overlooked it and I needed to check it. When I did, that feature became visible. I think it is a usability mistake to have that checkbox there though. What real purpose does it serve other than to be overlooked? It is a tree-view! People expect to be able to see what is in the tree by expanding the node, not having to take one more step. <Ok, usability rant over. :) > Well, anyway, I finally discovered the true nature of the VS performance problem. There is a bug that relates to building apps targeted for CF. The bug results in every subsequent build taking longer than the previous one. After rebooting, my build time went from 10 minutes 17 seconds to one minute, 44 seconds. And now it is growing again. But I think that there is another bug too. VS rebuilds my project in its entirety every single time, even when the project is not out of date. I even went into Run and Build and chose Never as was suggested here and it STILL rebuilds the project. I ran two successive deployments doing exactly nothing in between and it rebuilt the project both times. I created a diagnostic log for both builds and it shows it recompiling every VB module and rebuilding. The logs were both 1279 lines long. The total time was longer in the second one, due to the previously mentioned bug. The ever-growing time-of-build problem is apparently with the Platform Verification Task, which Arun suggested disabling. (Thanks, Arun!)
[quoted text, click to view] On Mar 31, 10:18 am, Arun <arunkumarselva...@gmail.com> wrote: > Hi Don, > > You may also try to Disable PlatformVerificationTask > I too faced the same issue with VS 2008 build taking long time, I > disbled the PVT and it is better now. > Steps to diable PVT is explained in this blog entry, http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.aspx > > Hope this helps, > Cheers, > Arun > > On Mar 31, 2:46 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > I have 2008 team suite edition and VB.NET installed which also shows the > > "Build and run" treeview item. I do see from your screenshot that you do not > > have this setting - which is probebly why you can't find it! > > > I know you are using VS 2008 but what version? The following site contains > > product comparison tables: http://msdn2.microsoft.com/en-us/vstudio/products/cc149003.aspx > > -- > > Simon Hart > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > "silverfox" wrote: > > > On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > see my other response with regard to the build settings. To supress > > > > deployment of the CF, this option can be found under Project Properties and > > > > the Build tab. I am assuming you are on VS 2005/2008? > > > > -- > > > > Simon Hart > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > "silverfox" wrote: > > > > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > > > > I don't think this has ever worked properly in any version of VS. I have > > > > > > > found VS always builds projects whether they are out-of-daye or not > > > > > > > regardless of whether you have explicitly set the "On run, when projects are > > > > > > > out of date" to "Prompt to build", you never get prompted VS just builds > > > > > > > anyway. So I have set mine to "Never build" I like to be in control of the > > > > > > > build process and this works fine which allows me to debug quickly. Also > > > > > > > consider turning off the "Deploy .NET CF" under project properties. > > > > > > > -- > > > > > > > Simon Hart > > > > > > > Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com > > > > > > > > "silverfox" wrote: > > > > > > > > I migrated a VB app for the PocketPC 2003 platform from VS2005 to > > > > > > > > VS2008 and the build time increased by a huge amount. I suspect > > > > > > > > that the problem is that VS2008 always recompiles everything rather > > > > > > > > than just the out-of-date components. Whereas it used to typically > > > > > > > > take a few seconds to deploy my app under VS2005, it now takes about 5 > > > > > > > > minutes. And redeploying an unmodified project still takes 5 minutes > > > > > > > > to "build" the already-built project. What is causing this and how > > > > > > > > can I fix this? > > > > > > > Where do you make that setting? I don't seem to be able to find it. > > > > > > Actually, I can't find any of the settings you mention: Neither "On > > > > > run when projects are out of date" and its various options, nor > > > > > "Deploy .NET CF" under project properties. What am I missing? > > > > Simon, > > > > I posted a screen grab of the Tools>Options screen on my web site if > > > you are interested. > > > > http://www.donfrenchphotography.com/VSScreenGrab.jpg > > > > As you can see, there is no Build and Run. I suspect that the reason > > > is that my project is a VB project. What do you think? > > > > Don- Hide quoted text - > > > - Show quoted text - Arun, Thanks again for that tip. Making that change turned 10 minute builds into 2 second builds!!! And it also fixed the problem with the ever- increasing build times. Apparently, that problem was related to Platform Verification gone bad. I am so happy now!
Glad that I could help. Enjoy coding!!! [quoted text, click to view] On Mar 31, 2:19=A0pm, silverfox <dcfre...@gmail.com> wrote: > On Mar 31, 10:18 am, Arun <arunkumarselva...@gmail.com> wrote: > > > > > > > Hi Don, > > > You may also try to Disable PlatformVerificationTask > > I too faced the same issue with VS 2008 build taking long time, I > > disbled the PVT and it is better now. > > Steps to diable PVT is explained in this blog entry,http://blogs.msdn.co= m/vsdteam/archive/2006/09/15/756400.aspx > > > Hope this helps, > > Cheers, > > Arun > > > On Mar 31, 2:46 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > I have 2008 team suite edition and VB.NET installed which also shows t= he > > > "Build and run" treeview item. I do see from your screenshot that you = do not > > > have this setting - which is probebly why you can't find it! > > > > I know you are using VS 2008 but what version? The following site cont= ains > > > product comparison tables: http://msdn2.microsoft.com/en-us/vstudio/pro= ducts/cc149003.aspx > > > -- > > > Simon Hart > > > Visual Developer - Device Application Development MVPhttp://simonrhart= ..blogspot.com > > > > "silverfox" wrote: > > > > On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > see my other response with regard to the build settings. To supres= s > > > > > deployment of the CF, this option can be found under Project Prope= rties and > > > > > the Build tab. I am assuming you are on VS 2005/2008? > > > > > -- > > > > > Simon Hart > > > > > Visual Developer - Device Application Development MVPhttp://simonr= hart.blogspot.com > > > > > > "silverfox" wrote: > > > > > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> wr= ote: > > > > > > > > > I don't think this has ever worked properly in any version o= f VS. I have > > > > > > > > found VS always builds projects whether they are out-of-daye= or not > > > > > > > > regardless of whether you have explicitly set the "On run, w= hen projects are > > > > > > > > out of date" to "Prompt to build", you never get prompted VS= just builds > > > > > > > > anyway. So I have set mine to "Never build" I like to be in = control of the > > > > > > > > build process and this works fine which allows me to debug q= uickly. Also > > > > > > > > consider turning off the "Deploy .NET CF" under project prop= erties. > > > > > > > > -- > > > > > > > > Simon Hart > > > > > > > > Visual Developer - Device Application Development MVPhttp://= simonrhart.blogspot.com > > > > > > > > > "silverfox" wrote: > > > > > > > > > I migrated a VB app for the PocketPC 2003 platform from VS= 2005 to > > > > > > > > > VS2008 and the build time increased by a huge amount. =A0 = =A0I suspect > > > > > > > > > that the problem is that VS2008 always recompiles everythi= ng rather > > > > > > > > > than just the out-of-date components. =A0Whereas it used t= o typically > > > > > > > > > take a few seconds to deploy my app under VS2005, it now t= akes about 5 > > > > > > > > > minutes. =A0And redeploying an unmodified project still ta= kes 5 minutes > > > > > > > > > to "build" the already-built project. =A0What is causing t= his and how > > > > > > > > > can I fix this? > > > > > > > > Where do you make that setting? =A0I don't seem to be able to = find it. > > > > > > > Actually, I can't find any of the settings you mention: Neither = "On > > > > > > run when projects are out of date" and its various options, nor > > > > > > "Deploy .NET CF" =A0under project properties. =A0What am I missi= ng? > > > > > Simon, > > > > > I posted a screen grab of the Tools>Options screen on my web site if= > > > > you are interested. > > > > > http://www.donfrenchphotography.com/VSScreenGrab.jpg > > > > > As you can see, there is no Build and Run. =A0I suspect that the rea= son > > > > is that my project is a VB project. =A0 What do you think? > > > > > Don- Hide quoted text - > > > > - Show quoted text - > > Arun, > > Thanks again for that tip. =A0Making that change turned 10 minute builds > into 2 second builds!!! =A0 And it also fixed the problem with the ever- > increasing build times. =A0Apparently, that problem was related to > Platform Verification gone bad. =A0I am so happy now! > > Don- Hide quoted text - > > - Show quoted text -
Thank you very very much - I had exactly the same problem and I wondered for month what is going on :) Regards, Tom [quoted text, click to view] On Apr 1, 12:17=A0am, Arun <arunkumarselva...@gmail.com> wrote: > Glad that I could help. > Enjoy coding!!! > > On Mar 31, 2:19=A0pm, silverfox <dcfre...@gmail.com> wrote: > > > On Mar 31, 10:18 am, Arun <arunkumarselva...@gmail.com> wrote: > > > > Hi Don, > > > > You may also try to Disable PlatformVerificationTask > > > I too faced the same issue with VS 2008 build taking long time, I > > > disbled the PVT and it is better now. > > > Steps to diable PVT is explained in this blog entry,http://blogs.msdn.= com/vsdteam/archive/2006/09/15/756400.aspx > > > > Hope this helps, > > > Cheers, > > > Arun > > > > On Mar 31, 2:46 am, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > I have 2008 team suite edition and VB.NET installed which also shows= the > > > > "Build and run" treeview item. I do see from your screenshot that yo= u do not > > > > have this setting - which is probebly why you can't find it! > > > > > I know you are using VS 2008 but what version? The following site co= ntains > > > > product comparison tables: http://msdn2.microsoft.com/en-us/vstudio/p= roducts/cc149003.aspx > > > > -- > > > > Simon Hart > > > > Visual Developer - Device Application Development MVPhttp://simonrha= rt.blogspot.com > > > > > "silverfox" wrote: > > > > > On Mar 30, 2:44 pm, Simon Hart [MVP] <srhart...@yahoo.com> wrote: > > > > > > see my other response with regard to the build settings. To supr= ess > > > > > > deployment of the CF, this option can be found under Project Pro= perties and > > > > > > the Build tab. I am assuming you are on VS 2005/2008? > > > > > > -- > > > > > > Simon Hart > > > > > > Visual Developer - Device Application Development MVPhttp://simo= nrhart.blogspot.com > > > > > > > "silverfox" wrote: > > > > > > > On Mar 30, 1:58 pm, silverfox <dcfre...@gmail.com> wrote: > > > > > > > > On Mar 30, 11:50 am, Simon Hart [MVP] <srhart...@yahoo.com> = wrote: > > > > > > > > > > I don't think this has ever worked properly in any version= of VS. I have > > > > > > > > > found VS always builds projects whether they are out-of-da= ye or not > > > > > > > > > regardless of whether you have explicitly set the "On run,= when projects are > > > > > > > > > out of date" to "Prompt to build", you never get prompted = VS just builds > > > > > > > > > anyway. So I have set mine to "Never build" I like to be i= n control of the > > > > > > > > > build process and this works fine which allows me to debug= quickly. Also > > > > > > > > > consider turning off the "Deploy .NET CF" under project pr= operties. > > > > > > > > > -- > > > > > > > > > Simon Hart > > > > > > > > > Visual Developer - Device Application Development MVPhttp:= //simonrhart.blogspot.com > > > > > > > > > > "silverfox" wrote: > > > > > > > > > > I migrated a VB app for the PocketPC 2003 platform from = VS2005 to > > > > > > > > > > VS2008 and the build time increased by a huge amount. = =A0 =A0I suspect > > > > > > > > > > that the problem is that VS2008 always recompiles everyt= hing rather > > > > > > > > > > than just the out-of-date components. =A0Whereas it used= to typically > > > > > > > > > > take a few seconds to deploy my app under VS2005, it now= takes about 5 > > > > > > > > > > minutes. =A0And redeploying an unmodified project still = takes 5 minutes > > > > > > > > > > to "build" the already-built project. =A0What is causing= this and how > > > > > > > > > > can I fix this? > > > > > > > > > Where do you make that setting? =A0I don't seem to be able t= o find it. > > > > > > > > Actually, I can't find any of the settings you mention: Neithe= r "On > > > > > > > run when projects are out of date" and its various options, no= r > > > > > > > "Deploy .NET CF" =A0under project properties. =A0What am I mis= sing? > > > > > > Simon, > > > > > > I posted a screen grab of the Tools>Options screen on my web site = if > > > > > you are interested. > > > > > > http://www.donfrenchphotography.com/VSScreenGrab.jpg > > > > > > As you can see, there is no Build and Run. =A0I suspect that the r= eason > > > > > is that my project is a VB project. =A0 What do you think? > > > > > > Don- Hide quoted text - > > > > > - Show quoted text - > > > Arun, > > > Thanks again for that tip. =A0Making that change turned 10 minute builds= > > into 2 second builds!!! =A0 And it also fixed the problem with the ever-= > > increasing build times. =A0Apparently, that problem was related to > > Platform Verification gone bad. =A0I am so happy now! > > > Don- Hide quoted text - > > > - Show quoted text -
Don't see what you're looking for? Try a search.
|
|
|