Commit ed9b2bd
committed
fix: pass Configuration property to all ProjectReferences
The Integration.Tests projects were being built in Debug mode even when
the solution was built in Release mode, causing CycloneDX.MSBuild to be
built twice simultaneously (once in Release, once in Debug), resulting in
file locking on CycloneDX.MSBuild.deps.json.
Changes:
- Add Configuration=$(Configuration) to all Integration.Tests ProjectReferences
- Add Configuration=$(Configuration) to CycloneDX.MSBuild ProjectReference
- This ensures all referenced projects build with the same configuration
as the parent test project
Build output showed the problem:
1. CycloneDX.MSBuild -> .../bin/Release/... (correct)
2. CycloneDX.MSBuild -> .../bin/Debug/... (wrong - caused by Integration.Tests)
3. DisabledProject -> .../bin/Debug/... (wrong - should be Release)
Now all projects build with the same configuration, preventing simultaneous
Release and Debug builds of the shared dependency.1 parent 0cba86c commit ed9b2bd
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
0 commit comments