Skip to content

Commit

Permalink
Merge pull request #1923 from glopesdev/issue-1920
Browse files Browse the repository at this point in the history
Update launch settings to target artifacts folder
  • Loading branch information
glopesdev authored Jul 21, 2024
2 parents d746ebe + d38dd8e commit c18b544
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 30 deletions.
5 changes: 3 additions & 2 deletions Bonsai.Audio/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Design.Visualizers/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Dsp.Design/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Dsp/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Osc/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Scripting.Expressions/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Shaders.Design/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Shaders.Rendering/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Shaders/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.System.Design/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.System/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Vision.Design/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Vision/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 3 additions & 2 deletions Bonsai.Windows.Input/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"profiles": {
"Bonsai": {
"commandName": "Executable",
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
"commandLineArgs": "--lib:$(TargetDir)."
"executablePath": "$(BonsaiExecutablePath)",
"commandLineArgs": "--lib:\"$(TargetDir).\"",
"nativeDebugging": true
}
}
}
5 changes: 5 additions & 0 deletions tooling/Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@

<PackageOutputPath>$(ArtifactsPath)/package/$(Configuration.ToLowerInvariant())</PackageOutputPath>
</PropertyGroup>

<!-- For configuring launchSettings.json we cannot use property functions so we need to resolve the bootstrapper output path here -->
<PropertyGroup>
<BonsaiExecutablePath>$(ArtifactsPath)/bin/Bonsai/$(Configuration.ToLowerInvariant())/Bonsai.exe</BonsaiExecutablePath>
</PropertyGroup>
</Project>

0 comments on commit c18b544

Please sign in to comment.