ant2009
ant2009

Reputation: 22486

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#.

Upvotes: 7

Views: 9544

Answers (3)

Sophie Alpert
Sophie Alpert

Reputation: 143134

I'm assuming you're trying to use Mono, in which case:

Is it possible to support ClickOnce on Linux?
Yes - but there's still a lot of work required before doing so.

Is ClickOnce the best way to distribute applications/updates?
I'm not sure - but popularity != superiority so...

From http://lists.ximian.com/pipermail/mono-list/2004-September/023224.html

Upvotes: 4

TimothyP
TimothyP

Reputation: 21755

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

Upvotes: 9

Scott Weinstein
Scott Weinstein

Reputation: 19117

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

Upvotes: 14

Related Questions