Skip to content

Commit d38dd8e

Browse files
committed
Update launch settings to target artifacts folder
1 parent d746ebe commit d38dd8e

File tree

16 files changed

+50
-30
lines changed

16 files changed

+50
-30
lines changed

Bonsai.Audio/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Design.Visualizers/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Dsp.Design/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Dsp/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Osc/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Scripting.Expressions.Design/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Scripting.Expressions/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Shaders.Design/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Shaders.Rendering/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Shaders/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.System.Design/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.System/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Vision.Design/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Vision/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

Bonsai.Windows.Input/Properties/launchSettings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"profiles": {
33
"Bonsai": {
44
"commandName": "Executable",
5-
"executablePath": "$(SolutionDir)Bonsai/bin/$(Configuration)/net472/Bonsai.exe",
6-
"commandLineArgs": "--lib:$(TargetDir)."
5+
"executablePath": "$(BonsaiExecutablePath)",
6+
"commandLineArgs": "--lib:\"$(TargetDir).\"",
7+
"nativeDebugging": true
78
}
89
}
910
}

tooling/Common.props

+5
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@
3434

3535
<PackageOutputPath>$(ArtifactsPath)/package/$(Configuration.ToLowerInvariant())</PackageOutputPath>
3636
</PropertyGroup>
37+
38+
<!-- For configuring launchSettings.json we cannot use property functions so we need to resolve the bootstrapper output path here -->
39+
<PropertyGroup>
40+
<BonsaiExecutablePath>$(ArtifactsPath)/bin/Bonsai/$(Configuration.ToLowerInvariant())/Bonsai.exe</BonsaiExecutablePath>
41+
</PropertyGroup>
3742
</Project>

0 commit comments

Comments
 (0)