Coder Social home page Coder Social logo

scottj1s / packagedplugindemo Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 31 KB

Windows Device Portal Packaged Plugin Demo for MSDN Magazine

Home Page: https://msdn.microsoft.com/en-us/magazine/mt826332.aspx

C# 68.80% HTML 5.59% PowerShell 25.61%

packagedplugindemo's Introduction

"# PackagedPluginDemo"

packagedplugindemo's People

Contributors

scottj1s avatar

Stargazers

Florent GIRAUD avatar Jesse Ahn avatar Stephen Hodgson avatar Jeff Bolt avatar Peter Dunshee avatar

Watchers

Jesse Ahn avatar  avatar Stephen Hodgson avatar

Forkers

blinds52

packagedplugindemo's Issues

Error: WDP Packaged Plugin: One or more capabilities not found

Hello,

I've recently started to study Windows Device Portal inspired by the Scott's MSDN article and tried to build and run this sample project. But I've got the error and can't get it to work. Could you help me to figure out the cause of the issue?

  • OS : Windows 10 1809(RS5)
  • SDK : Windows 10 1809 Build 17763.1

I also tried to target the build to Windows 10 1803 Build 17134 but it didn't work either.
I've captured the verbose log message from WebManagement.exe as below.

Thank you in advance,
Jesse Ahn


WDP Packaged Plugin: Found capability: S-1-15-3-3
WDP Packaged Plugin: Found capability: S-1-15-3-1024-676841816-1149237631-4032147681-1035363705-1749014660-2240504816-969164111-1508678073
WDP Packaged Plugin: Found capability: S-1-15-3-1024-2579371802-50273823-2532007077-778130756-637227457-1650229637-1599285538-2684141260
WDP Packaged Plugin: Found capability: S-1-15-3-1024-2732930991-1716039000-1394599507-3926803129-3068501044-2027633224-866606239-446136062
WDP Packaged Plugin: Found capability: S-1-15-3-4010579262-1502888002-2217721724-3880011660-1935275379-779138690-1505917132
WDP Packaged Plugin: One or more capabilities not found
WDP Packaged Plugin: Registered:
DisplayName: MyPluginApp
AppServiceName: com.contoso.www.myapp
PackageFamilyName: MyPackagedPlugin_36smgs5sb58xr
ContentRoute: /myapp/www/
ContentPath: D:\views\UWPSrc\MyPackagedPlugin\MyPackagedPlugin\bin\x64\Release\AppX\myapp\www
HandlerRoute: /myapp/API/
HasCaps: False
WDP Packaged Plugin: Found capability: S-1-15-3-3
WDP Packaged Plugin: Found capability: S-1-15-3-1024-676841816-1149237631-4032147681-1035363705-1749014660-2240504816-969164111-1508678073
WDP Packaged Plugin: Found capability: S-1-15-3-1024-2579371802-50273823-2532007077-778130756-637227457-1650229637-1599285538-2684141260
WDP Packaged Plugin: Found capability: S-1-15-3-1024-2732930991-1716039000-1394599507-3926803129-3068501044-2027633224-866606239-446136062
WDP Packaged Plugin: Found capability: S-1-15-3-4010579262-1502888002-2217721724-3880011660-1935275379-779138690-1505917132
WDP Packaged Plugin: One or more capabilities not found
WDP Packaged Plugin: Registered:
DisplayName: MyPluginComponent
AppServiceName: com.contoso.www.mycomponent
PackageFamilyName: MyPackagedPlugin_36smgs5sb58xr
ContentRoute:
ContentPath:
HandlerRoute: /mycomponent/API/
HasCaps: False
...

FileNotFoundException when calling GetForAppServiceConnection on Hololens 2

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.