Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

.NET version

Mikkel's Avatar

Mikkel

08 Feb, 2011 12:51 PM

Hello,

What version of .NET is AppHarbor suppose to use? I can see my application is currently using .NET 2. This limits my possibilities, as I would like to do some .NET 4 specific things.

I'm using a MySQL database with .NET Connector v6.3.6 for .NET 4, and when I'm trying to view my site I get the following error: Could not load file or assembly 'MySql.Data' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Hope you can help.

Mikkel

  1. 1 Posted by Mikkel on 08 Feb, 2011 01:09 PM

    Mikkel's Avatar

    Adding targetFramework="4.0" to web.config solved my issue. I'm using MonoDevelop on a Mac so this was not added by default.

  2. Support Staff 2 Posted by rune on 08 Feb, 2011 01:29 PM

    rune's Avatar

    Hi Mikkel,

    Glad you figured it out - we support both .NET 2.0 and 4.0 and currently use that attribute to automatically determine which one to use. Thanks for sharing that this is not added by default when using MonoDevelop!

    Best regards
    Rune

  3. rune closed this discussion on 08 Feb, 2011 01:29 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac