NuGetComponent
Support of NuGet packages.
gnt
[ v0.12.6+ ]
For work with packages via GetNuTool logic (you do not need the gtn.core, it is already part of this component).
raw
Push raw command to GetNuTool core.
void gnt.raw(string command)
Arguments:
- command - Available command to execute.
For example:
#[NuGet gnt.raw("/p:ngpackages=\"7z.Libs/15.12.0;vsSBE.CI.MSBuild/1.5.1:../packages/CI.MSBuild\"")]
#[NuGet gnt.raw("/t:pack /p:ngin=\"D:\tmp\7z.Libs\" /p:ngout=\"newdir/\"")]
Notes:
- The solution directory is path by default for all commands.
- The
get
command (/t:get
) of GetNuTool is command by default as in original tool.