You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Wanted to use dotnet tool restore to easily install all tools required by our CI and manage them all via a manifest vs. specific install commands everywhere (as we also wanted to use in git hooks as well).
Trying to run XamlStyler.Console as a dotnet local tool is failing to run properly (tried in PowerShell and in commandline). Validated that using a global install works, so problem seems to be specific to trying to run as a local tool.
Describe the bug
Wanted to use
dotnet tool restore
to easily install all tools required by our CI and manage them all via a manifest vs. specific install commands everywhere (as we also wanted to use in git hooks as well).Trying to run XamlStyler.Console as a dotnet local tool is failing to run properly (tried in PowerShell and in commandline). Validated that using a global install works, so problem seems to be specific to trying to run as a local tool.
To Reproduce
Steps to reproduce the behavior:
dotnet tool install XamlStyler.Console
dotnet tool run xstyler -r -d . -p -c .\settings.xamlstyler -l Debug
Error: Must specify file(s) or directory
Note: if you install the global tool and just run
xstyler -r -d . -p -c .\settings.xamlstyler -l Debug
with the same line, it works fine.Expected behavior
Xstyler still able to run as a dotnet local tool.
Screenshots
If applicable, add screenshots to help explain your problem.
Global tool installed and runs:
Local tool installed and doesn't run:
External Configuration
If you are using an external configuration, please attach to help reproduce the issue.
Version Info (please complete the following information):
The text was updated successfully, but these errors were encountered: