generated from JustArchiNET/ASF-PluginTemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
43 lines (38 loc) · 1.73 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
<Project>
<Import Project="ArchiSteamFarm/Directory.Build.props" />
<PropertyGroup>
<PluginName>ASFStickerClaimPlugin</PluginName>
<Version>1.0.0.1</Version>
</PropertyGroup>
<PropertyGroup>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<ApplicationIcon />
<Authors>YourName</Authors>
<Company>$(Authors)</Company>
<Copyright>Copyright © 2022-$([System.DateTime]::UtcNow.Year) $(Company)</Copyright>
<Description>$(PluginName) description.</Description>
<PackageIcon />
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/$(Company)/$(PluginName)</PackageProjectUrl>
<PackageReleaseNotes>$(PackageProjectUrl)/releases</PackageReleaseNotes>
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
</PropertyGroup>
<!-- Reset ASF signing settings, as we'll use our own logic -->
<PropertyGroup>
<AssemblyOriginatorKeyFile />
<PublicSign>false</PublicSign>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<!-- Enable public signing if not part of Visual Studio, which is too stupid to understand what public signing is -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND '$(BuildingInsideVisualStudio)' != 'true' AND EXISTS('resources/$(PluginName).snk.pub')">
<AssemblyOriginatorKeyFile>../resources/$(PluginName).snk.pub</AssemblyOriginatorKeyFile>
<PublicSign>true</PublicSign>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<!-- Private SNK signing -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND EXISTS('resources/$(PluginName).snk')">
<AssemblyOriginatorKeyFile>../resources/$(PluginName).snk</AssemblyOriginatorKeyFile>
<PublicSign>false</PublicSign>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
</Project>