From dcb49fd39b22c4bb5b78efa52aea13bba0116ad8 Mon Sep 17 00:00:00 2001 From: Martin Regen Date: Sat, 21 Jan 2017 18:44:19 +0100 Subject: [PATCH] helper launchSettings.json for .NetCore.App platform 1.1 issue. Workaround for Exception SystemExecutionEngine in various certificate functions: Workaround: set environment variable: set COMPlus_ReadyToRunExcludeList=System.Security.Cryptography.X509Certificates (see https://github.com/dotnet/corefx/issues/12412) --- .../Properties/launchSettings.json | 10 ++++++++++ .../Properties/launchSettings.json | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100644 SampleApplications/Samples/NetCoreConsoleClient/Properties/launchSettings.json create mode 100644 SampleApplications/Samples/NetCoreConsoleServer/Properties/launchSettings.json diff --git a/SampleApplications/Samples/NetCoreConsoleClient/Properties/launchSettings.json b/SampleApplications/Samples/NetCoreConsoleClient/Properties/launchSettings.json new file mode 100644 index 0000000000..ce4cc11e04 --- /dev/null +++ b/SampleApplications/Samples/NetCoreConsoleClient/Properties/launchSettings.json @@ -0,0 +1,10 @@ +{ + "profiles": { + "NetCoreConsoleClient": { + "commandName": "Project", + "environmentVariables": { + "COMPlus_ReadyToRunExcludeList": "System.Security.Cryptography.X509Certificates" + } + } + } +} \ No newline at end of file diff --git a/SampleApplications/Samples/NetCoreConsoleServer/Properties/launchSettings.json b/SampleApplications/Samples/NetCoreConsoleServer/Properties/launchSettings.json new file mode 100644 index 0000000000..a8c0c769e5 --- /dev/null +++ b/SampleApplications/Samples/NetCoreConsoleServer/Properties/launchSettings.json @@ -0,0 +1,11 @@ +{ + "profiles": { + "NetCoreConsoleServer": { + "commandName": "Project", + "environmentVariables": { + "Key": "Value", + "COMPlus_ReadyToRunExcludeList": "System.Security.Cryptography.X509Certificates" + } + } + } +} \ No newline at end of file