Solution rebuilding issues VS2005

A

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
 
K

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
 
A

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
 
A

Andrew Kidd

Hi Ken,

That didn't fix the problem. Any other suggestions?

Thanks in advance,

Andy
 

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