Jul 20, 2017 · 1 min read
Ironically, I stumbled upon the solution.
I added the build angular target which is under the deployment step. And pressing F5 ran it as expected and I was able to hit breakpoints.
I do suggest a change in that code however, so that it can adapt to how the user wants to build the application instead of forcing a prod build every time.
<Target Name=”Build Angular” BeforeTargets=”Build”>
<Message Text=”* * * * * * Building Angular App * * * * * *” Importance=”high” />
<Exec Command=”ng build $(Configuration)” />
</Target>
