API Support Forum
OEC API > API Support > Advanced Example
Author Topic: Advanced Example
(5 messages, Page 1 of 1)
Moderators: VPfau
DRyaboshapka
Posts: 7
Joined: Aug 31, 2020


Posted: Sep 02, 2020 @ 12:39 PM             Msg. 1 of 5
Hello,

I'm mostly a Python programmer on *NIX systems with little background in .NET. I cloned the Basic and Advanced Examples from bitbucket and have tried many different ways to run the applications with build errors occurring. I have .NET 4.8 and .NET Core 3.1. I clone, cd into the root directory, and tried dotnet run (and dotnet add GF API). I can send a picture/log of the build errors if needed. Basically OrderLinksControl.cs can't locate the GF Api namespace, even though I can run the sample summary code and connect to GF servers.

Is there a standard way of building .NET applications after cloning? Sorry for the newbie questions
JSmith5611
Posts: 187
Joined:


Posted: Sep 02, 2020 @ 02:34 PM             Msg. 2 of 5
We here do our compiling using visual studio... I don't think any of us have tried dotnet run or similar commands.. Nor have we tested under mono (i'm guessing that one since you said you work on *NIX)
Jason Smith
DRyaboshapka
Posts: 7
Joined: Aug 31, 2020


Posted: Sep 02, 2020 @ 05:19 PM             Msg. 3 of 5
I'm using visual studio as well..... If you don't mind me asking, how would you compile the examples hosted here (https://bitbucket.org/%7Bceed7364-bb21-483b-9227-0e5812555824%7D/)
JSmith5611
Posts: 187
Joined:


Posted: Sep 03, 2020 @ 07:14 AM             Msg. 4 of 5
I just made sure i had the latest of the advanced example, ran 'git clean -fdx' to remove all temporary files and directories.

Opened the .sln file in Visual studio 2017 and 2019 and did a full rebuild.. worked fine both times.
Jason Smith
DRyaboshapka
Posts: 7
Joined: Aug 31, 2020


Posted: Sep 03, 2020 @ 07:30 AM             Msg. 5 of 5
Thanks!