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 : error ASPRUNTIME: The application domain in which the thread was running has been unloaded.
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?