I tried installing XNA GS 4 today only to have it complain that I need to have either windows phone developer's tools, visual C++, or visual C#. I have visual C# 2013 installed already, do I have to download and install an older version of C# in order to install XNA?
Yes, unfortunately XNA won't install unless you have VS 2010. Once you have it, it will actually work just fine with 2012/2013, you just need to copy the installed files over and update the .vsix manifest to allow the newer version of VS.
See XNA for Visual Studio 2013 or http://dementedvice.wordpress.com/2013/10/21/let-me-explain-install-xna-on-visual-studio-2013-and-2012/ for more instructions.
If you download the XNA Enabler application you will be able to install XNA Game Studio 4.0 Refresh into Visual Studio 2012 or 2013.
http://what-ev.net/2014/02/19/the-xna-enabler-app-xna-in-visual-studio-2012-2013/
Related
I am try use Xamarin Studio for Android. But, when i click File->New->Project... i don't see C#: Android application.
How to fix it? Thanks!!
As said here: The Cycle 7 version of Xamarin Studio on Windows requires both Microsoft Build Tools 2013 (or Visual Studio 2013) and Microsoft Build Tools 2015 (or Visual Studio 2015) to be installed.
You will need to update yours.
As a personal suggestion. Since you are using Windows I recommend to use Visual Studio Community. Its free and recommended by Xamarin.
To complement the answer I will quote what #MattWard said in the comments:
Xamarin.Android is included in Xamarin's universal installer but it is
also included in the Xamarin.VisualStudio.msi (note that even though
it says Visual Studio it does not require it to be installed). These
are available from your account page
Have you installed the Android SDK?
I have scoured the Internet for this but I cannot simply find the instructions.
I am trying to install DirectX and Direct3D in Visual Studio 2013 Ultimate. How do I install it? What do I need to download?
According to this link, I think DirectX hasn't released for VS 2013. Am I wrong?
I am learning DirectX for the first time, so please forgive me if my questions seems very basic.
If you're using at least Windows 7, you'll want to download the Windows SDK for Windows 8.1. It includes DirectX, and supports Visual Studio 2013.
Visual Studio 2013 may (depending on your install) include parts of the Windows SDK already, so you may want to make sure you don't already have DirectX headers/libraries installed.
This question is related, but NOT a duplicate: How to install XNA game studio on Visual Studio 2012?
I read the above mentioned post, and have got xna projects opening, but I now have a problem.
Some of the references to the XNA framework aren't found:
Microsoft.Xna.Framework.Avatar
Microsoft.Xna.Framework.GamerServices
Microsoft.Xna.Framework.Net
Microsoft.Xna.Framework.Storage
Microsoft.Xna.Framework.Video
And all references to Microsoft.Xna.Framework.Content.Pipeline
Without these, I can't compile or run any games that I've made. I can't find the dll that contains these, or where I should put them.
UPDATE: March 3, 2014
Use the download for VS2012 and VS2013 at this link: https://msxna.codeplex.com/releases. I have no idea of the legality on that project (the developers seem to have decompiled XNA), but it did help me ease the pain of needing VS2010 in order to utilize the content pipeline.
Old Answer
See: How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8
How to work around this issue
If you run into this issue, here are steps that you can use to work around it:
Download and install the latest version of the Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient
If you are installing the Windows Phone SDK 7.1, re-run setup and choose to repair it. This will re-run the previously failing XNA Game Studio installers and they should install correctly this time.
If you are install a standalone XNA Game Studio product, re-run setup and it should install correctly this time.
If you are planning to do Windows Phone development, you should also install the Windows Phone SDK 7.1.1 Update after installing the Windows Phone SDK 7.1. This update fixes an issue that prevents the emulator in the Windows Phone SDK 7.1 from working correctly on Windows 8.
What to do if the workaround doesn’t help
If you have tried the above steps and setup still fails, you are running into a different issue than the one described above, and you will have to look at the setup log files to determine the root cause.
If you are installing the Windows Phone SDK 7.1, you can use the log collection tool to gather your setup log files. This log collection tool will create a file named %temp%\vslogs.cab.
If you are installing XNA Game Studio, you can find log files at the following locations:
XNA Game Studio 4.0 Refresh - %temp%\XNA Game Studio 4.0 Setup\Logs
XNA Game Studio 4.0 - %temp%\XNA Game Studio 4.0 Setup\Logs
XNA Game Studio 3.1 - %temp%\XNA Game Studio 3.1 Setup\Logs
XNA Game Studio 3.0 - %temp%\XNA Game Studio 3.0 Setup\Logs
XNA Game Studio 2.0 - %ProgramFiles%\Microsoft XNA\XNA Game Studio\v2.0\Setup\Logs
What is causing this failure behind the scenes
XNA Game Studio installs a version of the Games for Windows – LIVE
Redistributable behind the scenes. Some older versions of the Games
for Windows – LIVE Redistributable attempt to install and use a file
that is being installed by Windows 8, and the older versions of the
redistributable are not compatible with the newer version of the file
that is installed by Windows 8. Newer versions of the Games for
Windows – LIVE Redistributable are compatible with Windows 8, and if
you pre-install the new redistributable before installing XNA Game
Studio, setup will recognize that it is already there and use the new
version instead of trying to install the old version.
The installer for XNA Game Studio 4.0 has some issues on Windows 8. The installation process fails and removes all installation files. The fact is that the main installer extracts the following installers (at c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\Setup):
XLiveRedist.msi
xnags_documentation.msi
xnags_platform_tools.msi
xnags_shared.msi
xnags_visualstudio.msi
xnaliveproxy.msi
The conflict is with the first one. So if you manually install all others, XNA should work fine. The problem is that after the installation failure this files are automatically deleted. My solution is to halt the installation process (using the task manager) in the moment when an error was detected, this way the installer don't have time to erase the installation files.
Once you have the files you can install it without repeating the procees.
It worked for me!!!
I got an issue with Visual Studio, Silverlight 5 Beta SDK and XNA.
I did a fresh install of all Visual Studio components I need to create the application I have in mind:
Visual C# 2010 Express
XNA Game Studio 4.0
Visual Web Developer 2010 Express
Visual Studio 2010 Express for Windows Phone
Visual Studio 2010 SP1
Silverlight 5 Beta Tools
However, when I start VS 2010 Express for Windows Phone and go to create a new project these are the templates I have:
Missing Templates
But there are a few templates missing.
How can I make appear the following templates:
Full list of templates
So what am I missing in this? I believe I installed everything and still nothing appears.
Is it because I'm using the express edition of visual studio? it doesn't make much sense though.
You installed that SDK correctly (uninstalled a previous installed SDK version correctly too)?
You could try and reset your vs2010 settings. This sometimes helps to restore missing project templates. You can do so like this:
Go to Tools / Import Export Settings
Choose to "Reset all Settings"
Restart Visual Studio
No guarantees but that helped me once before, so it is probably worth a try.
Just for others to know, you must have Visual Studio 2010 service pack 1(download link) before that.
I've been checking out Unity and it looks quite interesting.
In particular after reading you can use C# as the scripting language, I am left wondering if there is some sort of Visual Studio integration to leverage IntelliSense and all that jazz built into VS.
Unity has a wiki page explaining how to do this. It seems that the latest version of Unity should already allow you to create a Visual Studio project (if you're running Windows). However, it seems only VS 2008 is supported natively. You can follow this workaround to get it to work with VS2010 (except VS2010 Express Edition) to some degree.
Unity exports a VS 2008 project. I built a VS 2010 exporter so you can avoid fighting with the upgrade wizard. http://u3d.as/2gR
You can check UnityVS from SyntaxTree. With this extension you can code & debug Unity 3D games using VisualStudio
http://unityvs.com/
Disclaimer: both Sébastien and I are working on UnityVS
Microsoft have now acquired UnityVS company SyntaxTree, and are offering UnityVS for free for Visual Studio 2010-2013 Professional or higher.
You can download it here, or get it from the Visual Studio Extensions Gallery.
As of Unity 5.2, Visual Studio Tools are supported by Microsoft for Unity on Windows. Source
For OS X, Visual Studio Code can be used directly with Unity. Source