Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c#

deployment

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.

like image 301
desiredness Avatar asked May 09 '15 16:05

desiredness


People also ask

What is App publish?

When you publish an Android application you perform two main tasks: You prepare the application for release. During the preparation step you build a release version of your application, which users can download and install on their Android-powered devices. You release the application to users.

What does publishing do in Visual Studio?

Publishing creates the set of files that are needed to run your application. To deploy the files, copy them to the target machine.


1 Answers

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

like image 134
Nick Spreitzer Avatar answered Sep 23 '22 02:09

Nick Spreitzer