使用TFS 2013在VS 2013中自动构建部署时获取错误4448 [英] Getting error 4448 while automation build deployment in VS 2013 using TFS 2013

查看:103
本文介绍了使用TFS 2013在VS 2013中自动构建部署时获取错误4448的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用VS 2013项目并使用TFS 2013我想进行自动化构建部署。我已经创建了构建定义,在排队等待新构建时我收到以下错误 


C:\Programfiles886)\ MSBuild\12\12.0\bin\amd64 \\ \\ Microsoft.Commun.CurrentVersions.targets(4448):无法将行写入文件"obj \Debug \ eclerx.PRMS.Notifications.csproj.FileLsitAbsolute.txt"。访问路径"C:\Build \\\\PMS \ Build12Jan2016 \src \SourceCode \ Test \ eclerxPRMSNotifications \obj\Debug \ eclerxPRMS.Notifications.csproj.FileListAbsolute.txt
被拒绝。



它不允许我复制构建代理文件夹中的文件,因此我的自动化构建部署失败。



需要你的帮助..



谢谢提前很多..


解决方案

Hi Hemlata,


感谢您发布此处。


我检查了您上面发布的错误日志,错误是:无法将行写入文件"obj\Debug \ eclerx.PRMS.Notifications.csproj.FileLsitAbsolute.txt"。


根据此错误,您需要确保如果obj文件夹是不是只读的。如果它不起作用,您可以转到该文件夹​​并手动删除obj文件夹并尝试重建它。有关更多详细信息,您可以参考这个与您的问题类似
的案例: http://forums.asp.net/t/1402005.aspx?Build+error+Could+not+write+lines+to + +文件OBJ +调试+ BussinessLayer +的csproj + FileListAbsolute + TXT


Hi,

I am using VS 2013 project and using TFS 2013 i want to do automation build deployment. I have created build definition and while queuing for New Build I am receiving below error 

C:\Programfiles886)\MSBuild\12\12.0\bin\amd64\Microsoft.Common.CurrentVersions.targets(4448): Could not write lines to file "obj\Debug\eclerx.PRMS.Notifications.csproj.FileLsitAbsolute.txt". Access to the path "C:\Build\1\PMS\Build12Jan2016\src\SourceCode\Test\eclerxPRMSNotifications\obj\Debug\eclerxPRMS.Notifications.csproj.FileListAbsolute.txt is denied.

It is not allowing me to copy files on build agent folder and due to this my automation build deployment fails.

Require your help ..

Thanks a lot in advance..

解决方案

Hi Hemlata,

Thank you for posting here.

I checked the error log you posted above and the error is:Could not write lines to file "obj\Debug\eclerx.PRMS.Notifications.csproj.FileLsitAbsolute.txt".

According to this error, you need to make sure that if the obj folder is not read-only. If it doesn't work, you may go to the folder and manually delete the obj folder and try to rebuild it. For more details, you could refer to this case which is similar to your issue:http://forums.asp.net/t/1402005.aspx?Build+error+Could+not+write+lines+to+file+obj+Debug+BussinessLayer+csproj+FileListAbsolute+txt


这篇关于使用TFS 2013在VS 2013中自动构建部署时获取错误4448的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆