As I've found at this link from stackoverflow the reason behind this issue is:
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.
Ci build fails because of this error:
In the code this is represented by:
As I've found at this link from stackoverflow the reason behind this issue is:
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.