Hi Stephen,
Remove all the dependecies from the project you are working(let say A) than
add(in / Bin directory) dll of all the projects on which A is
dependent;simply copying dll from other project to A.Doing so your project
will get necessary references of the dependent project.Now compile the
project only A will be complied.
I know that this is not an ideal solution so please add the dependancies
when you realese the solution.
Thanks,
Bhavesh Patel
"Stephen Ritchie" wrote:
> Hi Bhavesh
>
> The problem is that in some way everything is dependant from the startup
> project onwards, so it still rebuilds all 12 projects.
>
> I want it to only build the project I have just changed, or disable the
> build on F5 and manually select "Build Project" as I change things.
>
>
> "Bhavesh Patel" wrote:
>
> > Hi Stephen
> >
> > You have to take following steps to solve the problem.
> >
> > On the Tools menu of VS.Net, choose Options.
> >
> > In the Options dialog box, expand the Environment folder, and choose
> > Projects and Solutions.
> >
> > Under Build and Run Options, select the option to Only build startup
> > projects and dependencies on Run.
> >
> > When this option is selected, only the current startup project and its
> > dependencies are built when you choose one of the following commands:
> >
> > choose Start (F5) from the Debug menu --OR-- choose Build Solution
> > (CTRL+SHIFT+b) from the Run menu.
> >
> > Hope this will work for you.
> >
> > Thanks,
> > Bhavesh Patel
> >
> > "Stephen Ritchie" wrote:
> >
> > > At the moment we have in Solution Explorer 12 projects and using the
> > > configuration manager we ahve all dependancies and build order set correctly.
> > >
> > > The problem is that when we do >Debug>Start (F5) then all projects are again
> > > built even though no change has occurred in most of them since the last build.
> > >
> > > Is there a way so that only changed projects are built, rather than
> > > everything always getting built ?
> > >
> > > Thank you in advance.
|