-
Notifications
You must be signed in to change notification settings - Fork 237
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
DirectoryNotFoundException using dotnet tool install -g CS-Script #369
Comments
Hm... interesting. It is a .NET error. The call stack there is all .NET API. Though, on my system, it throws the same error. This discussion suggests that this type of error is raised when the package spec does not indicate the correct package type: dotnet/sdk#37010 Though cs-script package does have the correct type: Unless they have changed the package type value again. Will need to dig into it. |
WOW, not sure what is going on in the NuGet land. Installing the the first, latest and some intermediate versions works just fine: Note the last install on the screenshot, |
OMG You and I have made the same mistake. We were trying to install not a tool but a package (a class library) .NET Tool: Well, that is a complete solution to the problem :) |
dotnet tool install -g CS-Script
I dont know if this is related to the cs-script package or something wrong with dotnet tool installer.
C:\Users\Kay\.dotnet\tools.store
exists and is active used for the other tools.The text was updated successfully, but these errors were encountered: