I need to develop common UI which will run on both desktop and metro.
Is this possible.I wanted to use same code for UI both in desktop and metro app
I know that Win RT is Supported on both desktop and metro.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe your question is about creating an application that works like both Metro Style and also as a traditional desktop app. What you need to do is to wrap all your business logic code into a
WinRT DLLand create two different UI applications one usingXAMLand another usingwindows Formand consume the DLL.But ideally you cant have a single exe that runs like a native app and a metro style app, you should have two exe’s.
Another thing is the native app which you develop in this manner may not be backward compatible because in
buildconference i remember them sayingWinRTis only fromWindows 8onwards. so you cant run your native app inWindows 7.