none
Wpf In Windows 8 Metro

    Question

  • Hello,

    1.How To Programmin Wpf in Windows 8 Metro?

    2.Visual studio is in windows 8 Metro?

    3.And My Wpf Solusions in Desktop, Can Run Visual Studio For Windows 8 Metro?

    4.Does .Net Framework For Metro Is Many Changes?

    5.How To Convert Wpf Solution Desktop to Wpf Solution in Windows 8 Metro?

    6.Microsoft will support WPF in Windows 8?

    8.The new version will have a C++ & C#?

    Thanks



    Sunday, September 18, 2011 10:00 PM

Answers

  • Hi,

    You might have a reference at Windows 8 Platform Tools.

    I'd like to explain some terms at first:

    1. Windows 8 (not Windows 8 Metro): the vNext's Windows.

    2. Metro style Apps: the new apps with metro UI style which are new in Windows 8.

    3. Desktop Apps: the old applications as we use in Windows 7 or Windows XP and Windows Vista.

     

    Let's check out your questions~

    1. You could develope WPF application in Windows 8 through Visual Studio 11.

    2. You could download Windows 8 at Windows Developer Preview downloads, and "Windows Developer Preview with developer tools English, 64-bit (x64)" contains Visual Studio 11 express developer preview.

    3. You can run your old WPF application(4.0) in Windows 8, but not a Metro style app.

    4. The default version of .Net Framework is 4.5, you can see the changes here.

    5. The Metro style Apps' runtime( based on WinRT) is not the same with WPF(based on .Net Framework), so you might concern to build a new one but to convert it.

    6. Yes, the desktop mode.

    7. Yes, and you could develope the Metro style Apps through C/C++ and WinRT.

     

    Hope this information is helpful to you.

     

     


    Ouch Liu
    Welcome to visit by blog: Ouch@點部落
    Welcome to join the Designer x Developer group on Facebook: Facebook 設計x程式 社團
    Monday, September 19, 2011 4:01 AM
  • Hi,

    As the link you gave and what I replied, WPF application could only run as a desktop application in Windows 8.

    You could see it in the image of Windows 8 Platform Tools, and notice that a Metro style app is based on the WinRT, but .Net Framework.

    And you could took the WinRT as a subset of .Net Framework.

    So, they are different, and you might have to rewrite your code of your WPF application and recompile it to migrate a WPF application into a Metro style App.

    And, if your WPF application used some libraries that are not supported in WinRT, then it might be not able to convert into a Metro style App.

     

    Hope this information is helpful to you.


    Ouch Liu
    Welcome to visit by blog: Ouch@點部落
    Welcome to join the Designer x Developer group on Facebook: Facebook 設計x程式 社團
    Monday, September 19, 2011 6:20 AM
  • And we also could develop the WPF application on Windows 8 in Visual Studio 2010.
    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, September 20, 2011 3:39 AM
  • Maybe this http://www.progware.org/Blog/post/Porting-a-WPF-application-to-Windows8.aspx will give you a "preview" for Question 5.
    Thursday, October 20, 2011 9:58 AM

All replies

  • Hi,

    You might have a reference at Windows 8 Platform Tools.

    I'd like to explain some terms at first:

    1. Windows 8 (not Windows 8 Metro): the vNext's Windows.

    2. Metro style Apps: the new apps with metro UI style which are new in Windows 8.

    3. Desktop Apps: the old applications as we use in Windows 7 or Windows XP and Windows Vista.

     

    Let's check out your questions~

    1. You could develope WPF application in Windows 8 through Visual Studio 11.

    2. You could download Windows 8 at Windows Developer Preview downloads, and "Windows Developer Preview with developer tools English, 64-bit (x64)" contains Visual Studio 11 express developer preview.

    3. You can run your old WPF application(4.0) in Windows 8, but not a Metro style app.

    4. The default version of .Net Framework is 4.5, you can see the changes here.

    5. The Metro style Apps' runtime( based on WinRT) is not the same with WPF(based on .Net Framework), so you might concern to build a new one but to convert it.

    6. Yes, the desktop mode.

    7. Yes, and you could develope the Metro style Apps through C/C++ and WinRT.

     

    Hope this information is helpful to you.

     

     


    Ouch Liu
    Welcome to visit by blog: Ouch@點部落
    Welcome to join the Designer x Developer group on Facebook: Facebook 設計x程式 社團
    Monday, September 19, 2011 4:01 AM
  • Hi Friend.

    Thanks You For Replay.

     

    ًQuote in You:

    3. You can run your old WPF application(4.0) in Windows 8, but not a Metro style app.

    Quote in:

    http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/1cb8708a-9018-4696-8919-185e5cab85b4

    It will run in Windows 8 - but on the normal desktop.  It won't run as a metro application without a recompile for metro (which is easy for Silverlight - but could be easy or tough for WPF depending on what's used, as metro is more restrictive than WPF.)

     

    These are different!

    Please Help Me,

    Monday, September 19, 2011 6:09 AM
  • Hi,

    As the link you gave and what I replied, WPF application could only run as a desktop application in Windows 8.

    You could see it in the image of Windows 8 Platform Tools, and notice that a Metro style app is based on the WinRT, but .Net Framework.

    And you could took the WinRT as a subset of .Net Framework.

    So, they are different, and you might have to rewrite your code of your WPF application and recompile it to migrate a WPF application into a Metro style App.

    And, if your WPF application used some libraries that are not supported in WinRT, then it might be not able to convert into a Metro style App.

     

    Hope this information is helpful to you.


    Ouch Liu
    Welcome to visit by blog: Ouch@點部落
    Welcome to join the Designer x Developer group on Facebook: Facebook 設計x程式 社團
    Monday, September 19, 2011 6:20 AM
  • And we also could develop the WPF application on Windows 8 in Visual Studio 2010.
    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, September 20, 2011 3:39 AM
  • Maybe this http://www.progware.org/Blog/post/Porting-a-WPF-application-to-Windows8.aspx will give you a "preview" for Question 5.
    Thursday, October 20, 2011 9:58 AM
  • Hi,

    Can we migrate wpf app to metro style app ?

    Thanks,

    Rajnikant


    Thursday, October 20, 2011 12:06 PM