Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
4.4.3
-
None
-
None
-
Windows Phone 8.1, Windows 8.1, Windows 10 UWP
Description
I have a plugin which needs an InProcessServerExtension in the project's package.windows.appxmanifest like:
<Extensions> <Extension Category="windows.activatableClass.inProcessServer"> <InProcessServer> <Path>Foo.dll</Path> <ActivatableClass ActivatableClassId="Foo.Class" ThreadingModel="both" /> </InProcessServer> </Extension> </Extensions>
The corresponding DLL is configured in the plugin.xml file using:
<resource-file device-target="windows" src="src/windows/win81/$(Platform)/Foo.dll" target="Foo.dll" versions="8.1"/> <resource-file device-target="phone" src="src/windows/wpa81/$(Platform)/Foo.dll" target="Foo.dll" versions="8.1"/> <resource-file src="src/windows/uap/$(Platform)/Foo.dll" target="Foo.dll" versions=">=10"/>
This configuration worked until release 4.4.2. Foo.dll was included in the projects with property "Package Action"="Content" which includes the DLL in the package manifest.
Release 4.4.3 introduced a patch related to issue CB-11825 that changes the DLL's "Package Action" to "None". Now the file is no longer included in the package manifest and the build fails for all the platforms with the following error message:
package.windows.appxmanifest : error APPX0703: Manifest references file 'Foo.dll' which is not part of the payload.