I am creating a self hosted web application with ASP.NET Core 3.1.
A front-end code for this app is built separately in a different repository and is built into a single assets folder.
A backend is and ASP.NET Core project that should have front-end part of the app in its web root folder as per current design.
I would like to have an efficient way of pulling the latest built assets into wwwroot. What would be the best option here?
I tried to package the front-end assets into a nuget package, but the only way to automatically bring in the static assets (not dlls for bin) into the project via nuget is by using a hacky .targets files technique which I didn’t quite got to work as I need.
Any other suggestions on how this challenge could be tackled are highly appreciated.