What creates the directory “app.publish” in visual

2020-05-24 19:33发布

问题:

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.

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

回答1:

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.



标签: c# deployment