Browse Source

Prevent Arcade from replacing the project copyright by Microsoft's copyright

pull/798/head
Kévin Chalet 6 years ago
committed by GitHub
parent
commit
4e2cbfbe7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Directory.Build.props
  2. 10
      Directory.Build.targets

3
Directory.Build.props

@ -14,8 +14,9 @@
<PropertyGroup>
<Authors>Kévin Chalet</Authors>
<Company>$(Authors)</Company>
<Product>OpenIddict</Product>
<Copyright>© Kévin Chalet. All rights reserved.</Copyright>
<_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>

10
Directory.Build.targets

@ -2,4 +2,14 @@
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<!--
Note: Arcade automatically replaces copyrights defined in .props or .csproj files
by the default Microsoft copyright. To ensure this doesn't happen, the replaced
copyright is restored in this .targets file using the private variable set in .props.
-->
<PropertyGroup>
<Copyright>$(_ProjectCopyright)</Copyright>
</PropertyGroup>
</Project>

Loading…
Cancel
Save