unchase / Unchase.Odata.Connectedservice

:scroll: A Visual Studio extension for connecting to OData services with generating client-side C# proxy-classes
Apache License 2.0
44 stars 13 forks source link

Use from VS Code #9

Closed hkusulja closed 5 years ago

hkusulja commented 5 years ago

Once configured in Visual Studio 2019 , connected to Microsoft Dynamics 365 CRM Odata metadata endpoint. I need to be able to call your .exe from command prompt and use Visual Studio Code for further development. Please explain in docs how this can be achieved.

unchase commented 5 years ago

Hi, @hkusulja.

You just need to generate the client code using the Connected Service, and then open a project with it in Visual Studio Code. Or copy the generated files to Visual Studio Code.

hkusulja commented 5 years ago

@unchase but if I do not have Visual Studio 2019 at all, and using only VS Code?

unchase commented 5 years ago

The Connected Service is not exe-file. This is Visual Studio extension integrated into IDE. So, unfortunately, now does not support using it from VS Code. You need to generate client code once from VS 2017/2019 (Community version will do) and use it in VS Code. See how to.