I used the libman package manager on Visual Studio 2022 very well, however, the libman freezes in package console manager for a long time today when I use the libman init
command.
The libman --version works well.
PM> libman --version
2.1.161 abc97ecc7d.RR
I found the similar problem in the
CodePudding user response:
There are two ways to work around this:
- Use a different console. As mentioned in the VS Developer Community issue:
But the Package Manager Console isn't a real command line, and doesn't provide the ability for a program to read input.
- Avoid any prompts for user input. For
libman init
, add the-y
or--useDefault
parameter. Forlibman install
, make sure you have provided the provider name and destination path libman.json file (using thedefaultProvider
anddefaultDestination
properties), or as parameters (seelibman install --help
).