本文介绍了TFS构建问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Hi Team,



我正在建设visual studio中的websolution工作正常但是 我在TFS构建自动化中获得访问被拒绝构建错误,
,请查看以下详细信息。


(PreBuildEvent目标) - > 

          EXEC:致命错误:保存程序集时出错"C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ --->访问被拒绝。 (来自HRESULT的异常:0x80070005(E_ACCESSDENIED))[C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]

          EXEC:致命错误:保存程序集时出错'C:\Builds \1 \ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ --->访问被拒绝。 (来自HRESULT的异常:0x80070005(E_ACCESSDENIED))[C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]

          C:\ Windows \ microsoft.NET \ Framework64 \v4.0.30319 \ Microsoft.Common.targets(1063,5):错误MSB3073:命令"" C:\Builds \\\ \ESF\NATL_21.2.1\src\NATL.PL\DLL\xsltc.exe" / class:XSLTbreadcrum" C:\ Build @ [1 \\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/ class:XSLTdefault" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTfaq"C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTfeedback"C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  /类:XSLTghagramsrmnt" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\ghagra-msrmnt.xsl" / class:XSLThomepagebanner" C:\Builds \\\\ESF\NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTISSCategory
" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTknowledgebase" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTknowledgebaseindex"C:\Builds \\\\ESF\NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  / class:XSLTmail" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTofflinepayment"C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTproductdetails" C:\Builds \\\\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs \ product-details.xslt"
  / class:XSLTproducts" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTproductsfilter" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTallproductsfilter
" C:\Builds \\\\ESF\NATL_21.2.1 \src \ NATL.PL \ Resesource \XSLTs \ all-products-filter.xslt"   / class:XSLTproductswishlist" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs \ product- wishlist.xsl"   / class:XSLTproducttype" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  / class:XSLTreturns" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTreturnsRAC" C:\Builds \\\\ESF\NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTorderstatus" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/ class:XSLTwishlist" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs \wishlist.xslt" / class:XSLTproductquicklook" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTsalwarmsrmnt"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\salwar-msrmnt.xsl"
  /类:XSLTsareemsrmnt" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\saree-msrmnt.xsl"   / class:XSLTsherwanimsrmnt"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\sherwani-msrmnt.xsl"   / class:XSLTshopby
" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTsitemap" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   /类:XSLTsmartsearchbreadcrum" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\smartsearch-breadcrum.xslt"
  / class:XSLTsuccess" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTsuitmsrmnt" C:\Builds\1\ESF\NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   / class:XSLTtestimony"C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  / class:XSLTtickets" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTtunicsmsrmnt"C:\Builds \\\\ESF\NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / class:XSLTgownmsrmnt" C:\Builds \\\\ESF \ NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\
/ class:XSLTerrorpage" C:\Builds\1\ESF \NATL_21.2.1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ /out:"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\bin\NATL.PL.XSLTs.dll" [C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]

        C:\ Windows \ microsoft.NET \ Framework64 \v4.0.30319 \ Microsoft.Common.targets(1063,5):错误MSB3073:" C:\Builds \\\\ESF \\ \\NATL_21.2.1\src\NATL.PL\DLL\xsltc.exe" /设置:脚本+  /类:XSLTunbxdproducts" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\unbxd-products.xslt"
/类:XSLTunbxdproducttype" C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\unbxd产物-type.xslt" / class:XSLTunbxdsearchshop"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\\\
bxd-search-shop.xslt" / class:XSLTunbxddetails
"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs \ unbxd-details.xslt" /out:"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\bin\NATL.PL.ScriptXSLTs.dll""退出代码1. [C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]





经过时间00:00:14.01




问候


Karthick Saravana

解决方案

Hi Team,

While i am building the websolution in visual studio it is working fine but I am getting the access denied build error in TFS build automation, and please find the below details.

(PreBuildEvent target) -> 
         EXEC : fatal error : Error saving assembly 'C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\bin\NATL.PL.XSLTs.dll'. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) [C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]
         EXEC : fatal error : Error saving assembly 'C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\bin\NATL.PL.ScriptXSLTs.dll'. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) [C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]
         C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: The command ""C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\DLL\xsltc.exe" /class:XSLTbreadcrum "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\breadcrum.xslt" /class:XSLTdefault "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\default.xslt" /class:XSLTfaq "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\faq.xsl" /class:XSLTfeedback "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\feedback.xslt"  /class:XSLTghagramsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\ghagra-msrmnt.xsl" /class:XSLThomepagebanner "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\homepage-banner.xslt"  /class:XSLTISSCategory "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\ISSCategory.xslt"  /class:XSLTknowledgebase "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\knowledge-base.xsl" /class:XSLTknowledgebaseindex "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\knowledge-base-index.xslt"  /class:XSLTmail "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\mail.xslt"  /class:XSLTofflinepayment "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\offline-payment.xslt"  /class:XSLTproductdetails "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\product-details.xslt"  /class:XSLTproducts "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\products.xsl"  /class:XSLTproductsfilter "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\products-filter.xslt" /class:XSLTallproductsfilter "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\all-products-filter.xslt"  /class:XSLTproductswishlist "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\products-wishlist.xsl"   /class:XSLTproducttype "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\product-type.xslt"  /class:XSLTreturns "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\returns.xsl"  /class:XSLTreturnsRAC "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\returnsRAC.xsl"  /class:XSLTorderstatus "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\orderstatus.xslt" /class:XSLTwishlist "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\wishlist.xslt" /class:XSLTproductquicklook "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\product_view.xslt" /class:XSLTsalwarmsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\salwar-msrmnt.xsl"  /class:XSLTsareemsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\saree-msrmnt.xsl"  /class:XSLTsherwanimsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\sherwani-msrmnt.xsl"  /class:XSLTshopby "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\shop-by.xslt" /class:XSLTsitemap "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\site-map.xslt"  /class:XSLTsmartsearchbreadcrum "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\smartsearch-breadcrum.xslt"  /class:XSLTsuccess "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\success.xslt"  /class:XSLTsuitmsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\suit-msrmnt.xsl"  /class:XSLTtestimony "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\testimony.xslt"  /class:XSLTtickets "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\tickets.xsl" /class:XSLTtunicsmsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\tunics-msrmnt.xsl" /class:XSLTgownmsrmnt "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\gown-msrmnt.xsl" /class:XSLTerrorpage "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\errorpage.xslt" /out:"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\bin\NATL.PL.XSLTs.dll" [C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]
       C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\DLL\xsltc.exe" /settings:script+  /class:XSLTunbxdproducts "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\unbxd-products.xslt" /class:XSLTunbxdproducttype "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\unbxd-product-type.xslt" /class:XSLTunbxdsearchshop "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\unbxd-search-shop.xslt" /class:XSLTunbxddetails "C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\Resources\XSLTs\unbxd-details.xslt" /out:"C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\bin\NATL.PL.ScriptXSLTs.dll"" exited with code 1. [C:\Builds\1\ESF\NATL_21.2.1\src\NATL.PL\NATL.PL.csproj]


Time Elapsed 00:00:14.01


Regards

Karthick Saravana

解决方案


这篇关于TFS构建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 20:36