Skip to content

Change TFM version to net7.0#5901

Merged
singhashish-wpf merged 6 commits intodotnet:mainfrom
singhashish-wpf:tfm7.0change
Jan 7, 2022
Merged

Change TFM version to net7.0#5901
singhashish-wpf merged 6 commits intodotnet:mainfrom
singhashish-wpf:tfm7.0change

Conversation

@singhashish-wpf
Copy link
Contributor

Fixes #5801

Main PR

Description

Change Target Framework Version to net7.0 and move TargetFramework to Directory.Build.Props.

Customer Impact

None

Regression

None

Testing

CI Build

Risk

None

@singhashish-wpf singhashish-wpf requested a review from a team as a code owner January 3, 2022 11:39
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Jan 3, 2022
@ghost ghost requested review from SamBent, fabiant3 and ryalanms January 3, 2022 11:39
Copy link
Member

@dreddy-work dreddy-work left a comment

Choose a reason for hiding this comment

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

Failures seems to be with the flow defined in this: #4605. I yet to understand this flow and meanwhile, adding the owner @RussKie if he gets a chance ( he is on vacation now ). Otherwise, I will take a look again sometime this week to understand why thos eimports or props missing.

global.json Outdated
"$(VSRedistCommonNetCoreSharedFrameworkx6460PackageVersion)"
]
"tools": {
"dotnet": "7.0.100-alpha.1.21620.6",
Copy link
Member

Choose a reason for hiding this comment

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

go with 7.0.100-alpha.1.22053.1 . an updated one available and winforms adapted this. So we can be in sync.

@ThomasGoulet73
Copy link
Contributor

ThomasGoulet73 commented Jan 4, 2022

Updating https://github.com/singhashish-wpf/wpf/blob/tfm7.0change/eng/WpfArcadeSdk/tools/SdkReferences.targets#L9 should fix the build error. It's missing Or '$(TargetFrameworkVersion)' == 'v7.0' which prevents Microsoft.Private.Winforms from being imported.

EDIT:
Turns out that there is a couple more changes necessary. I created a patch that you can apply if you want: https://gist.github.com/ThomasGoulet73/65ed09f88e4a985d816882ad6f31184a

@RussKie
Copy link
Contributor

RussKie commented Jan 4, 2022 via email

@ThomasGoulet73
Copy link
Contributor

ThomasGoulet73 commented Jan 5, 2022

I opened #5910 which would reduce the diff if it's merged before this PR (Removes the need to update some changes in SdkReferences.targets and a couple other files).

@singhashish-wpf
Copy link
Contributor Author

@RussKie @dreddy-work
This is also failing locally, with the accessibility related errors, this is from the winforms private package. I see that the is already present in the corresponding csproj files.
Do we have anything more to be modified from WPF side to import it properly?

@ThomasGoulet73
Copy link
Contributor

Copy link
Member

@dreddy-work dreddy-work left a comment

Choose a reason for hiding this comment

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

LGTM. lets get this propagated and unblock winfomrs to verify further.

@singhashish-wpf singhashish-wpf merged commit fbaaa43 into dotnet:main Jan 7, 2022
@singhashish-wpf singhashish-wpf self-assigned this Feb 25, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Switch to net7.0 tfm

5 participants