Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Publish Project Dependencies

Scans for NuGet, npm, or PyPI package dependencies of a project and sends information about them to a ProGet instance.

Script usage:

ProGet::Scan(
	Project: <text>,
	[To: <text>],
	[ProGetUrl: <text>],
	[ApiKey: <text>],
	[ProjectName: <text>],
	[Release: <text>],
	[ProjectType: <text>],
	[ScanType: <integer>],
	[DoNotScanNodeModules: <true/false>]
);

Arguments:

NameFormatScript UsageUsage Notes
Project path
text
Project
e.g. src/MyProject.csproj". This argument is required.
ProGet connection
text
To
Value note: "default".
ProGet base URL
text
ProGetUrl
Not specifying will "Use URL from ProGet connection".
API key
text
ApiKey
Not specifying will "Use token from ProGet connection".
Project name
text
ProjectName
Value note: "$ApplicationName".
Release number
text
Release
Value note: "default ($ReleaseNumber.$BuildNumber or $BuildNumber)".
Project type
text
ProjectType
Value note: "application".
Scan type
integer
ScanType
Default value is "Auto".
Do Not Scan node_modules (npm only)
true/false
DoNotScanNodeModules

Example:

# Publish NuGet dependencies for MyProject.csproj in the Libraries feed of the LocalProGet instance
ProGet::Scan
(
    Project: src/MyProject.csproj
);