To fix this issue I usually pick one and that one is the release build. I guess it doesn't really matter but I tend to think that when gather information about what will run in production it is best to test exactly what will go to production (this goes for analysis, profiling, benchmarking, etc.).
like below fixes the issue I don't know what the problem was, but for the sake of not leaving the question open, recreating the project and reimporting the files fixed it. Must've been some errant line in the build setting somewhere, even though I looked those over probably a dozen times.
Different build action for debug and release builds in Visual Studio
help you fix your problem Since plug-ins are usually in separate assemblies, I would create a separate project for each and every plug-in. For projects you can define whether to build in a configuration or not: In Visual Studio open the Configuration Manager (Menu Build). In the upper left combobox select the Release or Debug configuration and set the build checkboxes in the list ad libitum.
hope this fix your issue When we provide the Name Filter = Default agent. It takes whichever agent is available and continue with that agent. If we want to choose any specific agent we can use a simple assign activity just after get the build agent to choose the specific build agent as used below. agentsettings.name= "Agent name".
Ionic cordova build android –prod –release only builds a debug apk (app-debug.apk)