windows 8 - How to run XNA? - visual-studio-2010

I have a windows 8 pc, I recently installed windows phone 7.1 sdk but it continously gave me the error that it couldn't install XNA 4.0 Refresh and MS VS 2010 Extensions for XNA. When I make a project of windows phone and run it it gives me this error:
Error 1 The target "GetCopyToOutputDirectoryContentProjectItems" does not exist in the project. PhoneApp2
Any suggestions/solutions would be greatly appreciated!
Thanks :)

If you are running visual studio 2010 on Windows 8, then following the steps here should work:
http://www.demonixis.net/blog/installer-xna-4-0-sous-windows-8/
If possible you might want to uninstall what you have for xna and the windows phone sdk so far. (I'm not sure if it would work properly without doing so.)
Basically, it has three steps:
1)Go to xbox.com/en-US/LIVE/PC/DownloadClient
Start by pressing the download button on this page. I am not sure what the significance of downloading that client is, however, it did the trick when I installed it.
2)Then reinstalling xna on this page:
microsoft.com/en-us/download/details.aspx?id=23714
3)And this last step is to download Windows SDK 7.1 here:
microsoft.com/en-us/download/details.aspx?id=27570

Related

Can I use windows 8 to install and use Microsoft Hololens?

I need to work on unity 3D and Hololens to predict and map the movement of a machine.I wanted to ask is it possible to use Hololens and trace the movement of a machine by using windows 8? I would also appreciate if anyone could help me with the total installation procedure of how to install and use Hololens since I am new to it.I found some installation guides but that requires Windows 10 and since I have windows 8, anything related to it such as which packages to install, would be very useful.Thank you everyone for your time.
Best Regards
Safayet
Can I use windows 8 to install and use Microsoft Hololens?
No, you can't.
To build for Hololens you need UWP and UWP needs the requirements below:
Unity 5.2 or later
A Windows 10 Pro, Enterprise, or Education (The Home edition does not support Hyper-V)
Visual Studio 2015 RTM, (the minimum version is 14.0.23107.0). Please
note that earlier versions, for example Visual Studio RC, are not
supported in Unity 5.2.
You’ll also need to install the Windows 10 SDK.
8 GB of RAM or more
The source for this information from Unity's blog. In short, you can't because the SDK requires Windows 10.

Windows Runtime metadata is invalid in SDK - ITIL00005

I can compile my UWP app built with Xamarin in Debug-mode, but when I try to compile it using Release->ARM mode, these errors occurs
ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\ARM\ilc\tools\Gatekeeper.exe #"C:\Users\Source\app\project.UWP\obj\ARM\Release\ilc\intermediate\gkargs.rsp"' returned exit code 1
Error: Windows Runtime metadata is invalid in Windows SDK, follow the steps in http://go.microsoft.com/fwlink/?LinkId=733341 to repair your installation.
I tried to reinstall using the Windows Software Development Kit - Windows 10.0.10586.212 and Windows Software Development Kit - Windows 10.0.26624.
Shall I have both Development Kits?
Or which one do I have to remove?
Or what can cause the problem?
And how shall I fix it?
I am running Microsoft Visual Studio 2015 Enterprise Update 2 and Windows 10 Pro version 1511.
I have tried this, but without success, as I am running Visual Studio in English.
My target and min. version is set to Windows 10 (10.0; Build 10240)
If you remove all Windows SDK's, you can let Visual Studio download them, which worked for me.
Otherwise you can download the Windows SDK's and install it.

Is it possible to create a Windows 8 Store App from Visual Studio 2013?

So, I have a Windows 8.1 machine with Visual Studio 2013 installed. Whenever I go to create a new Windows Store project I do not see any options to create a new Windows 8 Store app, rather than Windows 8.1 Store App. However, I have no problem opening existing Windows 8 Store App Projects.
Is it possible to create a Windows 8 Store App project from Visual Studio 2013 when running on Windows 8.1?
It's easy - create a new 8.1 project and remove the following lines from the .csproj file:
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
Reopen the file and voila - it's a Windows 8 project!
Additionally, you might want to change the following as well:
In MainPage.xaml:
- <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
+ <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
In Package.appxmanifest:
- <m2:VisualElements
+ <VisualElements
- Square150x150Logo="Assets\Logo.png"
- Square30x30Logo="Assets\SmallLogo.png"
+ Logo="Assets\Logo.png"
+ SmallLogo="Assets\SmallLogo.png"
- <m2:SplashScreen Image="Assets\SplashScreen.png" />
+ <SplashScreen Image="Assets\SplashScreen.png" />
- </m2:VisualElements>
+ </VisualElements>
If this doesn't work - it might mean that the project files have further changed in current versions of VS and you might need to install VS 2012 (Express should do) and create a project in that. You can then work on it in the new version of VS.
Is it possible to create a Windows 8 Store App project from Visual Studio 2013 when running on Windows 8.1?
No. You need to use Visual Studio 2012 to create the Windows 8 project, then open it in VS 2013. This can be done in Windows 8.1, but requires installing VS 2012 side by side with VS 2013.
I did the following:
It's easy - create a new 8.1 project and remove the following lines from the .csproj file:
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
Reopen the file and voila - it's a Windows 8 project!
But it's not Voila. Reloading the project after this edit puts up a dialog saying VS2013 needs an update, and directs you to the MS Download site (assumedly to download the Phone 8.0 SDK.
I made completely sure I had the Phone 8.0 SDK installed with VS2013 installer. I even went so far as to remove (with 2013 installer) and re-add. Still this behavior persists. I'm now downloading the 8.0 SDK, which is installing 2012 Express of course. We'll see if that helps, but it seems like this shouldn't be necessary. What am I missing?
It didn't resolve the behavior. Now, I load up the solution and it won't load the project. The project has the notation (update required). When you select download update from the context menu, it just takes you to MS Downloads--no idea what needs to be downloaded.
Can someone please explain the highly voted answer above? I'm running Win 8.1 Pro with VS2013 Premium (Phone 8 SDK installed)...and I now have the VS2012 Express install that came with the regular Phone 8.0 SDK download. Thanks.
As Reed said, you cannot create Windows 8 App store project in Visual Studio 2013 and you need to have VS2012 installed too. But as a trick you can make a copy from an existing Win 8 app project and modify it. It is not very neat solution but works if you do not want to install VS2012 as well.
You need to use Visual Studio 2012 to create the Windows 8 projects.
Based on my own experience if you don't have do developer a Windows 8 version, just focus on 8.1. For me only 3% of the sales are generated by the Windows 8 version. I only backported my 8.1 app for experience sake.
You cannot developer Windows 8.0 application using VS 2013. You have to install VS 2012 for Windows 8.0.

Windows Phone 7 emulator doesnt work properly and just flickers

Windows Phone 7 emulator doesn't work properly on my laptop.
It just flickers instead of starting my app. Clicking on any of the buttons has no effect. (None of the emulators work, tried 256MB, 512MB, and the ones installed by WP 7.8 SDK Update) WP 7.8 SDK Update didn't solve anything.
I'm using a Samsung NP300E5A-S06 notebook, and it has:
Core i5 3210M 2.5Ghz
Intel HD Graphics 4000 + GeForce GT 620M
6GB of RAM
Here is a video of what's happening on my machine.
I heard this can be caused by the Intel HD Graphics 4000. But we can't force WP Emulator to use the GeForce.
How can I make the WP7 emulator work properly?
If you have any idea or a working solution, please help me!
Thanks in advance!
First, download and install the latest GPU drivers for both GPUs. If it will help, you're lucky: I had something very similar on machine (dual GPU Intel + NVidia as well), and was unable to find a fix.
My advice - upgrade to Windows 8, install visual studio 2012, and WP8 SDK. Fortunately, with the recent version of the SDK you can still build for the previous WP 7.1 platform. And even if xde.exe still won't work on your laptop, you can test and debug the application you're building on new HyperV-based WP8 emulators.
sorry, I cant comment.
Did you try repairing the installation?
Also completely removing and then re-installing?
EDIT:
Also you can try running it on a virtual machine on your laptop (Maybe there is some problem in your Windows installation - after all its Windows ;) )
i think i have had series of problems with that emulator months ago, but now, all is just well. i have some questions for you.
1) Which version of Visual Studio are you using. i believe it should be visual studio 2010
2) have you installed visual studio 2010 service pack 1? if no, try to download it and install
3) which version of .net framework are you using? Visual Studio installs .net3.0 automatically but i guess you have to install the service pack 1 too. you can download it or get it from windows update. in the update settings, choose"check for updates but let me choose which to download and install" then check the two or three check boxes below. then click okay and check for updates. you will then install updates for visual studio 2010 and .net framework.
those should help.

How can i get the 2d XNA game tutorial to run on Windows 8?

I've just recently finished doing the 2D XNA game tutorial at college. Now I have to do a screencast demonstrating changes I've made to the game at home on my windows 8 system. I have Visual studio 2010 installed and XNA 4.0. I can open the game project up in Visual C# and ammend any part of the project I need to but I can not run the game.
I have tried to Install the Windows Phone Developer Tools as suggested in the XNA tutorial by when I attempt the installation it says "Windows 7 or Windows Vista is required.
Is there a work around so I can get the game to run so I can screencast it running?
Thanks
I recently ran into the same problem. As far as I know Microsoft dropped XNA and stopped the support for it under Windows 8 (Someone may correct me if I'm wrong). But not all hope is lost MonoGame is the open source Mono port for the XNA framework which should work under Windows 8.
This link shows how to migrate the mentioned tutorial to MonoGame and run it under Windows 8:
http://solutions.devx.com/ms/msdn/windows-client/windows-8-xna-and-monogame-part-3-code-migration-and-windows-8-feature-support.html
As far as I'm aware MonoGame's content pipeline doesn't work and you still need to bake the content to xnb files.
I hope I could help
I realize your question is stale by now and hopefully figured it out, but in case others have similar issues, I thought I'd reply anyway. I just ran that tutorial's game on my Windows 8 PC with no problems using Visual Studio 2010 and XNA 4 - so it works fine on Windows 8 as Microsoft still supports XNA 4 on the Windows 8 desktop (just not for Windows Store apps). The question seems to be "how to install XNA 4 on Windows 8 and what to do about problems that might arise in attempting that?". For that question, see the responses here: How to install the XNA Game Studio 4.0 in Windows 8?

Resources