Description
When using MedallionShell together with .NET Framework 4.7.2, it is sporadically generating file not found errors for:
Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
With this call stack:
System.IO.FileNotFoundException:
at Medallion.Shell.PlatformCompatibilityHelper.get_IsWindows (MedallionShell, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null)
at Medallion.Shell.PlatformCompatibilityHelper.WrapStandardInputStreamIfNeeded (MedallionShell, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null)
at Medallion.Shell.ProcessCommand..ctor (MedallionShell, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null)
at Medallion.Shell.Shell.Run (MedallionShell, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null)
The cause appears to be that a reference to the System.Runtime.InteropServices.RuntimeInformation assembly conflicts with the version of System.Runtime.InteropServices.RuntimeInformation included in .NET Framework 4.7.2 and later