Skip to content
Permalink
Browse files
Add call to NAnt on pre-build step to create the assembly info file.
  • Loading branch information
Jim Gomes committed May 30, 2012
1 parent 8befdb6 commit d8affea16b4a27ff8295a04760e2e848384a39a1
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
@@ -175,7 +175,8 @@ nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>
</PreBuildEvent>
<PreBuildEvent>cd $(ProjectDir)
nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/main/csharp/CommonAssemblyInfo.cs"
</PreBuildEvent>
</PropertyGroup>
</Project>
@@ -177,7 +177,8 @@ nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>
</PreBuildEvent>
<PreBuildEvent>cd $(ProjectDir)
nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/main/csharp/CommonAssemblyInfo.cs"
</PreBuildEvent>
</PropertyGroup>
</Project>
@@ -177,7 +177,8 @@ nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>
</PreBuildEvent>
<PreBuildEvent>cd $(ProjectDir)
nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/main/csharp/CommonAssemblyInfo.cs"
</PreBuildEvent>
</PropertyGroup>
</Project>
@@ -180,7 +180,10 @@ nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>if /i "$(download_skip)" equ "true" (
<PreBuildEvent>cd $(ProjectDir)
nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/test/csharp/CommonAssemblyInfo.cs"

if /i "$(download_skip)" equ "true" (
echo Skipping download...
goto :downloadskip
)
@@ -182,7 +182,10 @@ nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>if /i "$(download_skip)" equ "true" (
<PreBuildEvent>cd $(ProjectDir)
nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/test/csharp/CommonAssemblyInfo.cs"

if /i "$(download_skip)" equ "true" (
echo Skipping download...
goto :downloadskip
)
@@ -182,7 +182,10 @@ nant -nologo -q install-all -D:compile.skip=true

:installskip
</PostBuildEvent>
<PreBuildEvent>if /i "$(download_skip)" equ "true" (
<PreBuildEvent>cd $(ProjectDir)
nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/test/csharp/CommonAssemblyInfo.cs"

if /i "$(download_skip)" equ "true" (
echo Skipping download...
goto :downloadskip
)

0 comments on commit d8affea

Please sign in to comment.