问题
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.
来源:https://stackoverflow.com/questions/30142229/what-creates-the-directory-app-publish-in-visual-studio-2013