Disable Publishing in MSBuild

Viewed 16401

I have an application that I wrote in C# and build in VisualStudio. One day I was exploring the 'publish' tab in the project properties section just to see what it did. Now everytime I build my application, I get a whole bunch of files related to ClickOnce installers (*.application, *.deploy, etc.) that I don't really want anymore. How do I disable or otherwise stop these items from appearing when I build my project??

4 Answers

For WinForms Windows Application

Go to: Project > Properties > Security

Then uncheck 'Enable ClickOnce security settings'

Related