Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a ClickOnce application be published on Ubuntu?

I have built an application and this is published on a Windows server using ClickOnce. The clients go to the URL, can download and run the application.

The client is now changing their servers to run Ubuntu. Can a ClickOnce application be published on a server running Ubuntu?

The version of Ubuntu is 8.10., and I am using Visual Studio 2008 SP1 and C#.

like image 366
ant2009 Avatar asked Mar 08 '09 05:03

ant2009


2 Answers

Sure can - any file or web server can host a ClickOnce app. However you will need to configure the correct MIME types on the web server

  • .application => application/x-ms-application
  • .manifest => application/x-ms-manifest
  • .deploy => application/octet-stream
like image 139
Scott Weinstein Avatar answered Nov 07 '22 02:11

Scott Weinstein


Simply add the following to the .htaccess file in your web root (Apache2 Ubuntu)

AddType application/x-ms-application application
AddType application/x-ms-manifest manifest
AddType application/octet-stream deploy
AddType application/vnd.ms-xpsdocument xps
AddType application/xaml+xml xaml
AddType application/x-ms-xbap xbap
AddType application/x-silverlight-app xap
like image 26
TimothyP Avatar answered Nov 07 '22 01:11

TimothyP