无法找到模块(使用Windows 10 SDK for Creators更新VSTS Build)

时间:2017-11-03 06:31:51

标签: uwp windows-10-universal windows-iot-core-10

我们正在为UWP应用创建适用于VSTS的appxbundle。构建是成功的,但是在运行时我们在访问以下方法时遇到异常:

public static Task<DeviceManagementClient> CreateAsync(IDeviceTwin deviceTwin, IDeviceManagementRequestHandler hostAppHandler);

例外:

    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() --- 

构建计算机 带有Windows 10 SDK Fall创建者的Windows Server 2012 R2更新

运行: 使用Windows 10 RS3构建的Dragonboard

我们遵循UWP构建模板来创建应用包。

我们缺少什么?

1 个答案:

答案 0 :(得分:1)

问题是我们有一个自定义的Nuget包,它是在Debug版本中构建的,因此它在发布版本配置中不起作用。谢谢!

相关问题