Out of the box configuration works perfectly on my machine, no problems at all.
But when I deploy to our test environment - I get the following message
500 : { "Message": "An error has occurred." } /api/swagger/docs/v1
The deployment is to default web site/api
Im guessing it has something to do with the baseUrl or something like that, but I have no idea of even where to begin.
My routes work fine within the project - I can call all my webapi endpoints and they respond correctly.
any help would be much appreciated
When debugging I was using the debug config (Which I had generated XmlComments for: Properties -> build tab -> Output -> XML Documentation File)
I had not done this for my release configuration (duh...) - now everything works