问题
I'm currently working on a Xamarin Android project on Windows using an indie licence. when pushing to git I clone the repo to run a build (using a git pre-push hook).
I do that to make sure the commit contains all the files necessary to build.
Doing that I get an error:
error XA9008: Building from the command-line requires a Business License
If I run the same build command on the original location (where i develop using Xamarin Studio) it works file.
So I wonder how Xamarin determines the licence and what file the clone is missing to run the build. Does anyone have any idea?
回答1:
As @SushiHangover mentioned in a comment: msbuild-based headless builds a part of what Xamarin calls "Business Features" and therefore only available with the business licence. See https://store.xamarin.com/ for more information
来源:https://stackoverflow.com/questions/34482274/errror-xa9008-building-from-the-command-line-requires-a-business-license-on-clo