Repository navigation
Add netstandard2.0 target framework support for System.Xaml - #51
wieslawsoltes wants to merge 17 commits into
Conversation
|
We're in the process of setting up a new CI build now that the project is public on GitHub. You'll need to close and re-open this PR in order to kick things off once it is set up. I'll update you when this is complete, thanks! |
|
@wieslawsoltes this should be up and running now. can you please try closing and re-opening this pull request? Thanks! |
|
@stevenbrix rebased the PR to kick the CI 😄 |
|
CI fails because of this: |
|
@wieslawsoltes, FYI - just running build.cmd locally after cloning and checking out netstandard2.0 results in those same failures. |
|
I have pushed fix for CI errors.
I get this error when run build.cmd: |
|
Would it be better to target 2.1, so System.Xaml can start being optimized with |
@dotMorten I think using |
But that's not what you're targeting. For |
Do you have a full Visual Studio installation (2019 preview) on your development machine? |
@vatsan-madhavan No, I use VS2017 |
|
@vatsan-madhavan did you enable .NET Core preview SDK? |
This reverts commit 7ca2e4f.
|
The way you have added I want to note some considerations.
In general, I think we can continue looking at this PR, but since it will require some additional work to do builds and packaging differently, I've marked it as a future change. Our immediate/short-term goal is onboarding of additional WPF sources to the repo - for now that takes precedence over changes to build/packaging to enable System.Xaml on additional targets. cc @dotnet/wpf-developers |
karelz
left a comment
There was a problem hiding this comment.
We should remove new public APIs from this PR. That should be independent PR, which needs first an issue to follow API review process.
Note that the WPF team will likely have not bandwidth to accept new APIs during 3.0 timeframe (just setting expectations).

The
ValueSerializerAttributeis taken from:https://github.com/dotnet/corefx/blob/a10890f4ffe0fadf090c922578ba0e606ebdd16c/src/System.ObjectModel/src/System/Windows/Markup/ValueSerializerAttribute.cs
This is part of work needed to fix #46