Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"dotnet tool install --global Pickles.CommandLine --version 4.0.1" throws error "Settings file 'DotnetToolSettings.xml' was not found in the package" #635

Closed
gjveron opened this issue Jun 27, 2022 · 1 comment

Comments

@gjveron
Copy link

gjveron commented Jun 27, 2022

Description:

Cannot install Pickles.CommandLine as a global tool on Windows 10 Pro 21H2
The installation documentation used was: https://www.nuget.org/packages/Pickles.CommandLine

Steps:

  • Open a Powershell windows with admin privileges
  • Run the command "dotnet tool install --global Pickles.CommandLine --version 4.0.1"

Expected results:

  • The command run successfully, and pickles doc is available as a dotnet tool

Current Results:

  • Failure with message
PS C:\Windows\system32>  dotnet tool install --global Pickles.CommandLine --version 4.0.1
The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.
Tool 'pickles.commandline' failed to install. Contact the tool author for assistance.

Documentation describing "DotnetToolsSettings.xml":

Example tool where install command is working ok

@gjveron
Copy link
Author

gjveron commented Jun 27, 2022

Duplicated from #632

@gjveron gjveron closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant