Cannot read property 'kind' of undefined while publish angular+.net core project in CI-CD azure devops
To solve this please downgrade to "0.2.4" (remove the caret ^ symbol).
Please see this thread for more info.
I had same issue and resoved by change the buildOptimizer: fale in angular.json file.
no need downgrade
Just Change
buildOptimizer: true
To
buildOptimizer: false
worked for me