-----Original Message-----
>>Jeeze, I didn't even see the solution task. That's going to make my life
>>a lot easier. :-P
-----Original Message-----
>>I quit using slingshot quite a while back when solution came to be. It
>>seems to have stopped working.
I too have stopped trying to make slingshot and the solution task work - resolving to
call
the Visual Studio IDE directly; or if I work on an open source project, I use the csc
task.
I think the solution task improved since I tried it last.
I also had more success building the csproj files rather than the sln files, because
then I
can select the build order more accurately - some of my developers tend to include
unnecessary
projects in their SLN files that can mess up a larger build's order, but by using the
csproj file,
I eventually had better control over what gets built and in what order.
<target name="compile" >
<property name="slnFile" value="${projName}.csproj" />
<echo message="Compiling: ${projName}" />
<exec program="C:\Program Files\Microsoft Visual Studio
.NET\Common7\IDE\devenv.com"
commandline=".\${projName}\${slnFile} /build release "
/>
</target>
<target name="BuildThemAll>
<!-- _______________ Project1 _____________________ -->
<property name="projName" value="Project1" />
<call target="compile" force="true"/>
<!-- _______________ Project2 _____________________ -->
<property name="projName" value="Project2" />
<call target="compile" force="true"/>
...
<!-- _______________ Projectn _____________________ -->
<property name="projName" value="Projectn" />
<call target="compile" force="true"/>
</target>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users