0

After adding Fakes framework to the test project after each check in I get the following error:

Error   33  The last access/last write time on file "XYZ.1.5.5.0.Fakes.dll" cannot be set. Access to the path 'XYZ.1.5.5.0.Fakes.dll' is denied.    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Fakes\Microsoft.QualityTools.Testing.Fakes.targets  137 5   ABCProjectName
Error   34  The last access/last write time on file "XYZ.1.5.5.0.Fakes.fakesconfig" cannot be set. Access to the path 'XYZ.1.5.5.0.Fakes.fakesconfig' is denied.    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Fakes\Microsoft.QualityTools.Testing.Fakes.targets  137 5   ABCProjectName

Also after I check in VS marks both of the files mentioned above as read-only. After this happens, building the project on the local machine fails with exactly the same errors.

4

1 回答 1

3

您通常不应将伪造的 dll 签入 tfs。让假货在构建过程中创建它们。如果您担心在构建期间创建假 dll 会影响性能,这是一个值得关注的问题,那么您应该阅读并执行优化构建时间中的建议。

于 2013-05-22T18:13:55.430 回答