I have followed this tutorial: https://learn.microsoft.com/en-us/visualstudio/javascript/tutorial-asp-net-core-with-angular?view=vs-2022
I have created a solution containing a backend ASP.NET Core and angular client application.
For publish, I tried publishing to a folder and to a remote IIS server, but in both instances, only the ASP.NET is packed. In the publish output, I see that the angular app is being built, and I can run both from Visual Studio, but it just doesn't pack the files in the publish.
I also tried setting the output of angular into wwwroot folder of the backend app, it didn't do anything.