forked from NuGet/NuGet.Build.Packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.props
24 lines (19 loc) · 1.38 KB
/
build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(IsCIBuild)' == '' ">
<!-- If build script did not receive IsCIBuild value, try to guess it from Wrench/TeamCity/AppVeyor/MyGet/Jenkins envvars. -->
<IsTeamCityBuild Condition=" '$(IsTeamCityBuild)' == '' And '$(TEAMCITY_VERSION)' != '' ">true</IsTeamCityBuild>
<IsWrenchBuild Condition=" '$(IsWrenchBuild)' == '' And '$(BUILD_COMMAND)' != '' ">true</IsWrenchBuild>
<IsAppVeyorBuild Condition=" '$(IsAppVeyorBuild)' == '' And '$(APPVEYOR)' != '' ">true</IsAppVeyorBuild>
<IsMyGetBuild Condition=" '$(IsMyGetBuild)' == '' And '$(BuildRunner)' == 'MyGet' ">true</IsMyGetBuild>
<IsJenkinsBuild Condition=" '$(IsJenkinsBuild)' == '' And '$(JENKINS_URL)' != '' ">true</IsJenkinsBuild>
<IsCIBuild Condition=" '$(IsTeamCityBuild)' == 'true' Or '$(IsWrenchBuild)' == 'true' Or '$(IsAppVeyorBuild)' == 'true' Or '$(IsMyGetBuild)' == 'true' Or '$(IsJenkinsBuild)' == 'true' ">true</IsCIBuild>
</PropertyGroup>
<Target Name="GetVsInstallRoot" Returns="$(VsInstallRoot)">
<Message Importance="high" Text="$(VsInstallRoot)" />
</Target>
<PropertyGroup>
<!-- Keep this property here, since this .props file is also imported from the Shared.props file -->
<Out Condition=" '$(Out)' == '' ">$(MSBuildThisFileDirectory)out</Out>
</PropertyGroup>
</Project>