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-27 16:05:08 +03:00
|
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
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
|
|
|
|
|
|
|
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
|
|
|
|
<IsUwpProject>$(MSBuildProjectName.Contains('Uwp'))</IsUwpProject>
|
|
|
|
<IsSampleProject>$(MSBuildProjectName.Contains('Sample'))</IsSampleProject>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(IsUwpProject)' == 'true'">
|
|
|
|
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
2017-08-27 06:34:55 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(SourceLinkEnabled)' != 'false'">
|
|
|
|
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.2.0" PrivateAssets="All" />
|
|
|
|
</ItemGroup>
|
2017-08-27 17:24:04 +03:00
|
|
|
<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(IsSampleProject)' != 'true'">
|
|
|
|
<!--<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 06:34:55 +03:00
|
|
|
</ItemGroup>
|
|
|
|
|
2017-08-27 17:24:04 +03:00
|
|
|
<ItemGroup Condition="'$(IsUwpProject)' == 'true'">
|
|
|
|
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.0.7" PrivateAssets="all" />
|
|
|
|
</ItemGroup>
|
2017-08-27 17:40:17 +03:00
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<EmbeddedResource Include="**\*.rd.xml" />
|
|
|
|
</ItemGroup>
|
2017-08-27 16:05:08 +03:00
|
|
|
|
2017-08-27 06:34:55 +03:00
|
|
|
<PropertyGroup>
|
|
|
|
<NerdbankGitVersioningVersion>2.0.37-beta</NerdbankGitVersioningVersion>
|
2017-08-27 06:24:03 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2017-08-27 06:34:55 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Nerdbank.GitVersioning" Version="2.0.37-beta" PrivateAssets="all" />
|
|
|
|
</ItemGroup>
|
2017-08-27 06:24:03 +03:00
|
|
|
|
2017-08-27 06:34:55 +03:00
|
|
|
<!-- https://github.com/NuGet/Home/issues/4337 -->
|
|
|
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' == 'true' ">
|
|
|
|
<Import Project="$(UserProfile)\.nuget\packages\nerdbank.gitversioning\$(NerdbankGitVersioningVersion)\buildCrossTargeting\Nerdbank.GitVersioning.targets"
|
|
|
|
Condition="Exists('$(UserProfile)\.nuget\packages\nerdbank.gitversioning\$(NerdbankGitVersioningVersion)\buildCrossTargeting\Nerdbank.GitVersioning.targets')" />
|
|
|
|
</ImportGroup>
|
|
|
|
<Target Name="FixUpVersion"
|
|
|
|
BeforeTargets="_GenerateRestoreProjectSpec"
|
|
|
|
DependsOnTargets="GetBuildVersion"
|
|
|
|
Condition=" '$(NerdbankGitVersioningTasksPath)' != '' " />
|
|
|
|
|
2017-08-27 06:24:03 +03:00
|
|
|
</Project>
|