Skip to content

Commit

Permalink
Update project meta data for nuget; strong signing and Source Link.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaperno committed Jul 7, 2022
1 parent f382772 commit 85e5622
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions TouchPortalSDK/TouchPortalSDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,43 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Version>1.44.1</Version>
<Authors>Oddbjørn U. Bakke, Maxim Paperno</Authors>
<PackageProjectUrl>https://github.com/mpaperno/TouchPortalSDK</PackageProjectUrl>
<RepositoryUrl>https://github.com/mpaperno/TouchPortalSDK</RepositoryUrl>
<Version>1.44.2</Version>
<Authors>Maxim Paperno, Oddbjørn U. Bakke</Authors>
<PackageProjectUrl>https://github.com/mpaperno/TouchPortal-CS-API</PackageProjectUrl>
<RepositoryUrl>https://github.com/mpaperno/TouchPortal-CS-API.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon></PackageIcon>
<Description>Touch Portal API for making plugins in .Net</Description>
<PackageIcon>icon.png</PackageIcon>
<Description>Touch Portal API for making plugins with .NET</Description>
<ApplicationIcon />
<OutputType>Library</OutputType>
<StartupObject />
<RepositoryType>git</RepositoryType>
<Company />
<AssemblyName>TouchPortalSDK</AssemblyName>
<RootNamespace>TouchPortalSDK</RootNamespace>
<PackageId>TouchPortal-CS-API</PackageId>
<Title>Touch Portal API Client for .NET</Title>
<Product>TouchPortal-CS-API</Product>
<Copyright>Copyright Maxim Paperno; all rights reserved</Copyright>
<Copyright>Copyright Maxim Paperno, Oddbjørn U. Bakke; all rights reserved</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>touch-portal;touchportal;touch-portal-api</PackageTags>
<PackageTags>touch-portal;touchportal;touch-portal-api;touch-portal-plugin;touch portal;touch portal api;touchportal</PackageTags>
<PackageReleaseNotes>Please see the front-page README at repository.</PackageReleaseNotes>
<SignAssembly>True</SignAssembly>
<ErrorReport>none</ErrorReport>
<AssemblyOriginatorKeyFile>signing_key.snk</AssemblyOriginatorKeyFile>
<FileVersion>1.44.2.0</FileVersion>
<NeutralLanguage>en</NeutralLanguage>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>portable</DebugType>
</PropertyGroup>

<ItemGroup>
Expand All @@ -36,9 +49,17 @@
</Content>
</ItemGroup>

<ItemGroup>
<None Include="..\icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="System.Text.Json" Version="6.0.2" />
</ItemGroup>
</Project>
Binary file added TouchPortalSDK/signing_key.snk
Binary file not shown.

0 comments on commit 85e5622

Please sign in to comment.