Hi, we’re trying to install the x tool on a new machine, but it hangs endlessly. Added verbose logging and see the below. All other tools work so wondering if there is an issue with deployment?
Any package install issue is an issue with NuGet. All packages on NuGet are immutable and the last update to the x tool was 8 months ago and has been downloaded 26k times.
I was able to download the latest version without issue, so the issue would likely be a temporary network connectivity issue or a issue with one of their app servers.
BTW if you just want to Add/Update ServiceStack References you can now use the new npx get-dtos
script. Running it the first time will install and run the command. It should behave the same as the x
dotnet tool, just need to replace x
with npx get-dtos
, e.g:
Add C# DTOs:
npx get-dtos csharp https://localhost:5001
Update all C# DTOs
npx get-dtos csharp
Running npx get-dtos
without any commands will print help screen:
get-dtos <lang> Update all ServiceStack References in directory (recursive)
get-dtos <file> Update existing ServiceStack Reference (e.g. dtos.cs)
get-dtos <lang> <url> <file> Add ServiceStack Reference and save to file name
get-dtos csharp <url> Add C# ServiceStack Reference (Alias 'cs')
get-dtos typescript <url> Add TypeScript ServiceStack Reference (Alias 'ts')
get-dtos javascript <url> Add JavaScript ServiceStack Reference (Alias 'js')
get-dtos python <url> Add Python ServiceStack Reference (Alias 'py')
get-dtos dart <url> Add Dart ServiceStack Reference (Alias 'da')
get-dtos php <url> Add PHP ServiceStack Reference (Alias 'ph')
get-dtos java <url> Add Java ServiceStack Reference (Alias 'ja')
get-dtos kotlin <url> Add Kotlin ServiceStack Reference (Alias 'kt')
get-dtos swift <url> Add Swift ServiceStack Reference (Alias 'sw')
get-dtos fsharp <url> Add F# ServiceStack Reference (Alias 'fs')
get-dtos vbnet <url> Add VB.NET ServiceStack Reference (Alias 'vb')
get-dtos tsd <url> Add TypeScript Definition ServiceStack Reference
Options:
-h, --help, ? Print this message
-v, --version Print tool version version
--include <tag> Include all APIs in specified tag group
--qs <key=value> Add query string to Add ServiceStack Reference URL
--verbose Display verbose logging
--ignore-ssl-errors Ignore SSL Errors