locked
Is it possible to develop Metro-style apps in Windows 7 and then run/remote-debug them on Windows 8 CP?

    Question

  • Hi,

    I think I already know the answer to this, but just to confirm...

    Is it possible to run VS11 beta on Windows 7, create Metro projects, write code for them and compile them then actually remote-debug/run them on Windows 8 CP? (Much as one can write 64-bit apps on a 32-bit OS, then remote debug them running on a 64-bit test system.)

    The discussions I've found so far suggest not, which is a shame, as I'd prefer not to be using a beta IDE on a beta OS for development.

    Once VS11 and Windows 8 are released will this continue to be the case?  We're still not fully migrated to Windows 7 and I suspect suggesting that we all need to upgrade again to Windows 8 won't meet with much enthusiasm from the finance or IT departments.

    Thanks in advance for any insight you can offer.

    Regards,

    Greg

    Thursday, March 22, 2012 10:13 AM

Answers

  • The discussions I've found so far suggest not, which is a shame, as I'd prefer not to be using a beta IDE on a beta OS for development.

    Once VS11 and Windows 8 are released will this continue to be the case?  We're still not fully migrated to Windows 7 and I suspect suggesting that we all need to upgrade again to Windows 8 won't meet with much enthusiasm from the finance or IT departments.

    Right now you cannot. Don't know whether or not it will change.

    The dev tools give a message saying that "This product can only be installed on Win8 or later machines"


    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Thursday, March 22, 2012 6:26 PM

All replies

  • The discussions I've found so far suggest not, which is a shame, as I'd prefer not to be using a beta IDE on a beta OS for development.

    Once VS11 and Windows 8 are released will this continue to be the case?  We're still not fully migrated to Windows 7 and I suspect suggesting that we all need to upgrade again to Windows 8 won't meet with much enthusiasm from the finance or IT departments.

    Right now you cannot. Don't know whether or not it will change.

    The dev tools give a message saying that "This product can only be installed on Win8 or later machines"


    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Thursday, March 22, 2012 6:26 PM
  • BTW: I am looking at some alternative solutions and their caveats. For example, I was able to install Win8 onto a USB key and boot up from it, but the tools won't install on a removable drive so I had to install them in the fixed drive instead. I am also going to look at installing onto a VHD. You should be able to use a virtual machine too.

    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Friday, March 23, 2012 2:36 PM
  • Thanks Joel,

    Yeah, using a virtual machine is certainly an option.

    When you say "The dev tools give a message that..." - do you mean when you try to create a Metro project in VS11?  Or is there something you have to install beyond VS11 and the Win8 CP ?  I've not tried any of this yet as we have a few steps in the development schedule before we start adding WinRT/Win8/Metro support.

    Seems an unusual step given the past of being able to develop for later operating systems and/or different architectures using an earlier OS, but I guess it's possible that you need WinRT to be able to build UI for WinRT/Metro.

    Cheers,

    Greg

    Friday, March 23, 2012 2:45 PM

  • When you say "The dev tools give a message that..." - do you mean when you try to create a Metro project in VS11?  Or is there something you have to install beyond VS11 and the Win8 CP ?  I've not tried any of this yet as we have a few steps in the development schedule before we start adding WinRT/Win8/Metro support.

    I should have said "The installer for the dev tools tells me when I try to install on Win 7..." The tools would not install on Windows 7 at all. 

    I was also trying to find an offline installer so I could look at the installation package myself. The Windows Phone 8 SDK would refuse to install on certain computers but it was possible to force install the packages so that you could at least do coding and compilation (though the code could only be run from a supported machine) and I wanted to check to see if the same was the case for the Win8 SDK. But I only see online installers, so I can't examine that any further. 


    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Friday, March 23, 2012 3:42 PM
  • I should have said "The installer for the dev tools tells me when I try to install on Win 7..." The tools would not install on Windows 7 at all. 

     Interesting - FWIW, the download page for VS11 Pro beta (http://www.microsoft.com/visualstudio/11/en-us/downloads#professional) says it supports Windows 7.  Whereas the download page for VS11 Express beta (http://msdn.microsoft.com/en-us/windows/apps/hh852659) says it requires the Win8 CP.

     As I say, I haven't tried this yet, just going by what the web page says :-)

    Greg

    Friday, March 23, 2012 3:52 PM
  •  Interesting - FWIW, the download page for VS11 Pro beta (http://www.microsoft.com/visualstudio/11/en-us/downloads#professional) says it supports Windows 7.  Whereas the download page for VS11 Express beta (http://msdn.microsoft.com/en-us/windows/apps/hh852659) says it requires the Win8 CP.

    That threw me off too. A coworker said he had VS11 on his Windows 7 machine and I couldn't figure out why I had failure. But it makes sense now, and we've seen this before. Visual Studio 2010 would install on Windows XP, but VS Express with the Windows Phone tools would not (But VS Express for Web does). So it seems that the VS Express shell is compatible with a range of OSes but it may or may not install depending on the requirements for the SDK it is paired with.

    At any rate, it took some work, but I have the Windows 2008 OS and the dev tools installed on a 64 gig memory stick and got around the restriction that the SDK imposes on not letting you install the SDK on a memory device. If you are interested I will post the details of what I encountered and how I got around the obstacles later on.


    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Saturday, March 24, 2012 4:09 PM
  • At any rate, it took some work, but I have the Windows 2008 OS and the dev tools installed on a 64 gig memory stick and got around the restriction that the SDK imposes on not letting you install the SDK on a memory device. If you are interested I will post the details of what I encountered and how I got around the obstacles later on.

    We would've been using a Win8 installed machine for remote debug anyway, so I imagine we'll just develop on the Win8 box as well as debug - it's more about avoiding having to set-up a second development environment more than anything else, the time it always takes to get everything running just how you want it.

    Thanks for your input.

    Greg

    Monday, March 26, 2012 8:19 AM