Using nightly builds
On every commit to the
v2.0
branch, packages for each project and template are automatically generated and published to the GitHub Packages Registry.If you plan to use those packages, you’ll need to add a
nuget.config
file to your solution folder and you’ll need to add a source pointing to https://nuget.pkg.github.com/fabulous-dev/index.json
.You’ll also new to generate a GitHub PAT (personal access token) for your account and set that token in the
nuget.config
file.Example of
nuget.config
:<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
<!-- For nightly builds -->
<add key="fabulous-dev" value="https://nuget.pkg.github.com/fabulous-dev/index.json" />
</packageSources>
<packageSourceCredentials>
<fabulous-dev>
<add key="Username" value="USERNAME" />
<add key="ClearTextPassword" value="TOKEN" />
</fabulous-dev>
</packageSourceCredentials>
</configuration>
It’s the same than above, except you’ll need to create
nuget.config
first so the dotnet
CLI can retrieve the templates from GitHub.Once you configured
nuget.config
, you can rundotnet new -i Fabulous.XamarinForms.Templates::XYZ
Last modified 2mo ago