如何在离线环境下使用 Xamarin 免费试用许可证

How to use Xamarin free trial license in offline enviroment

我目前正在 Amazon Workspace 中开发,它没有任何互联网连接。在 Visual Studio 2015 我安装了 Xamarin 现在我只想使用免费试用许可证开始编码。问题是我真的不知道怎么做。当我打开我的项目时,我会看到这个,当然我无法注册或登录,因为我无法访问互联网。

在我的帐户仪表板中,我没有任何计算机链接到我的帐户。

那么如何在我的离线工作空间中使用免费试用版?

这适用于 Android 许可证,来自:http://developer.xamarin.com/guides/android/getting_started/installation/offline_activation/

If you do not have internet access on the machine you're trying to activate, you will need to contact Xamarin Support with details of your machine. You can then obtain a license file via your Xamarin store account, provided you have purchased a license.

If you login to https://store.xamarin.com/account/my/subscription/computers and click License next to the machine, you'll get a link to download the license file.

Offline Activation on Windows After obtaining a monoandroid.licx file, it must be placed in the appropriate directory.

Windows Vista/Windows 7 Create the directory %ProgramData%\Mono for Android\License, and place the monoandroid.licx file into that directory (thus creating the file e.g. C:\ProgramData\Mono for Android\License\monoandroid.licx). Once this file has been created, you should be able to use Xamarin.Android normally.

Trial Licenses Trial licenses have the word trial embedded in the filename, eg. monoandroid.trial.licx, but otherwise the instructions are the same.

Offline Activation on Mac OS X When you receive your license file, you should save it to the $HOME/Library/MonoAndroid folder, creating the file $HOME/Library/MonoAndroid/License.

Trial Licenses Trial licenses have the word trial added to the filename, eg. License.trial, but otherwise the instructions are the same.

Once the license has been saved to disk, Xamarin.Android installation and activation should complete successfully.