Be more than mobile, reach every Windows screen
Reach millions of players across phone, PC, and Xbox One
The Internet of your things
I have an HTML5 Metro application project and a C# Class Library project for Metro style applications in the same solution.
When I try and add a reference from the HTML5 application to the C# class library, I get the following errors:
One or more of the selected items is not a valid reference for this type of project. Do you want to continue and add the references anyway?
then when I run the app (with a line of code in the JS trying to new up the C# class) i get
Is there a setting I am missing to allow this kind of reference? The class does show up in the Object Browser.
Never mind, I figured it out.
You need to set the Output Type to WinMD in the properties.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?