Module could not be found (VSTS Build with Windows 10 SDK for Creators update )

0

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?

uwp
windows-10-universal
windows-iot-core-10
dragonboard
asked on Stack Overflow Nov 3, 2017 by Naresh • edited Aug 21, 2020 by Richard Chambers

1 Answer

1

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!

answered on Stack Overflow Nov 17, 2017 by Naresh

User contributions licensed under CC BY-SA 3.0