0

我尝试在 MS Build Server(MS Visual Studio 2010 版本 10.0.30319.1)中构建关于 ServerTasks -> Builds -> Server Task Builder -> Queue new Built 的解决方案并运行,47 秒后我收到错误输出:

CSC:创建调试信息文件时出现意外错误 'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\MongoDB.Linq.PDB ' -- 'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\MongoDB.Linq.pdb:访问被拒绝

我检查了目录的权限并将其设置(仅用于调试目的)以授予所有用户访问权限,但仍然存在问题。运行 Procmon 并过滤目录的文件访问:

'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\'

告诉我:

16:41:00,5449813 TFSBuildServiceHost.exe 3528 QuerySecurityFile C:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug BUFFER OVERFLOW 信息: DACL, 0x20000000

16:41:00,5462119 TFSBuildServiceHost.exe 3528 QueryOpen C:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug FAST IO DISALLOWED

有任何想法吗?

4

3 回答 3

1

你应该用 Procmon 做的是过滤掉所有 ACCESS DENIED 记录。缓冲区溢出和不允许的快速 IO 可以忽略。

于 2010-04-30T03:56:18.797 回答
1

Kockiren asked my to answer this thread after i found how to solve yesterday ...

This files which makes the problems here, are mostly this files, that will be generated while building the solution.

Simply remove them from source-control by 1. go to Source Control Explorer in VS 2. klick on this files (or the folder in which they are) 3. and press DEL to remove them

After checking in the solution and the projects you built will run!

于 2010-05-04T10:37:30.913 回答
0

我在stackoverflow上找到了一个线程“如何排除bin文件夹......”谁告诉我问题是我检查了bin目录。要解决这个问题,我应该右键单击 bin 目录并选择“从项目中排除”,但没有这个选项。

我尝试使用 Source Explorer (VS2010 TFS),打开 Source 并右键单击 bin 目录,然后将打开包含以下条目的上下文菜单:

  • 获取最新版本
  • 获取特定版本
  • 签出编辑
  • 开锁
  • 删除
  • 改名
  • 撤消挂起的更改
  • 签入待处理的更改
  • 搁置待更改
  • 查看历史
  • 相比
  • 分支和合并
  • 移动
  • 应用标签
  • 新建文件夹
  • 将项目添加到文件夹
  • 披风
  • 特性
  • 刷新

我尝试隐藏文件夹,但此选项仅适用于我的工作副本,不适用于构建任务。任何想法,如何从 Source Safe 中排除文件夹?

于 2010-04-30T13:59:20.660 回答