dotnet add package CreateSnkFile --version 1.1.2
NuGet\Install-Package CreateSnkFile -Version 1.1.2
<PackageReference Include="CreateSnkFile" Version="1.1.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add CreateSnkFile --version 1.1.2
#r "nuget: CreateSnkFile, 1.1.2"
// Install CreateSnkFile as a Cake Addin #addin nuget:?package=CreateSnkFile&version=1.1.2 // Install CreateSnkFile as a Cake Tool #tool nuget:?package=CreateSnkFile&version=1.1.2
This is an msbuild target that will try to create the key file that is used by the project it is installed to when it doesn't exist already.
Which is a well known problem for open source projects:
You do want to sign your assemblies, but you don't want to give away the key file.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
- moved to the new way to auto-install .targets files
- changed how Microsoft.Build.Tasks.v*.dll is resolved, should be much more "future roof" (if there's such a thing in .Net development)