您的位置:首页 > 博客中心 > 数据库 >

TFS Build Error: CSC : fatal error CS0042: Unexpected error creating debug information file 'xxxx.PDB'

时间:2022-03-14 06:36

CSC : fatal error CS0042: Unexpected error creating debug information file ‘xxxx.PDB‘ -- ‘c:\Builds\xxxx.pdb: The process cannot access the file because it is being used by another process.

查看了详细的Build Log, 发现了同样的一文件被build了两次。

原因是 Solution 中的 Project A build使用了文件夹 A, Project B 引用了 Project C, 而 Project C 也使用了文件夹A.

即 两个 Project 同时 build 在同一个文件夹里。 

本类排行

今日推荐

热门手游