Forum Discussion
Jan 04, 2021
LoaderSearchPathOverride and the Manifest
Current documentation on this Uap6 schema element appears at odds with the schema validation.
Extension (in Package/Extensions) (Windows 10) - Windows UWP applications | Microsoft Docs
and
...
Jan 04, 2021
TIMOTHY_MANGAN Update:
I can confirm that the following sequence validates against the schema, and that makeappx creates a package, however the package fails to install via AppInstaller (20H2). Event logs show error 70490 (element not found).
...
<Extensions>
<uap6:Extension Category="windows.loaderSearchPathOverride">
<uap6:LoaderSearchPathOverride>
<uap6:LoaderSearchPathEntry FolderPath="VFS\AppVPackageDrive\TestAppPathAlternate"/>
</uap6:LoaderSearchPathOverride>
</uap6:Extension>
</Extensions>
</Application>
</Applications>
</Package>
Mar 18, 2021
Good news. It appears that the online documentation is incorrect (or at least highly misleading). Moving this to a package level extension solves the issue and the application sees the dlls in the registered path.