courosh12 / conductor-dotnet-client

Dotnet standard client for Netflix Conductor
MIT License
8 stars 5 forks source link

Getting error on ConductorDotnetClient.Swagger.Api. #11

Open jegadjame opened 2 years ago

jegadjame commented 2 years ago

Hi, I have downloaded the entire solution and when i try to build the solution, I am getting below error

The command "dotnet nswag run nswag.json /variables:InputSwagger=conductor-swagger.json,ClientName=ConductorRest,ClientNamespace=ConductorDotnetClient.Swagger.Api,GeneratedSwaggerClientFile=obj\Debug\netstandard2.0\ConductorDotnetClient.Swagger.Api.ConductorRestClient.cs" exited with code -2147450730. ConductorDotnetClient.Swagger.Api

marius1 commented 2 years ago

I just cloned it, did a dotnet build and it compiled just fine. Maybe you can run that command by itself and see if you get a more descriptive error.

jegadjame commented 2 years ago

I am trying from visual studio 2019. Where should i run the command

marius1 commented 2 years ago

From the command line in the root of the project. So you can try running dotnet nswag run nswag.json /variables:InputSwagger=conductor-swagger.json,ClientName=ConductorRest,ClientNamespace=ConductorDotnetClient.Swagger.Api,GeneratedSwaggerClientFile=obj\Debug\netstandard2.0\ConductorDotnetClient.Swagger.Api.ConductorRestClient.cs in the folder you cloned the project and see if that tells you anything.

The following is what I tried:

git clone https://github.com/courosh12/conductor-dotnet-client.git
cd conductor-dotnet-client
dotnet build
jegadjame commented 2 years ago

Hi, I think i am getting same error even when i try through command prompt.

Capture

I guess there is problem with framework