You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish System.Xaml as a separate nuget package. #46
There is a lot of code in production that uses System.Xaml separetely from WPF on server-side for purposes that aren't related to UI in any way, shape or form.
It's worth as a separate package and will be useful right now even without .NET Core 3.0 and working WPF.
I believe it could be shipped for netstandard2.0 to make it useful in .NET Standard libraries.
Reacted by Roman Bukin, Vlad Khapin, Павло, Evgeniy Andreev, Kirill Fimchenko, Viktor Svyatokha, Abylay, Wiesław Šoltés, jjjj, Evgeny and 88 more
Reacted by Roman Bukin, Friedrich von Never, Wiesław Šoltés, Max Katz, Anatoly Popov, Dmitriy, Mokeev Andrey, Akihiko Odaki, Maximilian Irlinger, Artyom V. Gorchakov and 3 more
Reacted by Jeremy Koritzinsky, ahopper, Wiesław Šoltés, Roman Bukin, Vlad Khapin, Evgeniy Andreev, Jumar Macato, Friedrich von Never, Max Katz, Anatoly Popov and 8 more
Reacted by Roman Bukin, Wiesław Šoltés, Friedrich von Never, Max Katz, Anatoly Popov, Ryouko Konpaku, Mokeev Andrey, Akihiko Odaki, Maximilian Irlinger, Magnus Österlund and 9 more
Just FYI: Having System.Xaml as separate package (while it is part of Desktop UI shared framework shipping in the .NET Core platform) brings a set of non-trivial challenges (CoreFX repo had plenty of good & bad experience with them over last few years).
CoreFX team and WPF team will work closely together to fully understand all the challenges and additional costs associated with them. That will help us make the best decision if/when/how best to address this ask.
Reacted by Jeremy Koritzinsky, Mokeev Andrey, itsamelambda, Shahid Khan, Richard Simpson, Thomas Claudius Huber, Kation L and winds
There is a lot of code in production that uses System.Xaml separetely from WPF on server-side for purposes that aren't related to UI in any way, shape or form.
I'm curious if someone could list a set of detailed real-world scenarios for this. It might help sell the team on it.
pinging this thread again in hopes there's some alternative to use Xaml in a console app (not for UI, but I'm porting an old console app that was using Xaml for configuring a lot of things, and is used by 300+ partner teams)
Thanks for the offer @lindexi , but it's not viable alternative for our company. There's way too many commits that we'd have to review for us to safely use it. We also have a custom fork of the code and build it ourselves, but it's a tax to maintain it. I was hoping that the owners of this repo would just officially release it.
Activity
kekekeks commentedon Dec 4, 2018
#51
karelz commentedon Dec 4, 2018
Just FYI: Having System.Xaml as separate package (while it is part of Desktop UI shared framework shipping in the .NET Core platform) brings a set of non-trivial challenges (CoreFX repo had plenty of good & bad experience with them over last few years).
CoreFX team and WPF team will work closely together to fully understand all the challenges and additional costs associated with them. That will help us make the best decision if/when/how best to address this ask.
taori commentedon Dec 5, 2018
I originally thought this is what was supposed to happen here, but since wpf is no open sources i guess that's a different site.
WinInsider commentedon Dec 6, 2018
This has been an ask for long time, by many... Please do consider System.Xaml target .netstandard 2.0
dotMorten commentedon Dec 6, 2018
I'm curious if someone could list a set of detailed real-world scenarios for this. It might help sell the team on it.
ewinnington commentedon Dec 6, 2018
Workflow foundation is an example of non-UI Xaml usage of system.xaml. It is a critical component to allow runtime workflows.
kekekeks commentedon Dec 7, 2018
@dotMorten
Mostly custom workflow engines.
There is also Workflow Foundation open-source attempt: https://github.com/dmetzgar/corewf that would greatly benefit from having System.Xaml as a separate package.
Kation commentedon Sep 25, 2019
For now Net Core 3.0 was released.
Is there any information about this issues?
idea-zone commentedon Feb 23, 2023
How can I use System.Xaml.dll in .netcore or .net5 ? I need "XmlnsDefinitionAttribute" and “XmlnsPrefixAttribute” 。Thanks。
lindexi commentedon Feb 23, 2023
@idea-zone Reference WPF framework.
Adding the code to your csproj file:
idea-zone commentedon Mar 9, 2023
My project needs to be published to linux. It's will here an error and ask add "-windows" to TargetFramework .
jdom commentedon Jan 31, 2024
I assume this is not possible to use yet in a .NET 8 console app?
Windows 11 Theming Changes (#8870)
jdom commentedon Jun 19, 2025
pinging this thread again in hopes there's some alternative to use Xaml in a console app (not for UI, but I'm porting an old console app that was using Xaml for configuring a lot of things, and is used by 300+ partner teams)
lindexi commentedon Jun 24, 2025
@jdom You can try my version:
System.Xaml.1.0.0.nupkg.zip
And you can find my code in https://github.com/lindexi/lindexi_gd/tree/208e84e84f72e1f6508e0d8d244f8520fac9cb7c/System.Xaml
jdom commentedon Nov 12, 2025
Any updates for getting an official standalone System.Xaml package?
lindexi commentedon Nov 13, 2025
@jdom Sorry, there are not any updates for getting an official standalone System.Xaml package. But you can use my version:
#46 (comment)
jdom commentedon Nov 13, 2025
Thanks for the offer @lindexi , but it's not viable alternative for our company. There's way too many commits that we'd have to review for us to safely use it. We also have a custom fork of the code and build it ourselves, but it's a tax to maintain it. I was hoping that the owners of this repo would just officially release it.
lindexi commentedon Nov 13, 2025
@jdom You will have to wait for a very long time, see #11188
jdom commentedon May 7, 2026
That's unfortunate
docs: 去陈二批 —— 删 17 件第一阶段草稿/dotnet#46 作业件(9781 行;删前过"远端可取回+工具未引用"两闸)+ …