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

Couldn't install from dotnet tool? #180

Open
hawkerm opened this issue Nov 7, 2024 · 0 comments
Open

Couldn't install from dotnet tool? #180

hawkerm opened this issue Nov 7, 2024 · 0 comments

Comments

@hawkerm
Copy link

hawkerm commented Nov 7, 2024

Hi, I'm glad to see someone carrying forward the original Wyam project.

I tried to install the tool though and got this error message:

dotnet tool install -g Wyam2.Tool
Tool 'wyam2.tool' failed to update due to the following:
The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.
Tool 'wyam2.tool' failed to install. Contact the tool author for assistance.

Not sure if some new configuration requirement is missing with the newer package?

Looking at the package Ids:

dotnet tool search Wyam

Package ID Latest Version Authors Downloads Verified

wyam.tool 2.2.9 Dave Glick, Other Awesome Contributors 67929 x
wyam2 3.0.0 Simona Avornicesei, Wyam2, and contributors 16671

It looks like it's wyam2 not wyam2.tool, so I did try that instead and it seemed to work:

dotnet tool install -g Wyam2
You can invoke the tool using the following command: wyam2
Tool 'wyam2' (version '3.0.0') was successfully installed.

So maybe just a documentation issue?

(I also had to set DOTNET_ROLL_FORWARD=Major in order to get the tool to run since I didn't have .NET Core 2.1 installed.)

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