-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Exclude Directory.Build.rsp from .gitignore template #42401
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
Conversation
We normally freeze templates by preview 6 or so, so checking with the rest of the team about applicability here. I still think we should take this, but we have some old scars from the .NET 6 release that we're working with here :) |
Pinging here for latest status. If this is frozen until after .NET 9 that's fine, just want to make sure that:
|
Triage: Ping us again in ~2 weeks after we've forked a 9.0.1xx branch for .NET9 servicing. We'll take this for 10 so as to avoid any late template changes (noting that this one is probably lower risk that source changes that have typically been the focus). |
I think this has happened now, right? The build failure looks unrelated. |
@MiYanni yes, they should be free to merge this into main and the VMR failures are from the window when the ubuntu vmr leg had issues. Since there's no rush, I'd just rerun. |
Directory.Build.rsp is a [documented file][1] that allows setting default arguments to command line builds. However, our .gitignore template ignores _all_ `*.rsp` files. which causes confusion: 1. Devs write an .rsp file, and if they aren't being attentive forget to commit it 2. Adding it to git requires passing a `--force` flag to `git add`, which some devs mistake for a destructive or not-recommended action. Thus, explicitly allow the `Directory.Build.rsp` file. [1]: https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-response-files?view=vs-2022#directorybuildrsp
Thanks @MattKotsenas! |
Directory.Build.rsp
is a documented file that allows setting default arguments to command line builds. However, our .gitignore template ignores all*.rsp
files. which causes confusion:git add --force
, which some devs mistake for a destructive or not-recommended actionThus, explicitly allow the
Directory.Build.rsp
file.