简体   繁体   中英

Util.CreateAppDomain fails in LINQPad

I have the following code in LINQPad:

void Main()
{
    var d = Util.CreateAppDomain("mig", null, new AppDomainSetup
    {
    });
}

It fails with:

FileNotFoundException: Could not load file or assembly 'LINQPad, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21353812cd2a2db5' or one of its dependencies. The system cannot find the file specified.

Any workarounds for that?

(Notes: I am running currently the latest release version 4.55.03 AnyCPU Premium.)

我认为这是一个版本问题,我刚刚打开LINQPad并运行了该命令,它开始工作,然后下载4.55.03,它给了我与您看到的相同的错误

Thanks for reporting - this is now fixed in a new beta now available for download (v4.56.3)

The workaround, in the current release version, is to disable process isolation in Edit | Preferences | Advanced.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM