我在OSX上和System.Security有个问题。我正在使用,并且我已经使用了一个不受控制的dll来开发一个应用程序,以便与某个API对话。我犯了一个奇怪的错误,我不知道该怎么纠正。
Could not load type 'System.Security.Cryptography.Pkcs.SignedCms' from assembly 'System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.错误来自DLL内部。我使用的是DotNetCore2.0。我尝试过从System.Security.Cryptography.Pkcs中安装nuGet,但仍然什么也没有。有什么我能做的吗?
发布于 2017-10-07 21:52:56
.Net Core在.Net Core2.0:https://github.com/dotnet/corefx/issues/14197中不支持SignedCms
目前,它将用于.Net Core2.1版本,但这可能会改变。
https://stackoverflow.com/questions/46625338
复制相似问题