Skip to content
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

Getting error on ConductorDotnetClient.Swagger.Api. #11

Open
jegadjame opened this issue Mar 22, 2022 · 4 comments
Open

Getting error on ConductorDotnetClient.Swagger.Api. #11

jegadjame opened this issue Mar 22, 2022 · 4 comments

Comments

@jegadjame
Copy link

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
Copy link
Collaborator

marius1 commented Mar 22, 2022

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
Copy link
Author

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

@marius1
Copy link
Collaborator

marius1 commented Mar 22, 2022

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
Copy link
Author

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

I guess there is problem with framework

Repository owner deleted a comment from officialarmannqureshi Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@marius1 @jegadjame and others