Home All Groups Group Topic Archive Search About

Solution rebuilding issues VS2005

Author
4 Jan 2006 3:49 PM
Andrew Kidd
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

Author
4 Jan 2006 4:10 PM
Ken Tucker [MVP]
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
>
Author
4 Jan 2006 5:06 PM
Andrew Kidd
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
>>
>
>
Author
5 Jan 2006 11:49 AM
Ken Tucker [MVP]
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
>>>
>>
>>
>
>
Author
11 Jan 2006 4:40 PM
Andrew Kidd
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
>>>>
>>>
>>>
>>
>>
>
>