How to implement clickonce using Apache on windows
I am trying out click-once on my local machine using Apache 2.2.
I have added following to httpd.conf
AddType application/x-ms-application .application
AddType application/manifest .manifest
AddType application开发者_高级运维/octet-stream .deploy
AddType application/octet-stream .msp
AddType application/octet-stream .msu.
I have given the publishing folder and the installation folder path to http://localhost. I am using vs2008 with 3.5 SP 1. When, I click publish I am getting this error
Error 23 Failed to connect to 'http://localhost/' with the following error: Unable to open the Web site 'http://localhost/'. 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.
Please let me know what am I missing?
thanks
Use a network share (e.g. \\localhost\publish-folder) or a local folder (e.g. C:\publish-folder) as Publishing Folder Location. Visual Studio must have write access to this location.
The only thing I know about using apache servers to host ClickOnce applications is that you have to have the right MIME types set up, but I thought they had to be in a .htaccessfile. It's mentioned at the end of this article.
精彩评论