I can not delete a nuget package with the dotnet cli.
Here is the command I am running:
dotnet nuget delete package AutoMapper.Extensions.Microsoft.DependencyInjection 7.0.0
Here is the error I am getting:
error: Source parameter was not specified.
Here is my .csproj
file:
<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>netcoreapp3.1</TargetFramework></PropertyGroup><ItemGroup><PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="7.0.0" /><PackageReference Include="Braintree" Version="4.17.0" /><PackageReference Include="BraintreeHttp-Dotnet" Version="0.3.0" /><PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.4" /><PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.3"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets><PrivateAssets>all</PrivateAssets></PackageReference><PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.3"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets><PrivateAssets>all</PrivateAssets></PackageReference><PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.5.1" /><PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.3" /><PackageReference Include="PayPalCheckoutSdk" Version="1.0.3" /><PackageReference Include="PayPalHttp" Version="1.0.0" /><PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.5.1" /></ItemGroup></Project>
What am I missing here?