Skip to content

Commit 5872f02

Browse files
kzuCopilot
andcommitted
Use Project for default launch profile command name
Ensure the project-name entry written to Properties\\launchSettings.json uses the fixed commandName value expected by launch profiles instead of the MSBuild project name. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9b3c447 commit 5872f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SmallSharp/SmallSharp.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
</SortItems>
197197
<JsonPoke ContentPath="$(MSBuildProjectDirectory)\Properties\launchSettings.json"
198198
Query="$.profiles['$(MSBuildProjectName)'].commandName"
199-
Value="$(MSBuildProjectName)" />
199+
Value="Project" />
200200
<JsonPoke ContentPath="$(MSBuildProjectDirectory)\Properties\launchSettings.json"
201201
Query="$.profiles['%(SortedStartupFile.Filename)%(SortedStartupFile.Extension)'].commandName"
202202
Value="Project" />

0 commit comments

Comments
 (0)