突然,当基于git团队项目在TFS中排队构建时,我获得了以下堆栈跟踪。
异常消息:尝试访问已卸载的AppDomain。 (类型 AppDomainUnloadedException)异常堆栈跟踪:服务器堆栈 追踪:at LibGit2Sharp.Core.NativeMethods.git_clone(RepositorySafeHandle& repo, String origin_url,FilePath workdir_path,GitCloneOptions&选择) LibGit2Sharp.Core.Proxy.git_clone(String url,String workdir, GitCloneOptions&安培; opts)at LibGit2Sharp.Repository.Clone(String sourceUrl,String workdirPath,CloneOptions options)at Microsoft.TeamFoundation.Build.Activities.Git.GitPull.GitClone.GetRepository(字符串 repositoryUrl,String workingFolder,Boolean checkoutSubmodules)at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr的 md,Object [] args,Object server,Object []& outArgs)at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(即时聊天 msg,IMessageSink replySink)
在[0]处重新抛出异常:at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(消息 System.Func
4.EndInvoke(IAsyncResult result) at Microsoft.TeamFoundation.Build.Activities.Git.GitPull.GitRepositoryBase.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity
中的reqMsg,Boolean bProxyCase)1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext) context,IAsyncResult result)at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor 执行者,BookmarkManager bookmarkManager)
我没有改变任何事情发生这种情况,谷歌搜索到目前为止我发现它可能是macafee的信息,但我们不在我们的构建代理上使用它。
答案 0 :(得分:0)
通过重新启动服务器解决 - 不确定我是怎么想的。