Commit e911370
authored
fix: multi profile on scripting (#428)
## Solution to #289
Pass OutputPath dynamically via MSBuild command-line parameter instead
of hardcoding it in the .csproj file. This allows each build
configuration to output to its correct directory.
### Changes
1. **Nexo.csproj.in**:
- Removed hardcoded <OutputPath>
- Moved AppendTargetFrameworkToOutputPath settings to main PropertyGroup
2. **CMakeLists.txt**:
- Removed NEXO_MANAGED_OUTPUT_DIR_REL variable
- Added OutputPath=${CMAKE_BINARY_DIR} to dotnet build command
- Updated ADDITIONAL_CLEAN_FILES to use CMAKE_BINARY_DIR directly
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- Chores
- Aligned managed build outputs to support multi-configuration builds
and standardized cleanup to the new artifact location.
- Refactor
- Simplified project settings by consolidating output path handling and
removing redundant configuration.
- Notes
- No user-facing features or API changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->2 files changed
Lines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
| 64 | + | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
| 69 | + | |
71 | 70 | | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
0 commit comments