casualcoder
casualcoder

Reputation: 5000

Deploying Mono applications to Windows

What difficulty would be encountered in deploying a Mono-based application to Windows? Does the Mono runtime have to be installed along with the application? Would this be an inconvenience for the end user?

Edit: The idea is to deploy a cross-platform application, thus Mono as a choice.

Upvotes: 4

Views: 3216

Answers (4)

Tom Opgenorth
Tom Opgenorth

Reputation: 1511

As long as you're sticking to managed code in your application and the there is either .NET or Mono installed, you should be fine.

Upvotes: 1

luiscubal
luiscubal

Reputation: 25121

Mono is an implementation of .NET. As long as you don't use Mono-specific APIs, it should be 100% compatible.

Upvotes: 4

denis phillips
denis phillips

Reputation: 12760

As @duffymo said you are probably better off requiring .NET vs requiring Mono. However, there are some scenarios where using Mono makes sense. In particular, if you use mkbundle to create an assembly without a requirement that Mono is installed. There is even a way to statically link the runtime into the exe although this brings along some licensing requirements that need to be considered.

Upvotes: 1

duffymo
duffymo

Reputation: 308763

If Mono is a Linux version of .NET, wouldn't deploying an app developed on Linux with Mono on Windows simply mean taking your source/package and deploying it on Windows? Shouldn't the .NET pieces that need to be common already be available on Windows?

Upvotes: 0

Related Questions