Repository navigation
Added the dashes after dotnet run to every call of the build script - #1222
Merged
SommerEngineering merged 2 commits intoNov 23, 2026
Merged
SommerEngineering merged 2 commits into
SommerEngineering merged 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dotnet runtakes some options for itself before it starts the build script, among them-a/--archand-p. For example,dotnet run flatpak --output <folder> --arch aarch64therefore fails with NETSDK1083:dotnet runbuilds the build script for the runtimeosx-aarch64instead of passing--archon to the commandflatpak. With two dashes,dotnet run -- <command>, everything after them reaches the build script unchanged.This pull request uses
dotnet run -- <command>for every call and mention of the build script: indocumentation/Build.md,Models.md, andTools.md, in theAGENTS.mdfiles,CONTRIBUTING.md, and the pull request template, in the help text of the build script and the hint ofverify, in the PDFium error messages of the runtime, in the quality gate of the GitHub workflow, and in the Rider run configuration "Collect I18N content".documentation/Build.mdexplains the dashes where the build script appears first, and once more for--archof the commandflatpak.A second commit rephrases a comment in
TrimSmokeTest.csproj: XML refuses--inside comments, and Rider could no longer load the project.Related proposal or issue
none
How did you test it?
Built the build script in Rider and the runtime in RustRover. Ran
dotnet run -- check-ridsinapp/Build, anddotnet run -- flatpak --output <folder> --arch aarch64passed the option on, where the call without dashes failed. Checked both changed XML files with xmllint, and builtTrimSmokeTestin Rider. Theverifyjob of this pull request runs the quality gate with the new call.Wiki
none
Required statements
Credits (optional)