-
Notifications
You must be signed in to change notification settings - Fork 408
/
Product.proj
21 lines (20 loc) · 1022 Bytes
/
Product.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project DefaultTargets="Build">
<PropertyGroup>
<PreviewVersionSuffix Condition="'$(PreviewVersionSuffix)' == ''">preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHHmmss"))</PreviewVersionSuffix>
</PropertyGroup>
<Target Name="Build">
<MSBuild Projects="Wilson.sln" Targets="Build" Properties="PreviewVersionSuffix=$(PreviewVersionSuffix)" />
</Target>
<Target Name="restore">
<MSBuild Projects="Wilson.sln" Targets="restore" Properties="PreviewVersionSuffix=$(PreviewVersionSuffix)" />
</Target>
<Target Name="clean">
<MSBuild Projects="Wilson.sln" Targets="clean" Properties="PreviewVersionSuffix=$(PreviewVersionSuffix)" />
</Target>
<Target Name="pack">
<MSBuild Projects="Wilson.sln" Targets="pack" Properties="PreviewVersionSuffix=$(PreviewVersionSuffix)" />
</Target>
<Target Name="VSTest">
<MSBuild Projects="Wilson.sln" Targets="VSTest" Properties="PreviewVersionSuffix=$(PreviewVersionSuffix)" />
</Target>
</Project>