-
Notifications
You must be signed in to change notification settings - Fork 31
/
default.proj
25 lines (22 loc) · 1.24 KB
/
default.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" $(Configuration) == '' ">Release</Configuration>
<SourceDirectory>$(MSBuildProjectDirectory)</SourceDirectory>
<BuildDirectory>$(SourceDirectory)\build</BuildDirectory>
<ReleaseDirectory>$(SourceDirectory)\release</ReleaseDirectory>
<NuGetDirectory>$(SourceDirectory)\.nuget</NuGetDirectory>
</PropertyGroup>
<Target Name="_BuildProjects">
<MSBuild Projects="compile.proj" Targets="All" Properties="Configuration=$(Configuration);SignAssembly=false;SourceNuSpecFile=$(SourceDirectory)\Package.nuspec" />
<MSBuild Projects="compile.proj" Targets="All" Properties="Configuration=$(Configuration);SignAssembly=true;SourceNuSpecFile=$(SourceDirectory)\Package-signed.nuspec" />
</Target>
<Target Name="_Initialize">
<RemoveDir Condition=" Exists('$(ReleaseDirectory)') " Directories="$(ReleaseDirectory)" />
<MakeDir Directories="$(ReleaseDirectory)" Condition=" !Exists('$(ReleaseDirectory)') " />
</Target>
<Target Name="All">
<CallTarget Targets="_Initialize" />
<CallTarget Targets="_BuildProjects" />
</Target>
</Project>