Skip to content
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

Code Quality: Bump CsWin32 to latest available #15637

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

AArnott
Copy link
Contributor

@AArnott AArnott commented Jun 20, 2024

This simplifies some of our code, and eliminates the compiler warnings we saw from the Files.App.Server project due to that version being particularly old.

Resolved / Related Issues

I'm actually volunteering this PR in response to an issue a Files community member filed against CsWin32, when it actually wasn't a bug there, but just old code in this repo.

Steps used to test these changes

I launched the program according to your README file, but the Files.App.Server.dll apparently never even loaded, so I don't know how to test it.

This simplifies some of our code, and eliminates the compiler warnings we saw from the `Files.App.Server` project due to that version being particularly old.
@yaira2 yaira2 requested a review from 0x5bfa June 20, 2024 19:52
@yaira2 yaira2 changed the title Fix: Bump CsWin32 to latest available Code Quality: Bump CsWin32 to latest available Jun 20, 2024
@0x5bfa
Copy link
Member

0x5bfa commented Jun 20, 2024

apparently never even loaded, so I don't know how to test it.

Thank you for testing, we have disabled to launch this server in order not to drop Admin launch (WinRT out-of-process apparently doesn't support RunAs).

Copy link
Member

@0x5bfa 0x5bfa left a comment

Choose a reason for hiding this comment

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

Code wise, LGTM.
@hez2010 fyi.

Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

Works well on my side, thank you for contributing this fix!

@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Jun 20, 2024
@yaira2 yaira2 merged commit 98a1ed6 into files-community:main Jun 20, 2024
6 checks passed
@AArnott AArnott deleted the updateCsWin32 branch June 20, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code Quality: Use WinMdRoot instead of winmdroot to supress CS8981 (type name is ASCII lowercase only)
3 participants