We are creating appxbundle on VSTS for UWP apps. The builds are successful, however at runtime we are getting exception while accessing the following method:
public static Task<DeviceManagementClient> CreateAsync(IDeviceTwin deviceTwin, IDeviceManagementRequestHandler hostAppHandler);
Exception:
The specified module could not be found.
(Exception from HRESULT: 0x8007007E) at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
at SystemConfiguratorProxyClient.SCProxyClient..ctor() at Microsoft.Devices.Management.SystemConfiguratorProxy..ctor()
at Microsoft.Devices.Management.DeviceManagementClient.<CreateAsync>d__7.MoveNext() ---
Build Machine: Windows Server 2012 R2 with Windows 10 SDK Fall creators update
Runtime: Dragonboard with Windows 10 RS3 build
We followed the UWP build template for creating the app packages.
What are we missing?
The problem was we had a custom Nuget package which was built in Debug version, hence it was not working in release build configuration. Thanks!
User contributions licensed under CC BY-SA 3.0