Using Visual Studio Express for Windows Phone

Using Visual Studio Express for Windows Phone

  • Comments 2

If you have followed the instructions at http://create.msdn.com/gamedevelopment, then you have downloaded the Visual Studio Express for Windows Phone edition and installed it.  If you simply start a new XNA Project then you will see a phone with a blue screen, in this case the blue screen is a good thing.

When you start Visual Studio Express for Windows Phone and select new project you will see the following, simply select Ok:

image

You will see a pop-up dialog box, select the OK button:

image

When the integrated design environment (IDE) is started, press the F5 function key (usually, if not always above the number keys) OR select the menu debug and then Start Debugging OR click on the green arrow if you can find it on the bar:

image

You should see the this:

image

You could get an error that says the following:

image

In this case you have likely attempted to “deploy” your program to the Phone Device, which would be ok if you had a phone, but in this case you don’t have a phone hooked up and the following item on the menu bar is set to Windows Phone Device, instead it should be set to Windows Phone Emulator:

image

If you get an error that says your video device will not support the Emulator, you might be able to fix this problem by going to your PC (Laptop, Desktop) manufacturer site and downloading the latest video drivers.  If you are using a desktop that you put together yourself, then you may need to go to the video board driver manufacturer site and download the drivers from there.

In the next blog post I will cover how to program the environment, carefully and in great detail.

Leave a Comment
  • Please add 7 and 6 and type the answer here:
  • Post
  • It would be nice if you could use Visual Studio 2010 to develop apps for the iPhone and iPad. You could reach more customers than with an apps for Windows Phone. And there is no serious tablet with windows 7 on the market like the iPad!

    But Ms have enough power to change that one day ...

  • Hi Heinsz,

    It is unlikely that Microsoft will target the iPhone or iPad anytime soon.  You can develop for iPad using the free tools from Apple.

    As to no serious tablet like the iPad, well let's see what appears in media over the next few weeks.  

Page 1 of 1 (2 items)
Generic Content

Legal Note:

  1. The author, Sam Stokes, is an employee of Microsoft
  2. There is no guarantee that anything I write is correct, I do try to make sure that what I write is correct.
  3. Use anything written in this blog at your own risk
  4. Test what I write about before using the information
  • Sometimes posts will disappear because I realized that they really don't fit with the total chaos of what I write about
  • Links are tested and available on date of publication, what others do with their links are out of my control

Restrictions:

  • Whatever I write on this blog is unedited by management or anyone, which should be obvious from the randomness of the blog.  I simply write about things I like.
  • Microsoft does not restrict me in anyway, so I generallyblather about whatever I want to.
  • For personal reasons I will not write about:
    • Company confidential stuff, mainly because Microsoft is more transparent than any company I have ever worked for.
    • Other people unless they give me permission to write about them