创建发布包时出现VS2012错误:执行发布中的异常拒绝对路径的访问 [英] VS2012 Error when creating publish package: Exception in Executing Publishing Access to path is denied
问题描述
我正在尝试使用VS2012发布应用程序,当我尝试使该程序包出现错误时,我拒绝访问路径.我已经检查过,并且我的用户拥有完全控制权并验证了路径.
I am trying to publish an application with VS2012 and when i try and make the package i get an error that access to the path is denied. I have checked and my user has full control and verified the path.
VS试图访问那里的.pubmxl文件.
VS is trying to access .pubmxl file that is there.
我也尝试过以管理员身份运行VS2012.
I have also tried running VS2012 as administrator.
推荐答案
I had this same issue (VS2012: Access to path is denied when executing publish) and found a way to allow Visual Studio access to the file.
如果在Visual Studio中打开pubxml文件,进行编辑并保存文件,则Visual Studio能够使用该文件成功发布.希望这对您也有用.
If you open the pubxml file in Visual Studio, make an edit, and save the file, Visual Studio is able to successfully publish using that file. Hope this works for you too.
这篇关于创建发布包时出现VS2012错误:执行发布中的异常拒绝对路径的访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!