Before Discord.Net pushes a new set of features into the stable
version, we use nightly builds to test the features with the
community for an extensive period of time. Each nightly build is
compiled by AppVeyor whenever a new commit is made and will be pushed
to our MyGet feed.
[!IMPORTANT]
Before beginning, it is important to note that although nightlies
are generally stable and have more features and bug fixes than
the current stable build on NuGet, there will be breaking
changes during the development or breaking bugs. Although breaking
bugs are usually fixed as soon as they are discovered, it is still
important to keep this in mind.
MyGet is typically used by many development teams to publish their
latest pre-release packages before the features are finalized and
pushed to NuGet.
The following is the feed link of Discord.Net,
https://www.myget.org/F/discord-net/api/v3/index.json
Depending on which IDE you use, there are many different ways of
adding the feed to your package source.
Tools
> NuGet Package Manager
> Package Manager Settings
Package Sources
Update
[!NOTE]
Remember to tick theInclude prerelease
checkbox to see the
nightly builds!
If you plan on deploying your bot or developing outside of Visual
Studio, you will need to create a local NuGet configuration file for
your project.
To do this, create a file named NuGet.Config
alongside the root of
your application, where the project is located.
Paste the following snippets into this configuration file, adding any
additional feeds if necessary.
[!codeNuGet Configuration]
After which, you may install the packages by directly modifying the
project file, using the dotnet CLI (dotnet add package Discord.Net
),
or by using PowerShell (Install-Package Discord.Net -Prerelease
).
As mentioned in the first paragraph, we utilize AppVeyor to perform
automated test and build publishing. During the publishing process,
we also upload the NuGet packages onto AppVeyor's Artifact collection.
The latest build status can be found within our AppVeyor project.