What creates the directory "app.publish" in visual studio 2013?

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.


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.

ClickOnce Security Settings