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

libman command error after installed the Microsoft.Web.LibraryManager.Cli #727

Open
CoderLittleChen opened this issue Mar 3, 2024 · 1 comment

Comments

@CoderLittleChen
Copy link

Describe the bug

libman command error

To Reproduce

Steps to reproduce the behavior:

  1. dotnet tool install -g Microsoft.Web.LibraryManager.Cli
  2. libman
  3. See error

Expected behavior

show libman related info

Screenshots

image

Additional context

Visual Studio 2022 professional 17.9.1
Microsoft.Web.LibraryManager 2.1.175

@jimmylewis
Copy link
Contributor

hostfxr.dll not found indicates it can't find the correct runtime installed (the libman CLI tool is a framework dependent app, not self-contained). However, libman has roll-forward enabled, so it should run with any installed runtime.

What output do you get with dotnet --list-runtimes? And is it possible you've set the DOTNET_ROLL_FORWARD environment variable to disable the config setting?

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

2 participants