56

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.

desiredness
  • 573
  • 1
  • 4
  • 6
  • 2
    I've only seen VS trying to create that kind of path when i used ClickOnce to publish applications.... Are you using it ? (in your project properties, it's the "Publish" tab) – Sidewinder94 May 09 '15 at 18:23
  • 1
    It was not on the publish tab, but rather in the "security one". It solved it anyways, Thank you very much – desiredness May 10 '15 at 03:01
  • Could you post what you found as an answer so that anybody having the same question can found one ? – Sidewinder94 May 11 '15 at 17:48

1 Answers1

113

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

Nick Spreitzer
  • 10,008
  • 4
  • 34
  • 56