Could not load type 'System.Runtime.Remoting.Messaging.CallContext' (LINQPad 6 only!)

Options

Hi,

I tried to run the same code on both LinqPad5 and LinqPad6 Beta, but despite the fact that additional references and namespace imports are exactly the same, I am getting the following error on LinqPad6:

Everything works exactly as expected on LinqPad5, but on LinqPad6 there's an exception:

Could not load type 'System.Runtime.Remoting.Messaging.CallContext' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Namespace imports:
HtmlAgilityPack
Newtonsoft.Json
RestSharp
RestSharp.Serialization.Json
System
System.Collections
System.Collections.Generic
System.Data
System.Diagnostics
System.Dynamic
System.Globalization
System.IO
System.Linq
System.Linq.Expressions
System.Net
System.Net.Http
System.Reflection
System.Runtime.Remoting
System.Security.Cryptography
System.Text
System.Text.RegularExpressions
System.Threading
System.Threading.Tasks
System.Transactions
System.Web
System.Xml
System.Xml.Linq
System.Xml.XPath

Comments