Can't compile project - VB.Net - Fatal error BC2000 - Xamarin/MonoDevelop

Just downloaded Xamarin/MonoDevelop in order to create a VB.Net based cross-platform application.

However Xamarin keeps returning a fatal error when attempting to compile a default template.

Steps:

  1. File > New > Solution

  2. VBNet > Gtk# 2.0 Project

  3. Name solution

  4. Click Play (Debug)

Results:

Error Fatal error BC2000 : compiler initialization failed unexpectedly: Project already has a reference to assembly System. A second reference to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll' cannot be added. (Fatal error BC2000 ) (test111)

The above occurs if I click Play, Build, Run/Start Without Debugging, and Run/Start With Debugging.

The above does not occur with a C# Gtk# 2.0 project.

There is only one reference to System within the References folder in the Solution tree.

Any help would be greatly appreciated!

Thanks.

Answers


It seems that you can work around this bug if you install Mono and set it as your runtime (Project / Active Runtime menu), then it will build and run successfully.


Need Your Help

How to modify the create & update method in RoR?

ruby-on-rails ruby

I know that the after the create or update methods is done, they have the method like this

Do I need to normalize this MySQL db?

java sql mysql database search

I have a classifieds website which uses SOLR to search for whatever ads the user wants to search for... SOLR then returns the ID:s of all the matches found. I then use the ID:s to fetch and display...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.