提交 5868ddd2 编写于 作者: A Andy Gocke

Quick fix for signing failures

Reverts the change to use the PortableStrongNameProvider and
switches us back to using the COM-based signing provider.
上级 3ae30792
......@@ -284,12 +284,10 @@ public CompilationOptions CompilationOptions
internal StrongNameProvider GetStrongNameProvider(StrongNameFileSystem fileSystem)
{
bool fallback =
ParseOptionsCore.Features.ContainsKey("UseLegacyStrongNameProvider") ||
CompilationOptionsCore.CryptoKeyContainer != null;
return fallback ?
(StrongNameProvider)new DesktopStrongNameProvider(KeyFileSearchPaths, null, fileSystem) :
(StrongNameProvider)new PortableStrongNameProvider(KeyFileSearchPaths, fileSystem);
// https://github.com/dotnet/roslyn/issues/23521
// Disable the portable strong name provider until we can find and fix the
// root cause of the bug
return new DesktopStrongNameProvider(KeyFileSearchPaths, null, fileSystem);
}
internal CommandLineArguments()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册