I have TFS vNext build setup but when I run with Multiconfiguration option I want Debug mode to run first and then Release mode. However, I change the settings it always runs Release mode first.
Asked
Active
Viewed 37 times
1
-
Can you explain why the order matters? It's going to be two unrelated builds regardless of the order they run in. – Daniel Mann Apr 26 '19 at 18:40
-
I have a lot of .csproj pointing to x64/obj/Debug as path references which indeed needs the solutions to get built in Debug mode and then Release mode to have the required DLLs already IN there. – rhp30 Apr 30 '19 at 14:21
-
Then I guarantee you that what you're trying to do **will not work**. Each build runs in a separate location that has outputs cleaned prior to running. Your projects should build everything needed or use some sort of versioned package mechanism like NuGet to share binary dependencies. – Daniel Mann Apr 30 '19 at 15:11
-
I agree with that. I have a few NuGet package created and consuming from that. But for these its a lot of work eventually I have to move everything to NuGet. Addtionally I was able to figure out and now all my builds run as Debug mode first and Release mode second. I changed the order of $(BuildConfiguration) variable to Debug,Release and it works fine for me now. – rhp30 May 01 '19 at 17:47