[Mono-list] n00b porting first application to Mono/Linux
abe.gillespie at gmail.com
Thu Jul 8 12:44:40 EDT 2010
After you've recompiled, run it through moma:
http://www.mono-project.com/MoMA (there's also a beta moonlight /
online version of the tool but can't seem to find it right now ...
anyone have a link?)
On Thu, Jul 8, 2010 at 12:27 PM, Jonathan Pobst <monkey at jpobst.com> wrote:
> It looks like you are targeting .Net 4.0, but your Mono does not support
> 4.0. (Only the SVN version of Mono supports 4.0.)
> So Mono is trying to run your program on 1.1, but you need at least 2.0
> for your application to work.
> Re-compile your application for 2.0, 3.0, or 3.5, copy it over again,
> and then try to run it.
> (Right-click->Properties in VS2010 on your project, and change the
> "Target Framework".)
> On 7/8/2010 11:22 AM, crush157 wrote:
>> I've written a desktop client in C# on Windows using Visual Studio Express
>> I've copied the .exe to my Mono environment and tried to run the application
>> from the command line.
>> I get the following output:
>> WARNING: The runtime version supported by this application is unavailable.
>> Using default runtime: v1.1.4322
>> ** (./CheckSumSpike.exe:1606): WARNING **: Missing method
>> System.Windows.Forms.Application::SetCompatibleTextRenderingDefault(bool) in
>> referenced in assembly /home/ewan/BladeRunner/Release/CheckSumSpike.exe
>> Unhandled Exception: System.MissingMethodException: Method not found:
>> So my question is what else do I have to do to get this application running
>> under Mono on Linux?
>> Do I need any additional components to support the GUI for the application?
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list