安装Nuget包错误“收集已修改;枚举可能不会执行“在TFS。 [英] Install Nuget Package Error "Collection was modified; enumeration may not execute" in TFS.

查看:89
本文介绍了安装Nuget包错误“收集已修改;枚举可能不会执行“在TFS。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

b


   我已将我的javascript代码包装在Nuget包中以便分发。其他团队成员可以通过安装我们创建的nuget包来使用此代码。它工作得很好但问题出现在TFS上。当有人在TFS项目上安装软件包时,
会抛出奇怪的错误"Collection Was Modified;枚举操作可能不会执行。因为这个错误,所以安装好的包裹很难。



这是拥抱,因为我们做了所有事情,但如果我们不能分发它,它最终会失败。或者我已经使用了批处理文件。
$


请看看这个,我希望在这里得到一些解决方案.......

 

Hi,

   I have wrapped up my javascript code in Nuget package for distribution.Other team members can use this code by installing the nuget package created by us. It works very well but the issue comes on TFS. When someone install the package on TFS project, it throws weird error "Collection Was Modified; Enumeration Operation May Not Execute." Al tough the package in installed with this error.

This is embracing  because we did everything but in the end it fails if we can not distribute that. Alternatively i have used batch file for that.

Please look into this, i hope will get some resolution here.......
 

推荐答案

我会再看看你的代码包。

I would take a second look at the code you have in the package.

我认为它与TFS或Nuget无关,至少根据你在bing上搜索完全相同的错误时得到的前5个结果。

I do not think it has to do with TFS or the Nuget, at least according to the top 5 results you get when you search for the exact same error on bing for example.

希望这会有所帮助,

Arie H。


这篇关于安装Nuget包错误“收集已修改;枚举可能不会执行“在TFS。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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