You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Template Launch Settings.json break Visual Studio 26 #1084
Project from Template has an error in the launchsettings.json
Project: WinUIAppReactorTest.csproj
LimitedFunctionality
System.AggregateException: One or more errors occurred.
---> (Inner Exception #0) System.Exception: Errors in 'C:\source\github\Ed-bb\WinUIAppReactorTest\WinUIAppReactorTest\Properties\launchSettings.json' need to be corrected before applying changes. Error message:
An element with the same key but a different value already exists. Key: '//'
Key: '//' might be a intended as a comment which should be // at the start of the line
An error in the launch settings file needs to be corrected before you
can run the WnUlAppReactorTest' project. An element with the same
key but a different value already exists. Key: Please see the error
list for details.
Steps to reproduce
Create a template WinUIReactor using the template.
I dug into this: the generated launchSettings.json (from tools/Templates/templates/WinUIApp-CSharp/Properties/launchSettings.json) has six JSON properties all using the same key "//", which is invalid/ambiguous per the JSON spec and matches the reported error. This has been present since the file was introduced in commit f810c02 and doesn't appear elsewhere in the repo.
There are a few possible fixes (real comments if the parser supports them, an array under one key, moving the docs elsewhere) — I don't have enough context on this project's conventions to pick one.
Activity
a0556775895-lgtm commentedon Aug 10, 2026
I dug into this: the generated launchSettings.json (from tools/Templates/templates/WinUIApp-CSharp/Properties/launchSettings.json) has six JSON properties all using the same key "//", which is invalid/ambiguous per the JSON spec and matches the reported error. This has been present since the file was introduced in commit f810c02 and doesn't appear elsewhere in the repo.
There are a few possible fixes (real comments if the parser supports them, an array under one key, moving the docs elsewhere) — I don't have enough context on this project's conventions to pick one.
Prepare the 0.1.0-preview.14 release (#1168)