Skip to content

Commit 85e5622

Browse files
committed
Update project meta data for nuget; strong signing and Source Link.
1 parent f382772 commit 85e5622

File tree

2 files changed

+33
-12
lines changed

2 files changed

+33
-12
lines changed

TouchPortalSDK/TouchPortalSDK.csproj

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,43 @@
22

33
<PropertyGroup>
44
<TargetFramework>net5.0</TargetFramework>
5-
<Version>1.44.1</Version>
6-
<Authors>Oddbjørn U. Bakke, Maxim Paperno</Authors>
7-
<PackageProjectUrl>https://github.com/mpaperno/TouchPortalSDK</PackageProjectUrl>
8-
<RepositoryUrl>https://github.com/mpaperno/TouchPortalSDK</RepositoryUrl>
5+
<Version>1.44.2</Version>
6+
<Authors>Maxim Paperno, Oddbjørn U. Bakke</Authors>
7+
<PackageProjectUrl>https://github.com/mpaperno/TouchPortal-CS-API</PackageProjectUrl>
8+
<RepositoryUrl>https://github.com/mpaperno/TouchPortal-CS-API.git</RepositoryUrl>
9+
<RepositoryType>git</RepositoryType>
910
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10-
<PackageIcon></PackageIcon>
11-
<Description>Touch Portal API for making plugins in .Net</Description>
11+
<PackageIcon>icon.png</PackageIcon>
12+
<Description>Touch Portal API for making plugins with .NET</Description>
1213
<ApplicationIcon />
1314
<OutputType>Library</OutputType>
1415
<StartupObject />
15-
<RepositoryType>git</RepositoryType>
1616
<Company />
1717
<AssemblyName>TouchPortalSDK</AssemblyName>
1818
<RootNamespace>TouchPortalSDK</RootNamespace>
1919
<PackageId>TouchPortal-CS-API</PackageId>
20+
<Title>Touch Portal API Client for .NET</Title>
2021
<Product>TouchPortal-CS-API</Product>
21-
<Copyright>Copyright Maxim Paperno; all rights reserved</Copyright>
22+
<Copyright>Copyright Maxim Paperno, Oddbjørn U. Bakke; all rights reserved</Copyright>
2223
<PackageReadmeFile>README.md</PackageReadmeFile>
23-
<PackageTags>touch-portal;touchportal;touch-portal-api</PackageTags>
24+
<PackageTags>touch-portal;touchportal;touch-portal-api;touch-portal-plugin;touch portal;touch portal api;touchportal</PackageTags>
25+
<PackageReleaseNotes>Please see the front-page README at repository.</PackageReleaseNotes>
26+
<SignAssembly>True</SignAssembly>
27+
<ErrorReport>none</ErrorReport>
28+
<AssemblyOriginatorKeyFile>signing_key.snk</AssemblyOriginatorKeyFile>
29+
<FileVersion>1.44.2.0</FileVersion>
30+
<NeutralLanguage>en</NeutralLanguage>
31+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
32+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
33+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
34+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
35+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
36+
<IncludeSymbols>true</IncludeSymbols>
37+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2438
</PropertyGroup>
2539

26-
<PropertyGroup Condition="'$(Configuration)'=='Release'">
27-
<DebugType>none</DebugType>
28-
<DebugSymbols>false</DebugSymbols>
40+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
41+
<DebugType>portable</DebugType>
2942
</PropertyGroup>
3043

3144
<ItemGroup>
@@ -36,9 +49,17 @@
3649
</Content>
3750
</ItemGroup>
3851

52+
<ItemGroup>
53+
<None Include="..\icon.png">
54+
<Pack>True</Pack>
55+
<PackagePath>\</PackagePath>
56+
</None>
57+
</ItemGroup>
58+
3959
<ItemGroup>
4060
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
4161
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
62+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
4263
<PackageReference Include="System.Text.Json" Version="6.0.2" />
4364
</ItemGroup>
4465
</Project>

TouchPortalSDK/signing_key.snk

596 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)