Multitasking on a platform for metro and non metro in Windows 8

I am creating a simple metro application. I also create a non-meter version of the same application.

The problem I am facing is that VS does not allow me to reference the normal class libraries in the metro application and the metro class libraries in the regular application.

The differences between Metro and non-metro applications relate to the user interface and some functions that are incompatible (for example, FilePicker in the metro and OpenFileDialog in the non-metro).

How can this be achieved?

+3
source share
3 answers

, . WinRT API, . " ", dll API-, , VS

+6

, WinRT Win32, .

, Windows 8 ARM, Win32 . Internet Explorer 10 (-, WinRT, ), .

Metro x86 x64 Win32, , ARM. , Microsoft , WinRT. Internet Explorer .

: . , , . .

0

Metro UI is not a problem: look under the hood, and you will find that the namespaces and libraries are NOT the same => METRO in NOT another layer over Windows 7 applications. If you really want to target 2 environments, create a single library classes with all your business objects, all your databases and write two different applications that will call this library.

0
source

All Articles