简体   繁体   中英

c# metro style apps referencing javascript metro style apps

I am building a metro style app using c#, but in the middle I realized that I have to do something with javascript. now I am confused what to do? do I have to make the entire app using javascript and html5 or there is a way where I can reference the c# metro style app to the required js metro style app, and reference it back to my c# metro style proj later on.

This should be your solution: Creating an HTML Metro style app that references C# and C++ code

Check the section Configure C# projects to generate WinMD files and Set up project references section in the reference link. You need to set the c# project output the WinMD (Windows Meta Data). A hybrid project may solve your problem.

Hope this help you that you are trying to implement..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM