July 29, 2014 at 20:47 #4578
Hi Anders, hi Lars,
When trying to build the latest version from the repository with Xamarin on Win7 I encountered the same problem as a couple of months ago:
Build failed. Could not find type ‘System.Globalization.SortVersion’.
Further details see attached picture.
Can you confirm this error?
Do you have a work-around, so I could catch up with the current version of monobrick’s master branch?
I know times have been busy, but do you have an idea when you will publish version 2.0?
Hope to hear from you soon,
P.S.: The MonoBrickAddin does not load: Unknown solution item type. See second picture
Attachments:You must be logged in to view attached files.July 29, 2014 at 20:56 #4581
Concerning the first issue. Yes currently the master branch does not build – just about to fix it.
To fix the second issue you need to download the Add-in builder for Xamarin Studio. Once this add-in has been installed you can build the add-in – the MonoBrick add-in that is 🙂
Hopefully I will have it ready this week. I have already updated/created some new guides – so we should be ready soon.
AndersJuly 29, 2014 at 21:28 #4582
Just avoid building the startup app then you should be ok for now.
AndersAugust 10, 2014 at 13:53 #4597
the problem did not go away even, when only building the firmware dll.
So I cleared all Mono and Xamarin stuff from my laptop and started from scratch with Mono 3.2.3 and Xamarin 5.0.1.
After solving some problems with ASP-AddIns, I finally managed to build the most simple “hello” world” command-line, but with the .Net-runtime only. As soon as you try to build with mono, I get the error
Could not find type ‘System.Globalization.SortVersion’.
again. There definitely seems to be a general error in mono.
I tried to get more updated mono versions. The mono-project still sells V3.2 as V3.4, which is available for macOS only. I found an interesting article on code-project () how to build more recent mono versions from source code. But the V3.4-binaries provided there didn’t solve this problem.
I hope this helps a little bit in getting the next mono-brick-version running for windows-user, too.
If can help somehow, please let me know.
P.S.: When releasing the next SD-card-images, could you reduce the size a little bit (e.g. 4GB->3.8GB) to avoid the “does not fit”-error which I experienced, too.August 10, 2014 at 14:12 #4598
When returning to Xamarin <=V4.2.3 as mentioned in the net, the build error changes to
Error building target GetReferenceAssemblyPaths: UNC paths should be of the form \\server\share.
Again for a “hello world” command-line, without any mono-brick reference.
But the windows world starts with “C:\Users\…”
🙁August 10, 2014 at 14:14 #4599
If anybody got a working Xamarin + mono combination on Win7 with VisualStudio installed, please let me know. And how to obtain those specific versions.August 12, 2014 at 07:10 #4602
I use Xamarin 5.2 with Mono 3.3.0 on win 7 for build EV3 Mono C# projects.
To avoid ‘System.Globalization.SortVersion’ build error You need uncheck ‘Use MSBuild engine’ option at Project -> <YourProjectName> Options -> General.
You can see more details here:
Vlad.August 12, 2014 at 19:36 #4607
thanks for providing the precise path to this setting. I had found this posting before, but could not find the setting (searching in Tools-Options…, Project-Solution-…) and thought it’s something which is available in the Mac-Version only.
Now it’s working fine!! Thanks!
You must be logged in to reply to this topic.