With a web project 'YYY', that has a reference on a class library project 'XXX', building in my dev environment worked like a charm, like all software should.
Now when I was building the same project in AzureDevops in order to deploy it in the préproduction environment, the build failed with a good lot of errors that looked a bit like this:
[...] Error CS0246: The type or namespace name 'XXX' could not be found (are you missing a using directive or an assembly reference?)
After having generated a C# REST client using the swagger-codegen java tool, I started using it in my application to send requests to the REST API. The usage of this client is very simple, all you have to do is instanciate an object and the call the apropriate method with the right parameters, no config required, plug'n'play style. Until you want to target an endpoint which is not the one from which the code was generated ... It gets a bit foggy then an somewhat lacks documentation regarding the "normal" way to do it.