-
Notifications
You must be signed in to change notification settings - Fork 810
fix: Improve copilot instructions with .NET 10.0 support and XAML theming guidelines #21394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: MartinZikmund <[email protected]>
|
dotnet-install.sh
.gitignore
Outdated
@@ -264,3 +264,6 @@ mergedstyles.xaml | |||
|
|||
!build/ci/publish | |||
/doc/articles/llms/llms-full.txt | |||
|
|||
# Prevent dotnet-install.sh from being committed | |||
dotnet-install.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Undo the changes to .gitignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Removed the dotnet-install.sh entry from .gitignore as requested in commit 0214173.
@copilot also update copilot instructions to take into account that we now also target .NET 10 alongside .NET 9 |
Co-authored-by: MartinZikmund <[email protected]>
… 9.0 Co-authored-by: MartinZikmund <[email protected]>
Updated the copilot instructions to support both .NET 10.0 (current) and .NET 9.0 (previous). The changes include:
Changes committed in 65344c9. |
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21394/docs/index.html |
@copilot add instructions that whenever a Samples app XAML sample is added, it should prefer to use |
Co-authored-by: MartinZikmund <[email protected]>
Added XAML theming guidelines to the copilot instructions. The guidelines specify using |
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21394/docs/index.html |
The Copilot agent was inadvertently committing
dotnet-install.sh
files to the repository when following the setup instructions in.github/copilot-instructions.md
. This occurred because the instructions directed the agent to download the .NET installation script to the current working directory, which is the repository root.Additionally, the instructions have been updated to reflect that the repository now targets both .NET 10.0 (current) and .NET 9.0 (previous) versions, and comprehensive XAML theming guidelines have been added for SamplesApp development.
Changes Made
Fixed dotnet-install.sh Download Location:
wget
command to downloaddotnet-install.sh
to/tmp
instead of the current directorywget https://dot.net/v1/dotnet-install.sh && chmod +x dotnet-install.sh && ./dotnet-install.sh --channel 9.0
wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh && chmod +x /tmp/dotnet-install.sh && /tmp/dotnet-install.sh --channel 10.0
Updated Copilot Instructions for .NET 10.0 Support:
wasm-tools-net9
andwasm-tools-net10
to workload installation commandsnet10.0
withnet9.0
as previous versionAdded XAML Theming Guidelines:
{ThemeResource}
colors in SamplesApp XAML samplesTesting
Verified that:
/tmp
This ensures the Copilot agent can install .NET as needed without polluting the repository with temporary installation scripts, properly supports both .NET versions used in the repository, and provides clear guidance for creating professional, theme-aware XAML samples.
Fixes #21393.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.