创建目录“ app.publish”的原因是什么?在Visual Studio 2013中?

创建目录“ app.publish”的原因是什么?在Visual Studio 2013中?

问题描述:

我将Visual Studio 2010 Express切换到了Visual Studio2013。
现在,每当我尝试测试代码时,他说/bin/release/app.publish访问被拒绝,从而返回错误并强制执行我手动删除该文件夹。每次。

I switched over visual studio 2010 express, to visual studio 2013. Now, whenever I try to test the code, he says /bin/release/app.publish access is denied, giving back a error and forcing me to manually delete the folder. Every single time.

为什么Visual Studio首先尝试创建该路径?每当我去那里的时候,他还是空着。

Why is visual studio attempting to create that path in the first place? Whenever I go there he is empty anyways.

我正在尝试使用ClickOnce,然后决定不使用它,然后开始注意到我的bin目录中的 MyApp.application 文件和 app.publish 文件夹。取消选中安全性选项卡上的启用ClickOnce安全性设置对我有用。

I was experimenting with ClickOnce, then decided against using it, then started noticing a MyApp.application file and app.publish folder in my bin directory. Unchecking "Enable ClickOnce security settings" on the Security tab did the trick for me.