I have an existing ASP.NET MVC 5 project that I will be retrofitting to use Angular. Using a new ASP.NET Core project with the Angular template, I've been able to configure the spa services so that it runs properly.
The problem I'm running into is that the Angular app doesn't build properly when you run the ASP.NET MVC app. If I run a ng build before running the ASP.NET MVC app, everything comes up just fine.
But when it's just the ASP.NET MVC build, typescript compiles, but it doesn't run ng build. I've tried putting the commands in prebuild with no luck.
Any suggestions on where to go from there would be appreciated, thanks!