Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (30 sloc) 1.51 KB
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<CommonRepoRoot>$(RepoRoot)..\Common\</CommonRepoRoot>
</PropertyGroup>
<PropertyGroup>
<LangVersion>Latest</LangVersion>
<CodeAnalysisRuleSet>$(RepoRoot)build\XSharp.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<PackageVersion>0.1.0</PackageVersion>
<PackageVersionSuffix Condition="'$(APPVEYOR)' == 'True'">-build$(APPVEYOR_BUILD_NUMBER)+$(APPVEYOR_REPO_COMMIT.Substring(0, 7))</PackageVersionSuffix>
<!--
If it's a design-time build, we can't use current time, because it can
cause an infinite restore loop, as the property is always changing.
This means that, for project references in VS (and other IDEs), the
resolved version will be the stable one, i.e. without the
-localbuildyyyyMMddhhmmss suffix.
-->
<PackageVersionSuffix Condition="'$(PackageVersionSuffix)' == '' AND '$(DesignTimeBuild)' != 'True'">-localbuild$([System.DateTime]::Now.ToString("yyyyMMddhhmmss"))</PackageVersionSuffix>
<PackageVersionSuffix Condition="'$(APPVEYOR_REPO_TAG)' == 'True'"></PackageVersionSuffix>
</PropertyGroup>
<PropertyGroup>
<CommonVersion>0.1.0-build8</CommonVersion>
</PropertyGroup>
<PropertyGroup>
<DeployExtension Condition="'$(CI)' == 'True'">False</DeployExtension>
</PropertyGroup>
<Import Project="build\Targets\Import.props" />
</Project>