Skip to content

Update to CsWinRT 1.5.0-prerelease#2016

Merged
j0shuams merged 2 commits intomicrosoft:mainfrom
j0shuams:jlarkin/cswinrt-150
Jan 28, 2022
Merged

Update to CsWinRT 1.5.0-prerelease#2016
j0shuams merged 2 commits intomicrosoft:mainfrom
j0shuams:jlarkin/cswinrt-150

Conversation

@j0shuams
Copy link
Copy Markdown
Contributor

@j0shuams j0shuams commented Jan 25, 2022

C#/WinRT started using Maestro to distribute updates automatically, and given this was our first time there were some bumps in the road. We have addressed these and should have less manual work to do next time. For now, I propose we use this PR instead of the one here: #2010

The linked PR has incorrect version updates. Also, this PR needs to be merged AFTER the one here: #2015

This is because PR #2015 changes how one of the variables is used -- the variable is CsWinRTDependencyWindowsSdkPackagePackageVersion.

You'll notice the variable doesn't store a full Windows version, instead it holds the last number used in the Windows SDK package version. This is the number that tells which CsWinRT generated projection to use.

@ghost ghost added the needs-triage label Jan 25, 2022
@j0shuams j0shuams changed the title Update to CsWinRT 1.5.0 Update to CsWinRT 1.5.0-preview Jan 25, 2022
@j0shuams j0shuams requested a review from kythant January 25, 2022 19:16
@manodasanW
Copy link
Copy Markdown
Member

We should rebase this branch once we merge the other PR.

@j0shuams j0shuams changed the title Update to CsWinRT 1.5.0-preview Update to CsWinRT 1.5.0-prerelease Jan 25, 2022
@DrusTheAxe
Copy link
Copy Markdown
Member

Any build warnings or errors from this?

Currently I see this multiples of this pair of warnings for dev\Projections*

...\WinRT_Interop.cs(47,23): Warning CS0169: The field 'IReferenceTrackerTargetVftbl._Peg' is never used
...\WinRT_Interop.cs(48,23): Warning CS0169: The field 'IReferenceTrackerTargetVftbl._Unpeg' is never used

Will this PR fix that?

@manodasanW
Copy link
Copy Markdown
Member

Any build warnings or errors from this?

Currently I see this multiples of this pair of warnings for dev\Projections*

...\WinRT_Interop.cs(47,23): Warning CS0169: The field 'IReferenceTrackerTargetVftbl._Peg' is never used
...\WinRT_Interop.cs(48,23): Warning CS0169: The field 'IReferenceTrackerTargetVftbl._Unpeg' is never used

Will this PR fix that?

That should be fixed in this version of CsWinRT.

@j0shuams
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@j0shuams j0shuams merged commit 3d773e8 into microsoft:main Jan 28, 2022
@j0shuams j0shuams deleted the jlarkin/cswinrt-150 branch January 28, 2022 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants