Open Mizux opened 6 years ago
A virtual machine (VM) is an embedded computer used to separate runtimes or run different operating systems.
@Backup-eric645 needing a docker with mono installed just to run the sn.exe to be able to sign a simple project under a unix machine is not an option IMHO.
This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs
team for visibility.
@dotnet/docs friendly ping.
ps: note tested the .Net5 SDK but I think this issue is still open...
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 thesn.exe
binary to be able to sign seems odd to me...My current workaround is to create a
CreateSigningKey.csproj
project targetingnetcoreapp2.1
(since there are issue on unix with relative pathDirectory.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.