Skip to content

FileNotFoundException when calling GetForAppServiceConnection on Hololens 2 #4

@Rufus31415

Description

@Rufus31415

Hi,

I am facing a problem on Hololens 2 (10.0 version 1903) with your example.
I installed the ARM package with its dependencies (Microsoft.NET.CoreRuntime.1.1 and Microsoft.VCLibs.ARM.Debug.14.00)
I restarted the Hololens 2 and start MyApp application.

When requesting the url /myapp/api/status, I get the following exception :

System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(intPtr pCPCMD)
at Windows.System.Diagnostics.DevicePortal.DevicePortalConnection.GetForAppServiceConnection(AppSerciceConnection appSerciceConnection)
at MyApp.App.OnBackgroundActivated(BackgroundActivatedEventArgs args

Any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions