I am trying to adapt some methods from WPF to Windows 8.
A lot of classes is missing in windows 8, and most of the time when I’m looking at them on the internet for an equivalent it is said that it is available for Windows 8.
Just two examples but I have seen hundred of it :
http://msdn.microsoft.com/en-us/library/system.threading.threadabortexception.aspx
http://msdn.microsoft.com/en-us/library/system.security.cryptography.aesmanaged.aspx
It is said “supported in Windows 8” at the bottom of the page. And the .Net framework supported is 4.5 which I think is the one I use on Windows 8 RTM.
So am I doing something wrong ? Did I forgot to include some references ? Or is the documentation uncorrect ?
Thank you
Windows 8 has two separate platforms: WinRT and Win32. WinRT is the tablet interface while Win32 is the traditional desktop. See here for a diagram and explanation. WPF only works for win32.
If you want the documentation for WinRT apps (or Windows Store Apps or Windows 8 UI Applications as they’re also known) you need to look at Windows Store Apps instead of .NET Development.