Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
273 views
in Technique[技术] by (71.8m points)

c# - Publishing a asp .net core 2.1 web app doesn't create runtimes

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?

question from:https://stackoverflow.com/questions/65888965/publishing-a-asp-net-core-2-1-web-app-doesnt-create-runtimes

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...