Xamarin Studio Crash

Installed Xamarin Studio version 4.2.3 (Build 878) as per the stable release channel notifications.
Now I am neither able to open existing solutions and create new projects.
I am getting the below error when try to create a projet
"System.TypeInitializationException: The type initializer for 'MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService' threw an exception. ---> System.TypeLoadException: Method 'Initialize' in type 'MonoDevelop.Projects.Formats.MSBuild.RemoteBuildEngine' from assembly 'MonoDevelop.Core, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService..cctor()
--- End of inner exception stack trace ---
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService.InitializeItemHandler(SolutionItem item)
at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.ConvertToFormat(Object obj)
at MonoDevelop.Projects.SolutionEntityItem.InitializeItemHandler()
at MonoDevelop.Projects.SolutionItem.get_ItemHandler()
at MonoDevelop.Projects.SolutionItem.NotifyModified(String hint)
at MonoDevelop.Projects.Project.set_StockIcon(IconId value)
at MonoDevelop.Projects.DotNetProject..ctor(String languageName)
at MonoDevelop.Projects.DotNetProject..ctor(String languageName, ProjectCreateInformation projectCreateInfo, XmlElement projectOptions)
at MonoDevelop.MonoDroid.MonoDroidProject..ctor(String languageName, ProjectCreateInformation info, XmlElement projectOptions)
at MonoDevelop.MonoDroid.MonoDroidProjectBinding.CreateProject(ProjectCreateInformation info, XmlElement projectOptions)
at MonoDevelop.Projects.ProjectService.CreateProject(String type, ProjectCreateInformation info, XmlElement projectOptions)
at MonoDevelop.Ide.Templates.ProjectDescriptor.CreateItem(ProjectCreateInformation projectCreateInformation, String defaultLanguage)
at MonoDevelop.Ide.Templates.SolutionDescriptor.CreateEntry(ProjectCreateInformation projectCreateInformation, String defaultLanguage)
at MonoDevelop.Ide.Templates.ProjectTemplate.CreateWorkspaceItem(ProjectCreateInformation cInfo)
at MonoDevelop.Ide.Projects.NewProjectDialog.CreateProject()"

The os/software version details are added as follows.
Xamarin Studio
Version 4.2.3 (build 878)
Installation UUID: b7c73b9a-a1ef-4dbe-bb18-b8d327a1dfeb
Runtime:
Microsoft .NET 4.0.30319.18444
GTK+ 2.24.22 theme: MS-Windows
GTK# (2.12.0.0)

Xamarin.Android
Version: 4.12.4 (Business Edition)
Android SDK: C:\Users\pcadmin.pcadmin-PC\Android\android-sdk
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.0.3 (API level 15)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)

Build Information
Release ID: 500000878
Git revision: bcd66920d963483e7d638a2339c4022fe035b529
Build date: 2014-05-27 17:40:17-04
Xamarin addins: da9064ce55b0fa90930a7c437a4cc1ae0e5c778c

Operating System
Windows 6.1.7601.65536 (64-bit)

Answers

  • mhutchmhutch USXamarin Team Xamurai

    It looks like you somehow have parts of two Xamarin Studio versions mixed together. Please uninstall XS and re-install XS 5.0.

  • dinalidinali USMember

    Hi, I am experiencing exactly the same error - please see the log file for details. I tried uninstalling Xamarin Studio and the installer. I ran the installer version 3.5 I am running Xamarin Studio (this appears to be the most recent build, I also installed the Xamarin 3 update while running Visual Studio. We are in the process of deciding which version to purchase -- the business edition or the indie. The VS version runs correctly, however, my preference is to use the Indie version.

    Version 4.2.3 (build 878)
    Installation UUID: 883d564a-553d-4dad-9e6b-8afa52ea9a26
    Runtime:
    Microsoft .NET 4.0.30319.18063
    GTK+ 2.24.22 theme: MS-Windows
    GTK# (2.12.0.0)

    === Xamarin.Android ===

    Version: 4.12.4 (Trial Edition)
    Android SDK: C:\Program Files\Android\android-sdk
    Supported Android versions:
    2.1 (API level 7)
    2.2 (API level 8)
    2.3 (API level 10)
    3.1 (API level 12)
    4.0 (API level 14)
    4.0.3 (API level 15)
    4.4 (API level 19)
    Java SDK: C:\Program Files\Java\jdk1.6.0_25
    java version "1.6.0_25"
    Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
    Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)

    === Build Information ===

    Release ID: 500000878
    Git revision: bcd66920d963483e7d638a2339c4022fe035b529
    Build date: 2014-05-27 17:40:17-04
    Xamarin addins: da9064ce55b0fa90930a7c437a4cc1ae0e5c778c

    === Operating System ===

    Windows 6.1.7601.65536

    Please advise...

  • mhutchmhutch USXamarin Team Xamurai

    Have you tried uninstalling and reinstalling? The latest Xamarin installer should install Xamarin Studio 5.0.

Sign In or Register to comment.