Skip to content

sn.exe not available on unix #7183

Description

@Mizux

Binary sn.exe is not provided by .Net Core SDK 2.1.302 on unix (but it is by mono...)
IMHO dotnet/cli should be a standalone replacement for mono (when migrating to netstandard2.0/netcoreapp2.1) so needing mono to get the sn.exe binary to be able to sign seems odd to me...

My current workaround is to create a CreateSigningKey.csproj project targeting netcoreapp2.1 (since there are issue on unix with relative path Directory.GetCurrentDirectory() in netcoreapp2.0 dotnet/cli#9319 -_-) to generate the key without depending on mono (or Visual Studio)
cf: https://github.com/google/or-tools/tree/v6.8/tools/dotnet/CreateSigningKey
usage: dotnet run --project CreateSigningKey/CreateSigningKey.csproj foo.snk


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 558442

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-framework/svcin-prThis issue will be closed (fixed) by an active pull request.

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions