Skip to content

Couldn't install from dotnet tool? #180

@hawkerm

Description

@hawkerm

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions