Replies: 1 comment 2 replies
-
.NET Standard does not include any WPF API. If you need to use dependency properties/dispatcher/elements etc. you need to dual target. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I would like to build a library with some WPF functionality that should be avilable on both
net462
+ andnet6
+ I have to dual target the library.But would it make sense to be able to target the library as
netstandard2.0
? I mean,netstandard2.0
is least common denominator fornet462
andnetcoreapp3.1
, and by targeting it tonetstandard2.0
, you would have a package that would go directly into every target framework, that supportsnetstandard2.0
.Beta Was this translation helpful? Give feedback.
All reactions