Conversation
Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com>
|
@copilot - This doesn't belong in the system requirements doc. Make a new doc file for cross building. Add a new readme to the documentation directory to use as a table of contents for all the docs. |
…d ToC Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com>
Done in 2bdbf2d. Created |
…, and arm64 example Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com>
|
In the current state, it is not capturing the reality, but rather confusing the reader. There are several types of cross-building in .NET:
Separately, there is the ROOTFS_DIR-based class of cross builds used for certain Linux and Unix targets. @akoeplinger, @mthalman, please ping copilot so it reads this comment (I'm not in the group of copilot instructors so it will ignore the comment by default). In the sea of "cross build related documentation", the last sentence of previous paragraph is a tiny gotcha, so it's better if document represents it as such and not make it a centerpiece. |
|
Supported .NET Cross-Build Scenarios:
|
|
@copilot - Incorporate comments from #5501 (comment) and #5501 (comment) |
… foreign-ROOTFS case as gotcha Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com>
Done in b247112. The doc now:
|
|
@am11 - Can you take another look with these updates? |
|
One nit, otherwise looks good. Thanks! 🤖 |
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Adds documentation covering .NET cross-building scenarios and clarifies when
/p:CrossBuild=truemust be explicitly provided.Changes
Documentation/cross-building.md(new): Dedicated cross-building document covering:CrossBuild=trueis inferred automatically/p:CrossBuild=true: building for the same OS/architecture as the host but using a foreign sysroot (e.g.linux-x64inside anazurelinux-3.0-net10.0-cross-amd64container)Documentation/README.md(new): Table of contents for all documents in theDocumentation/directory, organized into "Building .NET from Source" and "Maintaining Source-Build" sections.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.