Hi Nicholas,
The problem is that we are migrating from .NET 1.1 to .NET 2.0, and we
used NAnt to build our solutions, using <solutiontag like this,
<solution configuration="${project.config}" failonerror="true"
outputdir="${output.dir}">
<projects>
<include name="myproject.csproj" /
>
...........
but because of change in the project structure of VS .NET 2005, which
is MSBuild compliant, our previous build file fails to build.
After some diagnosis, we found that we need to invoke MSBuild using
<exectag like this
<exec program="MSBuild" commandline="myproject.vcproj /
property:Configuration=${project.config};OutputPat h=${path::get-full-
path(output.dir)}" verbose="false"/>
now the problem is ........
when I execute this script, it rebuilds it's dependent projects as
well, which I don't want to do!
I hope this explanation would be useful to you!
Thanks in advance!
Cheers,
Ram
On Dec 5, 9:32 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Instead of runningMSBUILDon the solution file, have you tried to run
it on just the project file?
Or, you can still run it on the solution file, and target just one
specific project in the solution using the /t switch.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
<ramshankarya...@gmail.comwrote in message
news:be**********************************@s8g2000p rg.googlegroups.com...
Hi,
I'm facing a problem while building a project throughMSBuild, this
project is a part of a solution which has several other projects on
which it depends, but I want to build this project without building
it's dependencies.
We can do this for a solution by unselecting projects through
Configuration Manager under solution properties, but how to achive
same for a project!- Hide quoted text -
- Show quoted text -