-
Notifications
You must be signed in to change notification settings - Fork 542
/
Directory.Build.props
108 lines (92 loc) · 5.5 KB
/
Directory.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<DefaultNetCoreTargetFramework>net9.0</DefaultNetCoreTargetFramework>
<LangVersion>latest</LangVersion>
<NoWarn>$(NoWarn);CA1515;CS1591</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<SuppressSymbolPackageFormatValidation>true</SuppressSymbolPackageFormatValidation>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DefineConstants Condition=" '$(Configuration)' == 'Debug' ">$(DefineConstants);JETBRAINS_ANNOTATIONS</DefineConstants>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<PropertyGroup>
<StrongNameKeyId>aspnet-contrib</StrongNameKeyId>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\eng\key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<PublicSign>false</PublicSign>
<PublicKey>00240000048000001402000006020000002400005253413100100000010001003509225ad4352617a51a898866d28f3164f3a89953b492dd8b582c76a6fa8679429392db97c54d73cd0a1ddff3f5d91aeb2e861405060d2ac56240cbac91bbe3dfe529db7f32c2c4526b70339f842802fd454d99e1197e201be8c1cda0e2d94359d2a08fed162330f13ef437f0f73a4c5109bfff23db52a936fbdb1b680de3ff6a20d75bd40f326afd7c2b2f20400063b58ed59cf6f105397ee6889fd87bdf33519c30407cd5ee79bdfb93573941e165205282e2c65cae25e564fd431c872f470a24049be5ea617912d7c0b3a2296479d57976e8cc45516009218b183c48f66912fd682d7160f5c2a3a867259243fc2d42a63607ecabcc05a5239851090cee5f8b213da8a3c02ad87f4ceffe2d0793df8420492c7d6919eb2c7fc1657dc966d474d0423cc4b78707832e5c8957bdcb5a0350b10be17f15e95e58b66694c18c5b7a18e7728ed5d27c6993490f280bbbf5e6a93da32ad93fc5bffdadb19a10ac2fe8a41034ff26d2302d9df2b2785907bb65cc86fb0d52ec9876ca0101d15be19937ef7ecf8b5c68d9f0ebafb865effefc3029d89bc5205f537051615e3a0a26ac103c383429c8a718486c82b907b72430ee96b55a6d9dcbb293a65db643a441513d95f6382439a2aedbe86285398e47f83271b93b9bfc00c8ed5be88a710ccd078ea53ca917d96f859ef8e4792e8b6cf0c45db27520fbb5a3cfa4c621e4f983da</PublicKey>
<PublicKeyToken>fa9e7b608b196fab</PublicKeyToken>
</PropertyGroup>
<!--
These are set per-project so versioning is applied correctly, but are not set globally otherwise
the Arcade SDK will attempt to publish artifacts such as symbols to Microsoft's servers.
-->
<PropertyGroup Condition=" '$(GITHUB_ACTIONS)' == 'true' AND '$(GITHUB_REF.StartsWith(`refs/pull/`))' == 'false' ">
<OfficialBuild>true</OfficialBuild>
<OfficialBuildId>$(_AspNetContribBuildNumber)</OfficialBuildId>
</PropertyGroup>
<PropertyGroup>
<Product>aspnet-contrib</Product>
<Company>$(Authors)</Company>
<_ProjectCopyright>© AspNet.Security.OAuth.Providers contributors. All rights reserved.</_ProjectCopyright>
<PackageIconFullPath>$(MSBuildThisFileDirectory)package-icon.png</PackageIconFullPath>
<PackageProjectUrl>https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers</RepositoryUrl>
</PropertyGroup>
<PropertyGroup>
<RepoRelativeProjectDir>$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))</RepoRelativeProjectDir>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
</PropertyGroup>
<PropertyGroup Condition=" $(RepoRelativeProjectDir.Contains('src')) ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSymbols>true</IncludeSymbols>
<IsPackable>true</IsPackable>
<IsShipping>true</IsShipping>
<Serviceable>false</Serviceable>
</PropertyGroup>
<PropertyGroup>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)AspNet.Security.OAuth.Providers.ruleset</CodeAnalysisRuleSet>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsPackable)' == 'true' ">
<EnableAotAnalyzer>true</EnableAotAnalyzer>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsAotCompatible>true</IsAotCompatible>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<PropertyGroup>
<EnablePackageValidation>$(IsPackable)</EnablePackageValidation>
<!-- TODO Re-enable when the 9.0.0 packages are published to NuGet.org -->
<EnablePackageValidation>false</EnablePackageValidation>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" Visible="false" />
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectCapability Include="DynamicDependentFile" />
<ProjectCapability Include="DynamicFileNesting" />
</ItemGroup>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Using Include="JetBrains.Annotations" />
<Using Include="Microsoft.AspNetCore.Authentication" />
<Using Include="Microsoft.AspNetCore.Authentication.OAuth" />
</ItemGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)$(PackageReadmeFile)" Pack="True" PackagePath="" Visible="false" />
</ItemGroup>
</Project>