Xamarin’s Installer Needs Help

Variations on a theme, I've been trying to get Xamarin Studio up and running on Windows 7, and it is a royal pain. I don't think they test it using Standard User accounts on Windows, because there is a huge a number of problems here.

After futzing around with all of this stuff as a Standard User, I seem to now have a working system. The specific configuration that works for me on a 64-bit Windows 7 desktop, is to do all of the following as an Administrator user:

Then, run Xamarin Studio as your Standard User account, and set the SDK Locations to:

xamarin-sdk-locations

With any luck, Xamarin Studio should have picked up the locations automatically, via the environment variables. With all of these items set, the build should now work properly and adb should pick up the connected device. And you don't have to run your system as an Administrator, or do any other hokey things to get Xamarin to work.

But the fact is, Xamarin asks you to install it as an Administrative user, but it shouldn't actually need any special administrative rights to do its job. Or, if it does (to install a JDK, for instance), then it doesn't need those rights any longer once it is installed. For instance, it installs its own copy of the Android SDK in the Administrative user's %APPDATA% folder, which it could just as easily do in a Standard User account.

Overall, they are assuming that everyone out there uses a single Administrator account on their computers, and I suppose that's a pretty safe guess, except for when it's not the case. I get the impression there are probably other devs out there who don't run around as Administrator, because we know just how bad of an idea that is (even with User Account Control{target="_blank"}).

(Parting thought: I'd be willing to bet even money that the Xamarin installer works without a hitch on OS X, because that seems like the place most devs spend their time these days, if the Berlin coffee shop scene is any indication.)