Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

Description

Adds *.exe to .gitignore to prevent accidental commits of executable files like nuget.exe.

Changes:

  • Added *.exe pattern to ignore all executable files
  • Added exceptions for existing test resource .exe files that must remain tracked:
    • src/libraries/System.Diagnostics.FileVersionInfo/tests/.../NativeConsoleApp.exe
    • src/libraries/System.Reflection.Metadata/tests/Resources/NetModule/AppCS.exe
    • src/libraries/System.Reflection.Metadata/tests/Resources/Misc/Signed.exe
Original prompt

copilot has an unfortunate habit of trying to merge nuget.exe into the repo. Please ensure that the .gitignore file ignores all .exe files.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copilot AI changed the title [WIP] Update .gitignore to exclude all .exe files Update .gitignore to ignore all .exe files Jan 15, 2026
Copilot AI requested a review from stephentoub January 15, 2026 16:22
@stephentoub stephentoub marked this pull request as ready for review January 15, 2026 16:31
Copilot AI review requested due to automatic review settings January 15, 2026 16:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@stephentoub stephentoub merged commit facd688 into main Jan 20, 2026
156 of 159 checks passed
@jkotas jkotas deleted the copilot/update-gitignore-to-ignore-exe branch January 20, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants