|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Solution rebuilding issues VS2005hit the "run debugger" (F5)? We have a solution with 12 projects in it, and I'm debugging one of them right now. I change some code, hit F5 and get the following error message: "Source file: <mypath>\<myform>.vb Module: Process: The source file is different from when the module was built. Would you like the debugger to use it anyway?" I'd like the solution to be rebuilt whenever I hit F5 and thought that this was the default option, is it not? And if not, what do I need to change so that it is? Thanks in advance, Andy Hi,
In the tools menu select options. Expand projects and solutions and select build and run. In the on run when projects are out of date change the value to always build. Ken -------------------- Show quoteHide quote "Andrew Kidd" <andrew@nospam.com> wrote in message news:%23YjrsZUEGHA.3068@TK2MSFTNGP10.phx.gbl... > Is there any reason that VS 2005 only selects some project to rebuild when > I hit the "run debugger" (F5)? > > We have a solution with 12 projects in it, and I'm debugging one of them > right now. I change some code, hit F5 and get the following error message: > > "Source file: <mypath>\<myform>.vb > Module: > Process: > > The source file is different from when the module was built. Would you > like the debugger to use it anyway?" > > I'd like the solution to be rebuilt whenever I hit F5 and thought that > this was the default option, is it not? And if not, what do I need to > change so that it is? > > Thanks in advance, > > Andy > Hi Ken,
Thanks for the reply. I've just looked and that option is already selected, however, in the checkbox immediately above it (Only build startup project and dependencies on Run) this is checked - should it be? Cheers, Andy Show quoteHide quote "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:uvKxflUEGHA.984@tk2msftngp13.phx.gbl... > Hi, > > In the tools menu select options. Expand projects and solutions > and select build and run. In the on run when projects are out of date > change the value to always build. > > Ken > -------------------- > "Andrew Kidd" <andrew@nospam.com> wrote in message > news:%23YjrsZUEGHA.3068@TK2MSFTNGP10.phx.gbl... >> Is there any reason that VS 2005 only selects some project to rebuild >> when I hit the "run debugger" (F5)? >> >> We have a solution with 12 projects in it, and I'm debugging one of them >> right now. I change some code, hit F5 and get the following error >> message: >> >> "Source file: <mypath>\<myform>.vb >> Module: >> Process: >> >> The source file is different from when the module was built. Would you >> like the debugger to use it anyway?" >> >> I'd like the solution to be rebuilt whenever I hit F5 and thought that >> this was the default option, is it not? And if not, what do I need to >> change so that it is? >> >> Thanks in advance, >> >> Andy >> > > Hi,
I do not have that checked. Ken ---------------- Show quoteHide quote "Andrew Kidd" <andrew@nospam.com> wrote in message news:uY6GmEVEGHA.1424@TK2MSFTNGP12.phx.gbl... > Hi Ken, > > Thanks for the reply. > > I've just looked and that option is already selected, however, in the > checkbox immediately above it (Only build startup project and dependencies > on Run) this is checked - should it be? > > Cheers, > > Andy > > > "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message > news:uvKxflUEGHA.984@tk2msftngp13.phx.gbl... >> Hi, >> >> In the tools menu select options. Expand projects and solutions >> and select build and run. In the on run when projects are out of date >> change the value to always build. >> >> Ken >> -------------------- >> "Andrew Kidd" <andrew@nospam.com> wrote in message >> news:%23YjrsZUEGHA.3068@TK2MSFTNGP10.phx.gbl... >>> Is there any reason that VS 2005 only selects some project to rebuild >>> when I hit the "run debugger" (F5)? >>> >>> We have a solution with 12 projects in it, and I'm debugging one of them >>> right now. I change some code, hit F5 and get the following error >>> message: >>> >>> "Source file: <mypath>\<myform>.vb >>> Module: >>> Process: >>> >>> The source file is different from when the module was built. Would you >>> like the debugger to use it anyway?" >>> >>> I'd like the solution to be rebuilt whenever I hit F5 and thought that >>> this was the default option, is it not? And if not, what do I need to >>> change so that it is? >>> >>> Thanks in advance, >>> >>> Andy >>> >> >> > > Hi Ken,
That didn't fix the problem. Any other suggestions? Thanks in advance, Andy Show quoteHide quote "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:%23w$oN4eEGHA.1028@TK2MSFTNGP11.phx.gbl... > Hi, > > I do not have that checked. > > Ken > ---------------- > "Andrew Kidd" <andrew@nospam.com> wrote in message > news:uY6GmEVEGHA.1424@TK2MSFTNGP12.phx.gbl... >> Hi Ken, >> >> Thanks for the reply. >> >> I've just looked and that option is already selected, however, in the >> checkbox immediately above it (Only build startup project and >> dependencies on Run) this is checked - should it be? >> >> Cheers, >> >> Andy >> >> >> "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message >> news:uvKxflUEGHA.984@tk2msftngp13.phx.gbl... >>> Hi, >>> >>> In the tools menu select options. Expand projects and solutions >>> and select build and run. In the on run when projects are out of date >>> change the value to always build. >>> >>> Ken >>> -------------------- >>> "Andrew Kidd" <andrew@nospam.com> wrote in message >>> news:%23YjrsZUEGHA.3068@TK2MSFTNGP10.phx.gbl... >>>> Is there any reason that VS 2005 only selects some project to rebuild >>>> when I hit the "run debugger" (F5)? >>>> >>>> We have a solution with 12 projects in it, and I'm debugging one of >>>> them right now. I change some code, hit F5 and get the following error >>>> message: >>>> >>>> "Source file: <mypath>\<myform>.vb >>>> Module: >>>> Process: >>>> >>>> The source file is different from when the module was built. Would you >>>> like the debugger to use it anyway?" >>>> >>>> I'd like the solution to be rebuilt whenever I hit F5 and thought that >>>> this was the default option, is it not? And if not, what do I need to >>>> change so that it is? >>>> >>>> Thanks in advance, >>>> >>>> Andy >>>> >>> >>> >> >> > >
Debugging in VS2005 - why is some code shaded grey?
alter built-in ContextMenu Microsoft doesn't want you to use VB .Net Unmanaged C dll call SqlConnection component in VB.2005 For each ..... next Question Setup and Deployment and Microsoft Jet OLE DB Provider Address Matching System WIA.ImageFile to System.Drawing.Image Oggetto Application di excel in vb net 2003 |
|||||||||||||||||||||||