Skip to content
starkos edited this page Apr 10, 2021 · 4 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Specifies a list of NuGet packages that this project depends on. Only supported in Visual Studio C++ and C# projects.

nuget { "references" }

Parameters

references is a list of NuGet package names and versions, where the version is separated from the name with a colon.

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

Link against some NuGet packages.

project "foo"
   nuget { "sdl2.v140:2.0.4", "sdl2.v140.redist:2.0.4" }

See Also

Clone this wiki locally