代码之家  ›  专栏  ›  技术社区  ›  Naresh

找不到模块(VSTS Build with Windows 10 SDK for Creators update)

  •  0
  • Naresh  · 技术社区  · 7 年前

    我们正在VST上为UWP应用程序创建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 Server 2012 R2 with Windows 10 SDK Fall creators更新

    运行时: 带有Windows 10 RS3版本的Dragonboard

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

    我们错过了什么?

    1 回复  |  直到 4 年前
        1
  •  1
  •   Naresh    7 年前

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

    推荐文章