Skip to content

Commit 7acb973

Browse files
committed
Update to latest .NET 10 which receives the file without 'run'
We also need to pass it as the first argument now.
1 parent d5efaf2 commit 7acb973

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/Core/RemoteRunner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ await AnsiConsole.Status().StartAsync($":open_file_folder: {location} :backhand_
8787
}
8888

8989
string[] runargs = aot
90-
? ["run", "-v:q", program, .. args]
91-
: ["run", "-v:q", "-p:PublishAot=false", program, .. args];
90+
? [program, "-v:q", .. args]
91+
: [program, "-v:q", "-p:PublishAot=false", .. args];
9292

9393
#if DEBUG
9494
AnsiConsole.MarkupLine($":rocket: {DotnetMuxer.Path.FullName} {string.Join(' ', runargs)}");

src/runcs/Properties/launchSettings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
"bitbucket": {
2020
"commandName": "Project",
2121
"commandLineArgs": "bitbucket.org/kzu/runcs@dev:program.cs"
22+
},
23+
"vault2secrets": {
24+
"commandName": "Project",
25+
"commandLineArgs": "kzu/run:vault2secrets.cs"
2226
}
2327
}
2428
}

0 commit comments

Comments
 (0)