Skip to content

Code Quality: Use PackageReference for vcxproj - #19076

Open
hoshiizumiya wants to merge 4 commits into
files-community:mainfrom
hoshiizumiya:PR
Open

hoshiizumiya wants to merge 4 commits into
files-community:mainfrom
hoshiizumiya:PR

Conversation

@hoshiizumiya

Copy link
Copy Markdown

note: You may need to manually use nuget/visual studio to restore the FilesAppLauncher then delete the old package folder. For example: nuget restore ".\Files\src\Files.App.Launcher\Files.App.Launcher.vcxproj"

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

  • Closes #

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Opened Files ...
  2. ...

note: You may need to manually use nuget/visual studio to restore the FilesAppLauncher then delete the old package folder. For example: `nuget restore ".\Files\src\Files.App.Launcher\Files.App.Launcher.vcxproj"`
@yair100
yair100 requested a review from hez2010 October 28, 2026 13:10
@yair100 yair100 added the ready for review Pull requests that are ready for review label Oct 28, 2026
@yair100 yair100 reopened this Oct 28, 2026
@yair100

yair100 commented Oct 28, 2026

Copy link
Copy Markdown
Member

Please read our contribution guidelines. That being said, we'll take a look at this.

@yair100 yair100 changed the title Use PackageReference for vcxproj Code Quality: Use PackageReference for vcxproj Oct 28, 2026
Comment thread src/Files.App.Launcher/Files.App.Launcher.vcxproj Outdated
@@ -1,6 +1,6 @@
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Assuming you're using Codex, don't change the line ending to CRLF to LF. Always run git diff --check

@hoshiizumiya hoshiizumiya Oct 28, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is a new line and added xml file's metadata. I'll remove it if you don't want.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done

Comment thread Directory.Packages.props Outdated
@@ -1,4 +1,4 @@
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As above.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is an UTF-8 BOM change

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@0x5bfa I'll remove it if you want to keep without BOM.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like it has been LF. Revert the BOM removal and please use CRLF instead.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Sorry, it's a truly BOM byte adding rather LF. I'll remove it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done, but I want to clarify I never changed the CRLF to CL or used CL line break.🤨

Comment thread src/Files.App.Launcher/Files.App.Launcher.vcxproj
@hoshiizumiya
hoshiizumiya requested a review from 0x5bfa October 28, 2026 14:15
@CLAassistant

CLAassistant commented Oct 28, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@0x5bfa 0x5bfa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@hez2010 hez2010 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This LGTM. Thanks!

Also please sign the CLA by clicking the button above so that we can merge this.

@hoshiizumiya

Copy link
Copy Markdown
Author
image Already signed. @hez2010 the bot may meet some trouble.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants