I recently upgraded Xamarin Studio to the latest version, and now I am unable to load my solution!
Upon opening the solution, the below error is displayed:
I have looked into the logs, and I see the following:
System.InvalidOperationException: Already bound to project
Has anyone seen a similar error, or does anyone have a solution?
Thanks!
This error appear to be associated with the following Xamarin bug report:
https://bugzilla.xamarin.com/show_bug.cgi?id=41565
If you are able to try the following workaround, it should allow you to open the project.
This should solve it for iOS
This also appears to impact Android projects which contain bindings. For example:
Given a test project (Test.csproj) with two ProjectTypesGUID: {EFBA0AD7-5A72-4C68-AF49-83D382785DCF} and {10368E6C-D01B-4462-8E8B-01FC667A7035} the project will fail to load. This is because the first ID corresponds to a regular Android project. The second one is for an Android Binding library project. The problem can be solved by removing the {EFBA0AD7-5A72-4C68-AF49-83D382785DCF} GUID from the .csproj
Fixing the issue for Android is similar to above. If the project contains both ProjectTypesGUID: {EFBA0AD7-5A72-4C68-AF49-83D382785DCF} and {10368E6C-D01B-4462-8E8B-01FC667A7035} then do the steps below
Thanks!
Hope it helps :)
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