Skip to content

Commit

Permalink
chore: modify GeneratorSandbox project launch settings
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Feb 17, 2025
1 parent 0259c36 commit c4a86c0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sandbox/GeneratorSandbox/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
// services.Configure<PositionOptions>(configuration.GetSection("Position"));
// });


args = ["run", "--project", "foo.csproj", "--", "--foo", "100", "--bar", "bazbaz"];
//// Uncomment following line to overwrite args.
// args = ["run", "--project", "foo.csproj", "--", "--foo", "100", "--bar", "bazbaz"];

// dotnet run --project foo.csproj -- --foo 100 --bar bazbaz

Expand Down
20 changes: 20 additions & 0 deletions sandbox/GeneratorSandbox/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"profiles": {
"Default": {
"commandName": "Project",
"commandLineArgs": "run --project foo.csproj -- --foo 100 --bar bazbaz"
},
"ShowVersion": {
"commandName": "Project",
"commandLineArgs": "--version"
},
"ShowRootCommandHelp": {
"commandName": "Project",
"commandLineArgs": "--help"
},
"ShowRunCommandHelp": {
"commandName": "Project",
"commandLineArgs": "run --help"
}
}
}

0 comments on commit c4a86c0

Please sign in to comment.