I have a pretty simple application that I wrote in Visual Studio 2010 in C # using .NET 4.0. All forms have several buttons, shortcuts, TreeView, ComboBox, and TextBox.
I copied the project to my OS X installation and opened the solution (VS2010) in MonoDevelop. It opens perfectly (although I don’t know how to make the visual constructor display Form1), but when I run it, I get the following error: Error: Framework 'Mono / .NET 4.0' not installed.
The problem is that I have the latest version of Mono installed and it displays correctly (I think) in MonoDevelop. When I go to MonoDevelop-> Preferences -> .NET Runtimes, it lists Mono 2.6.7 as the default value.
So,
How to get a visual constructor for Form1.cs?
How to get rid of the "Mono / .NET 4.0 not installed" error and get a project to compile and run?
All I did was copy the solution in OS X and then open it in MonoDevelop. Is there any kind of transformation process that a project should go through?
Thanks in advance!
Change . Suppose I have to provide specific version information. :)
OS X: 10.6.5 Snow Leopard
MonoDevelop: 2.4.2
Mono: 2.6.7 (shown in MonoDevelop in .NET Runtimes as 2.6.7 (Default))
I also launched a new project with an empty GTK form and was able to compile / run it.
source
share