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

Feature/decouple xaml code add net6 0 #358

Merged
merged 19 commits into from
Dec 8, 2021

Conversation

codebude
Copy link
Owner

@codebude codebude commented Dec 7, 2021

Summary
This PR decouples QRCoder and XamlQRCoder. By moving XamlQRCode into an own subproject (QRCoder.Xaml) and into an own NuGet package, we can remove the Microsoft.WindowsDesktop.App dependencies which may lead to trouble on net5.0-windows and net6.0-windows targets as described in #353.
In addition net6.0 and net6.0-windows are added as targets to exclude System.Drawing references on non-Windows platforms for target net6.0.

This PR (hopefully) fixes the following bugs/features:

  • Decoupling of QRCoder and XamlQRCode
  • net6.0 and net6.0-windows as new target frameworks (to avoid problems with System.Drawing)
  • Refactoring of function calls to functions marked as obsolete
  • Clean-up and slight refactoring of demo projects

Test plan
Assertion for merge: Build job should pass all tests successfully.

Related issues
This pull request relates to #353, #354 and (probably) #356.

@codebude codebude merged commit 4c51854 into master Dec 8, 2021
@codebude codebude deleted the feature/decouple-xaml-code-add-net6_0 branch December 12, 2021 11:52
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.

2 participants