question

Upvotes
Accepted
21 1 2 4

Redi C# Samples on github are not working

I was just trying out the Redi samples on github (https://github.com/Refinitiv-API-Samples/Example.REDI.CSharp.Examples) and found that most of them are in a state where they won't compile as is.

They're either missing AssemblyInfo.cs, a dependency (CommandLine, nuget please!), or the csproj file itself. Some of them also are built against versions of .net which are no longer supported by Microsoft (4.6).

Ideal world there would be a solution file at the root which contained the 7 projects, and they'd all target 4.7.2 (the long term support version within the framework family)

c#.netredi-apisample-code
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
21 1 2 4

Hi @zoya.farberov,

I've managed to get the samples to work. This is more to let you know that the samples themselves, as they're currently being published, are missing key files and require fixing before someone can use them. It's not exactly the best welcome mat for someone using the Redi API for the first time. (thankfully I'm not, it's just been a while..)

Given you were the last person to update the github, perhaps you should look at the actual code published there, open it in visual studio, fix the compilation errors, and push an update.

Cheers,

Peter


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
31.9k 38 11 19

Hello @peter.drier,

The REDI C# examples on GitHub are accompanying examples for REDI C# Tutorials, that include as first tutorial in C# section, Getting started in C# tutorial, discussing how to set up initially, namely, create a C# project in user specific environment and add pieces of code found on GitHub. The approach is common for all of the tutorials and examples made available.

Please give a try to the tutorial Getting started... and let us know if you continue facing the issue on building and running REDI C# examples?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.