forked from microsoft/Vipr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.proj
35 lines (29 loc) · 1.2 KB
/
build.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
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0"
DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<NugetDir Condition=" '$(NugetDir)'=='' ">$(MSBuildThisFileDirectory).nuget\</NugetDir>
<NuGetPath Condition=" '$(NuGetPath)'=='' ">$(NugetDir)Nuget.exe</NuGetPath>
<NuGetConfigFile Condition=" '$(NuGetConfigFile)'=='' ">$(NugetDir)nuget.config</NuGetConfigFile>
</PropertyGroup>
<ItemGroup>
<Solution Include="$(MSBuildThisFileDirectory)Vipr.sln"/>
</ItemGroup>
<Target Name="RestorePackages">
<Message Importance="High" Text="Restoring nuget packages..." />
<Exec Command=""$(NuGetPath)" restore "%(Solution.Identity)" -ConfigFile "$(NuGetConfigFile)"" />
</Target>
<Target Name="Clean">
<MSBuild Targets="Clean"
Projects="@(Solution)" />
</Target>
<Target Name="Build" DependsOnTargets="RestorePackages">
<MSBuild Targets="Build"
Projects="@(Solution)" />
</Target>
<Target Name="Rebuild" DependsOnTargets="RestorePackages">
<MSBuild Targets="Rebuild"
Projects="@(Solution)" />
</Target>
</Project>