I just installed Mono version 2.10.8 and MonoDevelop 2.8.6.5 on a Mac. When I create a new project (File -> New solution -> VBNet -> ASP.NET -> Web Application) it gives me an error after creating: Error while trying to load the project '/Users/starquake/Development/Mono/HelloWorld/HelloWorld.vbproj': Project does not support framework '.NETFramework,Version=v4.0'
What am I doing wrong? Or how can I fix it?
Well, the .NET framework does have a notion of a default member. Key ingredients are the DefaultMemberAttribute class and Type.GetDefaultMembers (). In VB.NET, specifying the default member is part of the language syntax:
If your application has resources such as icons or bitmaps or settings such as data connection strings, you can also resolve the error by removing all the items on the Settings page of the Project Designer and then re-adding the required settings.
To work around application settings, open Solution Explorer, choose Show All Files, and then edit the app.config file in the XML editor of Visual Studio. Change the version in the settings to match the appropriate version of the .NET Framework.
This topic describes MSBuild errors that might occur because of reference issues and how you can resolve those errors. You can create applications that reference projects or assemblies that target different versions of the .NET Framework.
I had this problem when creating new VB Projects, I changed the file format to use when creating new projects to MSBuild (Visual Studio 2008) instead of the default MSBuild (Visual Studio 2010) From Preferences > Load/Save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With