我正在运行TF Build 2010。我在机器上提供了“VS Team Foundation Build Service Host”服务管理员权限(用于测试目的)。
我正在使用未经修改的默认构建模板,我有一个简单的直接解决方案(没有前置或后置构建的东西,没有单元或集成测试)。该解决方案是.NET 4.5和C ++ / CLI项目的混合。
每次构建时,构建报告“半成功”,因为它无法访问C:\ Windows \ system32 [某个目录]上的某个目录
1个错误,0个警告 访问路径'C:\ WINDOWS \ system32 \ config'被拒绝。
我不确定为什么TF Build 2010试图访问system32,因为日志没有帮助,我不知道为什么当它具有本地管理员权限时仍然会拒绝访问。 < / p>
以下是一些日志:
For Each TestSpec in TestSpecs
Initial Property Values
Values = Run tests in assemblies matching **\*.Test.Unit.dll;**\*.Test.Integration.dll
00:00
Try Run Tests
00:00
Run MSTest for Test Assemblies
00:00
Assign spec to testAssembly
Initial Property Values
Value = Run tests in assemblies matching **\*.Test.Unit.dll;**\*.Test.Integration.dll
Final Property Values
To = Run tests in assemblies matching **\*.Test.Unit.dll;**\*.Test.Integration.dll
Value = Run tests in assemblies matching **\*.Test.Unit.dll;**\*.Test.Integration.dll
00:00
Find Test Assemblies
Initial Property Values
MatchPattern = D:\Builds\2\Applications\Main Build\Binaries\**\*.Test.Unit.dll;**\*.Test.Integration.dll
There were no matches for the search pattern D:\Builds\2\Applications\Main Build\Binaries\**\*.Test.Unit.dll
Final Property Values
MatchPattern = D:\Builds\2\Applications\Main Build\Binaries\**\*.Test.Unit.dll;**\*.Test.Integration.dll
Result =
00:00
Handle MSTest Exception
00:00
If testException is NOT TestFailureException
Initial Property Values
Condition = True
Access to the path 'C:\WINDOWS\system32\config' is denied.
Final Property Values
Condition = True