lhak
lhak
Just wanted to add the stack trace of the crash: ``` App.exe!WinRT_Runtime_WinRT_ComWrappersSupport__CreateCCWForObjectForABI() Line 170 App.exe!WinRT_Runtime_WinRT_ComWrappersSupport__CreateCCWForObjectForMarshaling() Line 1187 App.exe!WinRT_Runtime_WinRT_MarshalInspectable_1__CreateMarshaler2() Line 1789 App.exe!WinRT_Runtime_WinRT_MarshalInterface_1__CreateMarshaler2() Line 1619 App.exe!WinRT_Runtime_WinRT_MarshalInterface_1__FromManaged() Line 1647 App.exe!Microsoft_Windows_SDK_NET_ABI_Windows_Storage_Streams_IInputStream__Do_Abi_ReadAsync_0() Microsoft.ui.xaml.dll!DirectUI::BitmapSource::SetSourceShared(ABI::Windows::Storage::Streams::IRandomAccessStream * pStreamSource)...
Thank you for trying to fix https://github.com/microsoft/CsWinRT/issues/1634. Unfortunately, I still see the same issue with this patch. Interestingly, if I copy StreamTaskAdaptersImplementation.cs to my application and make sure its Init()...
Ok, I thought the updated code was in WinRT.Runtime.dll and I only used an updated cswinrt nuget package. So I guess everything will be fine once an updated Windows SDK...
Have you tried deleting the obj and bin folder? I have seen issues when switching between single file configuration turned on and off causing the resulting app to crash at...
I found a (complicated) workaround: - Copy definition of IWebAuthenticationCoreManagerInterop from WinRT.Interop.idl into a separate file with a new namespace - Change return type from Object to the correct one...
@kanismohammed So how can launch the application so that I receive a list of files in the activation parameter (FileActivatedEventArgs) as it happens when using the legacy Windows 10 context...
This would reintroduce the crashes seen here: https://github.com/CommunityToolkit/Windows/issues/78. Maybe `AdvancedCollectionView ` could be changed to `AdvancedCollectionView` to explicitly provide the type. I guess, this might also help for AOT support?
I have looked at the test app by @BendicoE. Using the Visual Studio memory snapshot function, it is quite easy to see which references are still active that keep the...
You might have `PublishTrimmed` enabled in your publish profile for release mode. I think this only works if you use the very latest .net 8 version (8.0.10) or if you...
In the current implementation, a change of the SystemBackdrop property (e.g. in a visual state) leads to a crash because changing the SystemBackdrop property of the object implementing ICompositionSupportsSystemBackdrop does...