Skip to content

Added the dashes after dotnet run to every call of the build script - #1222

Merged
SommerEngineering merged 2 commits into
MindWorkAI:mainfrom
SommerEngineering:document-flatpak-command-dashes
Nov 23, 2026
Merged

SommerEngineering merged 2 commits into
MindWorkAI:mainfrom
SommerEngineering:document-flatpak-command-dashes

Conversation

@SommerEngineering

Copy link
Copy Markdown
Member

Summary

dotnet run takes some options for itself before it starts the build script, among them -a/--arch and -p. For example, dotnet run flatpak --output <folder> --arch aarch64 therefore fails with NETSDK1083: dotnet run builds the build script for the runtime osx-aarch64 instead of passing --arch on to the command flatpak. 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: in documentation/Build.md, Models.md, and Tools.md, in the AGENTS.md files, CONTRIBUTING.md, and the pull request template, in the help text of the build script and the hint of verify, 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.md explains the dashes where the build script appears first, and once more for --arch of the command flatpak.

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-rids in app/Build, and dotnet run -- flatpak --output <folder> --arch aarch64 passed the option on, where the call without dashes failed. Checked both changed XML files with xmllint, and built TrimSmokeTest in Rider. The verify job of this pull request runs the quality gate with the new call.

Wiki

none

Required statements

  • Review: I have reviewed every change in this pull request and can explain it when asked.
  • License: I license my contribution in this pull request, including all commits I add to it later, under the MIT License, and I agree that it is distributed as part of MindWork AI Studio under the project license or under the MIT License.
  • Right to contribute: The contribution is my own work, or I have permission to submit it, including the consent of my employer or client where needed. To the best of my knowledge, it does not infringe the rights of others, and AI-generated parts do not reproduce third-party code under incompatible terms.
  • Changes by maintainers: I understand that the maintainers will change this pull request to fit the product, and that they may close it.

Credits (optional)

  • Credit me with my GitHub username only.
  • Do not credit me.

@SommerEngineering SommerEngineering self-assigned this Nov 23, 2026
@SommerEngineering
SommerEngineering marked this pull request as ready for review November 23, 2026 10:07
@SommerEngineering
SommerEngineering requested review from a team as code owners November 23, 2026 10:07
@SommerEngineering
SommerEngineering merged commit 6e94a93 into MindWorkAI:main Nov 23, 2026
11 checks passed
@SommerEngineering
SommerEngineering deleted the document-flatpak-command-dashes branch November 23, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant