I have created two .NET Core 2.1 web APIs. The one I made like a year ago publishes correctly: Contents of a folder of a working api
The one I made this week lacks the "runtimes" folder and also has much fewer files: Contents of a folder of a non working api
I publish the projects into a folder and then copy the files into an appropriate folder on our IIS server.
I can remember that I had problems with publishing year ago with the project that now works, but I can't remember how I made it work. I am using Visual Studio 2019. Both of these apps are being published in the Release configuration. Any ideas?
2.1m questions
2.1m answers
60 comments
57.0k users