Monday, 1 November 2010

.net 4 Client Profile on Mono 2.8

If you’re running a .net 4 app built for the .net Client Profile, then you might get the following error when trying to run it on mono:

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v2.0.50727

To work-around this problem, you can either remove the line

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>



From the app.config file (or yourprogram.exe.config), or add the switch 



--runtime=v4.0.30319



To the mono command-line.

1 comment:

  1. Great Article
    Cyber Security Projects

    projects for cse

    Networking Security Projects

    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete