WPF support
See original GitHub issueSo far with .NET 7 I can list following issues
- Output form ILC. CoClass usage should be replaced with ComWrappers
ILC: Ignoring unresolved method [PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpellChecker(string), because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass.CreateSpellChecker(System.String)'
ILC: Ignoring unresolved method [PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.IsSupported(string), because: Invalid IL or CLR metadata in 'Int32 SpellCheckerFactoryCoClass.IsSupported(System.String)'
ILC: Ignoring unresolved method [PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterUserDictionary(string,string), because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass.RegisterUserDictionary(System.String, System.String)'
ILC: Ignoring unresolved method [PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.UnregisterUserDictionary(string,string), because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass.UnregisterUserDictionary(System.String, System.String)'
ILC: Ignoring unresolved method [PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.get_SupportedLanguages(), because: Invalid IL or CLR metadata in 'IEnumString SpellCheckerFactoryCoClass.get_SupportedLanguages()'
ILC: Ignoring unresolved method [PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor(), because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass..ctor()'
ILC: Ignoring unresolved method [PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor(), because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
ILC: Ignoring unresolved method [System.DirectoryServices]System.DirectoryServices.Interop.UnsafeNativeMethods+PropertyValue..ctor(), because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
ILC: Ignoring unresolved method [System.DirectoryServices]System.DirectoryServices.Interop.UnsafeNativeMethods+PropertyEntry..ctor(), because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
ILC: Ignoring unresolved method [ReachFramework]System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.GenerateThumbnail(IXpsOMPage,XPS_IMAGE_TYPE,XPS_THUMBNAIL_SIZE,IOpcPartUri), because: Invalid IL or CLR metadata in 'System.Windows.Xps.Serialization.RCW.IXpsOMImageResource System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.GenerateThumbnail(System.Windows.Xps.Serialization.RCW.IXpsOMPage, System.Windows.Xps.Serialization.RCW.XPS_IMAGE_TYPE, System.Windows.Xps.Serialization.RCW.XPS_THUMBNAIL_SIZE, System.Windows.Xps.Serialization.RCW.IOpcPartUri)'
ILC: Ignoring unresolved method [ReachFramework]System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass..ctor(), because: Invalid IL or CLR metadata in 'Void System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass..ctor()'
ILC: Ignoring unresolved method [WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor(), because: Invalid IL or CLR metadata in 'Void AttachmentServices..ctor()'
ILC: Ignoring unresolved method [DirectWriteForwarder]<Module>.qsort(void*,uint32,uint32,(*int32)(void*,void*)), because: Vararg call to 'Int32 <Module>._CrtDbgReportW(Int32, Char*, Int32, Char*, Char*)' not supported
ILC: Ignoring unresolved method [DirectWriteForwarder]<Module>.qsort_s(void*,uint32,uint32,(*int32)(void*,void*,void*),void*), because: Vararg call to 'Int32 <Module>._CrtDbgReportW(Int32, Char*, Int32, Char*, Char*)' not supported
ILC: Ignoring unresolved method [DirectWriteForwarder]<Module>.bsearch(void*,void*,uint32,uint32,(*int32)(void*,void*)), because: Vararg call to 'Int32 <Module>._CrtDbgReportW(Int32, Char*, Int32, Char*, Char*)' not supported
ILC: Ignoring unresolved method [DirectWriteForwarder]<Module>.bsearch_s(void*,void*,uint32,uint32,(*int32)(void*,void*,void*),void*), because: Vararg call to 'Int32 <Module>._CrtDbgReportW(Int32, Char*, Int32, Char*, Char*)' not supported
ILC: Ignoring unresolved method [DirectWriteForwarder]<Module>.std._Iterator_base12._Orphan_me_unlocked_v3(_Iterator_base12*), because: Vararg call to 'Int32 <Module>._CrtDbgReport(Int32, SByte*, Int32, SByte*, SByte*)' not supported
ILC: Ignoring unresolved method [WinFormsComInterop]WinFormsComInterop.WinFormsComWrappers.ComputeVtables(object,CreateComInterfaceFlags,int32&), because: Failed to load type 'System.Windows.Forms.InternalAccessibleObject' from assembly 'System.Windows.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
ILC: Ignoring unresolved method [System.Printing]<Module>.std._Iterator_base12._Orphan_me_unlocked_v3(_Iterator_base12*), because: Vararg call to 'Int32 <Module>._CrtDbgReport(Int32, SByte*, Int32, SByte*, SByte*)' not supported
ILC: Ignoring unresolved method [PresentationFramework]MS.Internal.AppModel.AppSecurityManager+InternetSecurityManager..ctor(), because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
DirectWriteForwarder
crash in main. That is blocker
0:000> kc
# Call Site
00 WpfTestBed!HndWriteBarrierWorker
01 WpfTestBed!HndWriteBarrier
02 WpfTestBed!HndAssignHandle
03 WpfTestBed!GCHandleManager::StoreObjectInHandle
04 WpfTestBed!S_P_CoreLib_System_Runtime_InteropServices_GCHandle__set_Target
05 WpfTestBed!DirectWriteForwarder__Module___gcroot_System__String_____
06 WpfTestBed!DirectWriteForwarder__Module____CrtImplementationDetails__LanguageSupport_Initialize
07 WpfTestBed!DirectWriteForwarder__Module____cctor
08 WpfTestBed!S_P_CoreLib_Internal_Runtime_CompilerHelpers_StartupCodeHelpers__RunInitializers
09 WpfTestBed!S_P_CoreLib_Internal_Runtime_CompilerHelpers_StartupCodeHelpers__RunModuleInitializers
0a WpfTestBed!WpfTestBed__Module___StartupCodeMain
0b WpfTestBed!wmain
0c WpfTestBed!invoke_main
0d WpfTestBed!__scrt_common_main_seh
0e KERNEL32!BaseThreadInitThunk
0f ntdll!RtlUserThreadStart
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
What is Windows Presentation Foundation - WPF .NET
Advanced graphics and animation support. WPF simplifies graphics programming by managing animation scenes for you; there's no need to worry ...
Read more >Windows Presentation Foundation (WPF) end of life
According to the documentation Overview - Product end of support, there are no plans to remove wpf. So it will be supported. ......
Read more >Is WPF Dead? - The Current State of WPF [2023]
This takes us to the next important question. Can you continue using WPF? The answer is a big yes. Yes, you can modernize...
Read more >WPF in 2021: alive, dead or on life support?
It's not dead or on life support. WPF is still one of the most used app frameworks in use on Windows (right behind...
Read more >'Is WPF Dead?' Some Devs Claim 'Yes' as Microsoft ...
No it's not dead. We have a team working on WPF and supporting it. We now switch to the model where we accept...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/dotnet/wpf/issues/5305#issuecomment-1148621250
With custom WPF build I think people can start playing with NativeAOT and WPF
wpf support for native AOT would be very useful for my company, I’m developing several tools in avalonia because wpf is not supported