WindowsCommunityToolkit/Directory.Build.props

80 строки
3.5 KiB
Plaintext
Исходник Обычный вид История

2017-08-27 06:24:03 +03:00
<Project>
<PropertyGroup>
<Authors>Microsoft</Authors>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<NoPackageAnalysis>true</NoPackageAnalysis>
<PackageIconUrl>https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/build/nuget.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/Microsoft/UWPCommunityToolkit</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/Microsoft/UWPCommunityToolkit/blob/master/license.md</PackageLicenseUrl>
<PackageReleaseNotes>v2.0: https://github.com/Microsoft/UWPCommunityToolkit/releases/tag/v2.0.0 </PackageReleaseNotes>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
2017-08-27 06:34:55 +03:00
2017-08-27 17:24:04 +03:00
2017-08-30 05:06:12 +03:00
2017-08-27 06:34:55 +03:00
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)Toolkit.ruleset</CodeAnalysisRuleSet>
2017-08-27 16:05:08 +03:00
<DefaultLanguage>en-US</DefaultLanguage>
2017-08-27 17:24:04 +03:00
<IsDesignProject>$(MSBuildProjectName.Contains('.Design'))</IsDesignProject>
2017-08-27 17:24:04 +03:00
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
2017-09-02 03:02:55 +03:00
<IsUwpProject Condition="'$(IsDesignProject)' != 'true'">$(MSBuildProjectName.Contains('Uwp'))</IsUwpProject>
<IsWin32Project Condition="'$(IsDesignProject)' != 'true'">$(MSBuildProjectName.Contains('Win32'))</IsWin32Project>
2017-08-27 17:24:04 +03:00
<IsSampleProject>$(MSBuildProjectName.Contains('Sample'))</IsSampleProject>
2018-04-26 23:15:05 +03:00
<DefaultTargetPlatformVersion>17134</DefaultTargetPlatformVersion>
2018-04-14 02:52:50 +03:00
<DefaultTargetPlatformMinVersion>15063</DefaultTargetPlatformMinVersion>
<PackageOutputPath>$(MSBuildThisFileDirectory)bin\nupkg</PackageOutputPath>
2017-08-27 17:24:04 +03:00
</PropertyGroup>
<Choose>
<When Condition="'$(IsTestProject)' != 'true' and '$(IsSampleProject)' != 'true' and '$(IsDesignProject)' != 'true'">
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
</When>
</Choose>
2017-08-27 06:34:55 +03:00
<Choose>
<When Condition="('$(IsUwpProject)' == 'true' or '$(IsWin32Project)' == 'true') and '$(IsSampleProject)' != 'true' and '$(IsDesignProject)' != 'true'">
<PropertyGroup>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
</PropertyGroup>
</When>
</Choose>
<Choose>
<When Condition="'$(IsTestProject)' != 'true' and '$(SourceLinkEnabled)' != 'false' and '$(IsSampleProject)' != 'true' and '$(IsDesignProject)' != 'true'">
<ItemGroup>
2018-04-07 16:40:41 +03:00
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.0" PrivateAssets="All" />
</ItemGroup>
</When>
</Choose>
2017-08-27 06:34:55 +03:00
<Choose>
<When Condition="'$(IsTestProject)' != 'true' and '$(IsSampleProject)' != 'true' and '$(IsDesignProject)' != 'true'">
<ItemGroup>
<!--<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="15.3.83" PrivateAssets="all" />-->
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2" PrivateAssets="all" />
2017-08-27 17:40:17 +03:00
<EmbeddedResource Include="**\*.rd.xml" />
<Page Include="**\*.xaml" Exclude="**\bin\**\*.xaml;**\obj\**\*.xaml" SubType="Designer" Generator="MSBuild:Compile" />
<Compile Update="**\*.xaml.cs" DependentUpon="%(Filename)" />
</ItemGroup>
</When>
</Choose>
2017-08-27 16:05:08 +03:00
2017-08-27 06:34:55 +03:00
<PropertyGroup>
2018-03-26 00:09:16 +03:00
<NerdbankGitVersioningVersion>2.1.23</NerdbankGitVersioningVersion>
2017-08-27 06:24:03 +03:00
</PropertyGroup>
2017-08-27 06:34:55 +03:00
<ItemGroup>
2018-03-26 00:09:16 +03:00
<PackageReference Include="Nerdbank.GitVersioning" Version=" 2.1.23" PrivateAssets="all" />
2017-08-27 06:34:55 +03:00
</ItemGroup>
2017-08-27 06:24:03 +03:00
<ItemGroup>
<AdditionalFiles Include="..\stylecop.json">
<Link>stylecop.json</Link>
</AdditionalFiles>
</ItemGroup>
2017-08-27 06:24:03 +03:00
</Project>