发布时出错无法删除目录“bin \Debug \app.publish \”winform c# [英] Error during publish Unable to remove directory “bin\Debug\app.publish\” winform c#

查看:965
本文介绍了发布时出错无法删除目录“bin \Debug \app.publish \”winform c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我发布,构建,重建或清理解决方案时。抛出错误



错误1无法删除目录bin \Debug\app.publish\。找不到路径'HondaInstantFeedback.exe.config.deploy'的一部分。 HondaInstantFeedback



但是当我直接运行它的作品完美时。它的winform项目和我正在使用vs 2010.

When i publish, build , rebuild or clean solution. Error thrown

Error 1 Unable to remove directory "bin\Debug\app.publish\". Could not find a part of the path 'HondaInstantFeedback.exe.config.deploy'. HondaInstantFeedback

But when i directly run its works perfect. Its winform project and i am using vs 2010.

推荐答案

尝试右键单击您的解决方案并选择清理。

有时重启VS帮助。



你也可以从filesystem删除整个binfolder并重建所有
Try to right click on your solution and select clean.
Sometimes restarting VS helps.

Also you can from filesystem delete entire binfolder and rebuild all


这篇关于发布时出错无法删除目录“bin \Debug \app.publish \”winform c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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