Updates NuGet packages for a .NET solution or project.
Update-DotNetPackages.ps1 [-Path] <String> [[-Reason] <String>] [[-SkipPackages] <String[]>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Update-DotNetPackages.ps1 src Deprecated
A:/AzFnRepo/src/AzFnDemo/AzFnDemo.csproj: net6.0 A:/AzFnRepo/src/AzFnDemo/AzFnDemo.csproj: Microsoft.NET.Sdk.Functions [Deprecated] Other Legacy A:/AzFnRepo/src/AzFnDemo/AzFnDemo.csproj: Upgrading ‘Microsoft.NET.Sdk.Functions’ from 4.1.0 to 4.6.0 WARNING: A:/AzFnRepo/src/AzFnDemo/AzFnDemo.csproj: Removing 1 duplicate ‘Microsoft.NET.Sdk.Functions’ entries A:/AzFnRepo/src/AzFnDemo.Tests/AzFnDemo.Tests.csproj: up to date A:/AzFnRepo/src/AzFnDemo.Core/AzFnDemo.Core.csproj: net6.0 A:/AzFnRepo/src/AzFnDemo.Core/AzFnDemo.Core.csproj: Microsoft.NET.Sdk.Functions [Deprecated] Other Legacy A:/AzFnRepo/src/AzFnDemo.Core/AzFnDemo.Core.csproj: Upgrading ‘Microsoft.NET.Sdk.Functions’ from 4.1.0 to 4.6.0 WARNING: A:/AzFnRepo/src/AzFnDemo.Core/AzFnDemo.Core.csproj: Removing 1 duplicate ‘Microsoft.NET.Sdk.Functions’ entries
The path to a .sln or .??proj file, or a directory containing either.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies that packages should only be upgraded based why they are outdated:
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Vulnerable
Accept pipeline input: False
Accept wildcard characters: False
Packages to ignore when upgrading.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: @()
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.