2
votes

Note: I have reviewed all the XNA / VS 2013 related posts on stackoverflow and didn’t find this issue mentioned once.

I have followed various guides and installed XNA Game Studio 4.0 under Visual Studio 2013. All works well, I can open my existing projects and even create new projects. There’s just one little problem: I’m missing the option to RUN / DEBUG the project to Device / Emulator. Instead, I only have default “Start” option available after using which I get an error message saying I cannot run the project type Library.

I’m using Visual Studio 2013 Ultimate.

http://tinypic.com/r/95sx84/5

1
What do you want to emulate? If WinPhone have you installed the SDKs?Phil Murray
See the picture on the URL at the bottom. I simply want to RUN the project on Emulator / Windows Phone Device, but I'm missing that option in my VS2013. I did install all the Windows Phone SDKs.user3182457
Have you tried the instructions listed in these posts? stackoverflow.com/questions/17330810/xna-for-visual-studio-2013Scott Wylie
@ScottWylie Yep, I did. I checked and tried all that is here on Stackoverflow and other sites.user3182457
Did you find solution for this? I am also facing this problem right now.fhnaseer

1 Answers

0
votes

To fix this issue in Visual Studio 2013:

  1. Make sure your Visual Studio 2013 is turned off.
  2. Locate the *.csproj file of the project you want to run on device.
  3. Backup the original *.csproj file by copying it somewhere.
  4. Edit the file in Notepad. Make sure that the following records are present and set to these values:

    <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <SilverlightApplication>true</SilverlightApplication>
    
  5. Save the changes and open your solution. The type of the project was changed and it should now correctly display the "Device" item in the RUN command.

Note: In some instances it might be also necessary to delete the solution *.SUO file in order for this fix to work.