-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add netstandard2.0 target framework support for System.Xaml #51
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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).
src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlSchemaContext.cs
Outdated
Show resolved
Hide resolved
This reverts commit cee209c.
The
ValueSerializerAttribute
is 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