ASPRUNTIME:线程正在其中运行的应用程序域已被卸载. [英] ASPRUNTIME: The application domain in which the thread was running has been unloaded.

查看:258
本文介绍了ASPRUNTIME:线程正在其中运行的应用程序域已被卸载.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在运行Jekins,它开始了大吃一惊的构建过程.作为gulp构建过程的一部分,我们触发 msbuild任务.

We're running Jekins which kicks off a gulp build process. As part of the gulp build process we trigger an msbuild task.

第二次构建均失败,并显示以下消息:

Every second build fails with the message:

ASPNETCOMPILER:错误ASPRUNTIME:线程正在其中运行的应用程序域已被卸载.

ASPNETCOMPILER : error ASPRUNTIME: The application domain in which the thread was running has been unloaded.

无论构建之间的时间跨度如何,这都会在其他所有构建中发生. (即Build,Fails,Builds,Fails).

This happens exactly every other build no matter the time span between builds. (i.e. Builds, Fails, Builds, Fails).

关于什么可能导致这种情况以及为什么仅在其他所有版本中发生这种情况的任何想法?

Any ideas on what might be causing this and why it happens only every other build?

推荐答案

我们通过为构建计算机分配更多的内存来解决此问题.

We solved this problem by allocating more memory to the build machine.

这篇关于ASPRUNTIME:线程正在其中运行的应用程序域已被卸载.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆