Skip to content
Permalink
Browse files
Set the current folder to the project folder prior to running NAnt.
  • Loading branch information
Jim Gomes committed Jul 10, 2012
1 parent 14ebf33 commit 6bd6c762b3aec89d9e702ecf67c4b3c94a015fb6
Showing 1 changed file with 12 additions and 0 deletions.
@@ -165,6 +165,7 @@
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<PropertyGroup>
<PostBuildEvent>if /i "$(build_extraplatforms)" equ "true" (
cd $(ProjectDir)
nant -nologo -q -D:build.framework.strings="netcf-2.0,netcf-3.5,mono-2.0"
)

@@ -177,6 +178,17 @@ echo Installing $(ConfigurationName) output files...
cd $(ProjectDir)
nant -nologo -q install-all -D:compile.skip=true

:installskip

if /i "$(install_skip)" equ "true" (
echo Skipping install...
goto :installskip
)

echo Installing $(ConfigurationName) output files...
cd $(ProjectDir)
nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>cd $(ProjectDir)

0 comments on commit 6bd6c76

Please sign in to comment.