Hybrid App Solution ( C# and JavaScript hangs) RRS feed

  • Question

  • I have a JavaScript based Metro project. Works just fine - VS 11 deploys the app and the app comes up just fine.


    However, as soon as I had a reference to a c# class library ( output type selected as WinMD file) my app hangs on th Splash Screen. If I kill the app, go back and delete the reference to the C# WinMD project, the app launches just fine ( of course, eventually I will get a runtime JavaScript exception when the code accesses the C# Win RT component)

    Interestingly, I am able to load a hybrid app that combines JavaScript and C++.

    Any help is greatly appreciated.


    V Swapnel.



    Saturday, December 3, 2011 10:20 PM

All replies

  • Hi V,

    Let's try and narrow this issue down to its simplest form.  Try creating a C# WinMD that doesn't do anything and reference it in your app.  See if that causes the hang.  Then slowly add the code from your hanging C# WinMD so we can discover what is causing the issue.


    Jeff Sanders (MSFT)
    Monday, December 5, 2011 12:39 PM