Closed gyamada619 closed 6 years ago
I think this is due to the .NET version on your server, people report that installing 4.7.2 fixed their issues.
https://github.com/Microsoft/powerbi-powershell/issues/41 https://github.com/PowerShell/PowerShell/issues/4894 https://blogs.msdn.microsoft.com/dotnet/2017/09/28/net-framework-4-7-1-runtime-and-compiler-features/
@gyamada619 This should be fixed in d1fba821896d58a01656b01a5224e6be0171ea06. I've published v0.11.1
with this change along with removing a few other obsolete DLLs. See if that works.
@devblackops Thanks! It looks like the .NET version bump fixed our particular issue, but we'll go ahead and update to 0.11.1.
Expected Behavior
Plugin should run basic command, like xkcd command.
Current Behavior
XKCD, Giphy, and example plugin all return:
"Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\PoshBot\0.11.0\lib\windows\netstandard.dll' or one of its dependencies. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)"
Your Environment