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 在同一个文件夹里。
 
                    
                     
                    
                 
                    
                 

 
         
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号