MicroFocus / alm-octane-csharp-rest-sdk

Other
4 stars 6 forks source link

adds setter for private varibales in order to pass the ci build #37

Closed kdrtibor closed 6 years ago

kdrtibor commented 6 years ago

Ci build fails because of this error: image

In the code this is represented by: image

As I've found at this link from stackoverflow the reason behind this issue is: stackoverflow

to which this seems to be the solution:

A more modern scenario for receiving this error is building code that uses C#6 syntax using a version of VisualStudio that is less than VS 2015 (or using MsBuild that is less than 14).

In C#6.0 it is allowable to have autoProperties that do not have a setter (they are assumed to be a private set).

Try compiling with VS2015+ or msbuild 14+ .. or modify the code so that all autoProperties have a setter.