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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
12 additions and
1 deletions
-
Directory.Build.props
-
Directory.Build.targets
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|