VS 2022 ServiceStackVS

Is there a ServiceStackVS for 2022 yet? If not is there a way to generate the DTOS files in command line?

No support for VS 2022 yet, you can still add/update ServiceStack References with the ‘x’ dotnet tool:

https://docs.servicestack.net/dotnet-tool#addupdate-servicestack-references

Thank you. That was what I was looking for.

1 Like

Now I am getting this.

The same command works in 2019

PS C:\Source\VS 2022\SPFM\Modular\SPFM.Data.Service.Core\testconsole> x cs http://validation.web-app.io
It was not possible to find any compatible framework version
The framework ‘Microsoft.AspNetCore.App’, version ‘5.0.0’ was not found.

  • No frameworks were found.

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:

Ahhh the joys of being a pioneer (arrows in the back)
OK
The problem seems to stem from Developer Power Shell. Runs fine in the command window. I believe it is going to be related to the pathing. Will post back here if / when I find it.

1 Like