Can I publish a winforms application using ClickOnce Deployment to an apache server?
When attempting to publish to an Apache Server I get this error:
Failed to connect to ‘http://10.200.0.80:8081/WinSync/‘ with the following error: Unable to open the Web site ‘http://10.200.0.80:8081/WinSync/‘. To access Web sites on the local IIS Web server, you must run Visual Studio under an Administrator account in order to have access to the IIS metabase. Alternatively, install FrontPage Server Extensions (FPSE) and then grant FPSE access to users who will run Visual Studio.
I found the solution. You add the mime types to the httpd.conf like the link JaredPar provided, and you set the Publishing Folder to the directory of the webfolder, and then the Installation Folder to it’s equivalent URI
For example I currently have the publishing folder as
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\WinSync\And the Installation Folder as
http://10.200.0.80:8081/WinSync/I also told it to generate a publish.htm every time, I don’t think that makes a difference though.