You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.3 KiB
68 lines
3.3 KiB
<Project>
|
|
|
|
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
|
|
|
<PropertyGroup>
|
|
<LangVersion>preview</LangVersion>
|
|
<NoWarn>$(NoWarn);CS1591;NU5128</NoWarn>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\eng\key.snk</AssemblyOriginatorKeyFile>
|
|
<SignAssembly>true</SignAssembly>
|
|
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Authors>Kévin Chalet</Authors>
|
|
<Company>$(Authors)</Company>
|
|
<Product>OpenIddict</Product>
|
|
<_ProjectCopyright>© Kévin Chalet. All rights reserved.</_ProjectCopyright>
|
|
<PackageIconUrl>https://avatars3.githubusercontent.com/u/13908567?s=64</PackageIconUrl>
|
|
<PackageProjectUrl>https://github.com/openiddict/openiddict-core</PackageProjectUrl>
|
|
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
|
<PackageTags>authentication;jwt;openidconnect;openiddict;security</PackageTags>
|
|
<RepositoryType>git</RepositoryType>
|
|
<RepositoryUrl>git://github.com/openiddict/openiddict-core</RepositoryUrl>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<RepoRelativeProjectDir>$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))</RepoRelativeProjectDir>
|
|
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" $(RepoRelativeProjectDir.Contains('src')) ">
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<IncludeSource>true</IncludeSource>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<IsPackable>true</IsPackable>
|
|
<IsShipping>true</IsShipping>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Arcade only allows the revision to contain up to two characters, and AppVeyor does not roll-over
|
|
build numbers every day like Azure DevOps does. To balance these two requirements, set the official
|
|
build ID to be the same format as the built-in default from Arcade, except with the revision number
|
|
being the number of the quarter hour of the current time of day (24 * 4 = 96, which is less than 100).
|
|
So a build between 00:00 and 00:14 would have a revision of 1, and a build between 23:45 and 23:59:59
|
|
would have a revision of 97.
|
|
-->
|
|
<PropertyGroup Condition=" '$(APPVEYOR)' == 'True' AND '$(APPVEYOR_PULL_REQUEST_NUMBER)' == '' ">
|
|
<_Hours>$([MSBuild]::Multiply($([System.DateTime]::Now.ToString(HH)), 4))</_Hours>
|
|
<_QuarterHours>$([MSBuild]::Divide($([System.DateTime]::Now.ToString(mm)), 15))</_QuarterHours>
|
|
<_QuarterHours>$([System.Math]::Floor($(_QuarterHours)))</_QuarterHours>
|
|
<_AppVeyorBuildRevision>$([MSBuild]::Add($(_Hours), $(_QuarterHours)))</_AppVeyorBuildRevision>
|
|
<_AppVeyorBuildRevision>$([MSBuild]::Add($(_AppVeyorBuildRevision), 1))</_AppVeyorBuildRevision>
|
|
<OfficialBuild>true</OfficialBuild>
|
|
<OfficialBuildId>$([System.DateTime]::Now.ToString(yyyyMMdd)).$(_AppVeyorBuildRevision)</OfficialBuildId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition=" '$(OS)' != 'Windows_NT' ">
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0-preview.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectCapability Include="DynamicDependentFile" />
|
|
<ProjectCapability Include="DynamicFileNesting" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|