.NET version
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
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
1 Posted by Mikkel on 08 Feb, 2011 01:09 PM
Adding targetFramework="4.0" to web.config solved my issue. I'm using MonoDevelop on a Mac so this was not added by default.
Support Staff 2 Posted by rune on 08 Feb, 2011 01:29 PM
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
rune closed this discussion on 08 Feb, 2011 01:29 PM.