Gemma Cameron wrote:
> Has anyone got any idea why a solution will build in devstudio but
> fail when built by a nant script using msbuild? Has there been an
> msbuild update with sp3? Am using visual studio 2005.
>
> All help would be most appreciated.
>
>
One reason I know of is when you mix C++ projects with other projects in
your solution. C++ projects still use a custom (non-msbuild) file format
and are compiled using vcbuild.exe.
My old workaround was to invoke Visual Studio from NAnt to compile the
solution:
<exec
program="${environment::get-variable('VS80COMNTOOLS')}..\IDE\devenv.com"
commandline="MySolution.sln /rebuild ${build.configuration}"
/>
I ultimately gave up trying to compile entire solutions with msbuild and
resorted to compiling the individual projects in the solution with
msbuild or vcbuild, decided by their extension (.csproj/.vbproj/.build
or .vcproj)
> Gem
>
>
-Markus-
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users