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

Fix support of winui for net6+ #2222

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

Evangelink
Copy link
Member

When introducing net8.0 and net9.0, we broke the referencing of the specifically built dll. Instead of referencing the same dll multiple times, I have decided to update the target to copy the net6 one.

I will investigate separately the complexity and benefit of multi-targeting the netX-windowsY entries.

Fixes #2188

@abdes you should be able to modify the locally extracted NuGet package to apply the same change if you want to do some manual double checking. It works for me on the project shared in the linked issue.

When introducing net8.0 and net9.0, we broke the referencing of the
specifically built dll. Instead of referencing the same dll multiple
times, I have decided to update the target to copy the net6 one.

I will investigate separately the complexity and benefit of
multi-targeting the netX-windowsY entries.
@Evangelink
Copy link
Member Author

Known flaky test, I'll force merge.

@Evangelink Evangelink merged commit 509bdb1 into microsoft:main Jan 31, 2024
5 of 7 checks passed
@Evangelink Evangelink deleted the fix-winui branch January 31, 2024 18:49
@abdes
Copy link

abdes commented Jan 31, 2024

Confirmed @Evangelink , manually copying the WinUI directories from net-6.0 to net-8.0 eliminates the build errors and the tests run as before.

Evangelink added a commit that referenced this pull request Feb 6, 2024
When introducing net8.0 and net9.0, we broke the referencing of the
specifically built dll. Instead of referencing the same dll multiple
times, I have decided to update the target to copy the net6 one.

I will investigate separately the complexity and benefit of
multi-targeting the netX-windowsY entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: MSTest 3.2.0 breaks previously working code with 3.1.1 using UITestMethodAttribute
2 participants