ReflectionTypeLoadException when attempting to run C# Program
For the last few betas (5.22.08 & 5.22.09 for example), I've been getting an error when attempting to run a "C# Program" (works with "VB Program").
When selecting "C# Program" and running it, even if empty, I get "ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." on top of the statement window.
The loader exceptions provide the following detailed messages:
Could not load file or assembly 'System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'file:///C:\Users\**my user name here**\AppData\Local\Temp\LINQPad5\_sqqueioa\shadow_tvtvld\system.collections.immutable.dll' or one of its dependencies. The system cannot find the file specified.
When selecting "C# Program" and running it, even if empty, I get "ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." on top of the statement window.
The loader exceptions provide the following detailed messages:
Could not load file or assembly 'System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'file:///C:\Users\**my user name here**\AppData\Local\Temp\LINQPad5\_sqqueioa\shadow_tvtvld\system.collections.immutable.dll' or one of its dependencies. The system cannot find the file specified.
Comments
Also, go to Edit | Preferences | Folders and under 'Plugins and Extensions', take a look at what folder you have selected. Are there any DLLs in that folder?