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 }}
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
UWP unable to use .NET Native or deploy in store because rhbind fails. #7687
That still didnt work. Iv just stumbled on ShortcutGenericAnalysis which does make it work.
Yep, if it works, use it. It shortcuts some of the analysis work and might lead to reflection analysis missing some things. Which is why it's not enabled by default.
Although it compiles, it doesnt get past the splash screen now!
Enabling first chance exceptions in the VS debugger and launching the app under debugger helps with these sorts of things.
My other suspicion is I have about 300mb of embedded assets, could this be causing me problems?
Is it embedded resources? They do eat up the memory of rhbind. 300 MB is quite a lot. I would definitely try removing it quickly and see if it gets you past the build without any extra switches...
The program '[9640] UIDevMVVM.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
Activation of the Windows Store app '43743VitalElement.IIAALaunchpad_rtwr0t2akgthp!App' failed with error 'The app didn't start'.
Activity
MichalStrehovsky commentedon Aug 13, 2019
Can you try this?
(It means: use the default policy where we should consider the entire app to be reachable by reflection, except for
System.Reactive.)Dynamic=Excludedsays: forbid any use of reflection within the entire app. It won't lead to anything good at runtime for most apps.danwalmsley commentedon Aug 13, 2019
@MichalStrehovsky thanks for fast reply.
That still didnt work. Iv just stumbled on
ShortcutGenericAnalysiswhich does make it work.Is this something I should be using?
Although it compiles, it doesnt get past the splash screen now!
danwalmsley commentedon Aug 13, 2019
My other suspicion is I have about 300mb of embedded assets, could this be causing me problems?
MichalStrehovsky commentedon Aug 13, 2019
Yep, if it works, use it. It shortcuts some of the analysis work and might lead to reflection analysis missing some things. Which is why it's not enabled by default.
Enabling first chance exceptions in the VS debugger and launching the app under debugger helps with these sorts of things.
Is it embedded resources? They do eat up the memory of rhbind. 300 MB is quite a lot. I would definitely try removing it quickly and see if it gets you past the build without any extra switches...
danwalmsley commentedon Aug 13, 2019
im unable to attach debugger because:
danwalmsley commentedon Aug 13, 2019
my resources, are set as
ContentnotEmbeddedResourceso it only leads to a large package, shouldnt be causing issues with rhbind.danwalmsley commentedon Aug 13, 2019
Ok for anyone else out there, the only way to get this to actually work was (and this is a workaround not a solution)
dont need to use
ShortcutGenericAnalysisdowngrade System.Reactive to v4.0.0.0
downgrade ReactiveUI to at least 9.13.1 (if you use that package)
Then it will work again.
There must be some compatibility issue with System.Reactive 4.1 and above that makes it unusable in UWP apps.