So i followed the steps in How to install XNA game studio on Visual Studio 2012? and now i see the xna options but on selection i get this error "Object reference not set to instance of object"; any suggestions (I'm using vs2012 ultimate 64 on win7 64)
You should have a look at this: http://ryan-lange.com/xna-game-studio-4-0-visual-studio-2012/
Íf it aint working I would like to send you to the Monogame project. This is the xna library, the people from mono made it possible to port to Android, Ios, Windows 8 etc. Just use Monogame if u are having problems with installing xna on visual studios 2012. Its the perfect solution:)
Related
I've read that Visual Studio 2012 can't be used with the XNA game framework so I tried to locate a version of directX which would work with visual studio 2012 on windows 7 and I can't.
It seems that directx11 is embedded in the windows sdk. I tried downloading this windows sdk but it appears that it's aimed squarely at windows 8 developers.
So, my question is this. I want to start developing some rudimentary games to help teach my some basic programming in C++ & C# but i don't want to have a copy of visual studio express installed to take advantage of XNA.
Can this be done with Visual Studio 2012 on Windows 7?
appears that it's aimed squarely at windows 8 developers
This assumption is wrong. Windows 8 and 8.1 SDK backward compatible with older OS (both, as target OS and as development OS): system requirements
Also, you must have Windows 8 SDK already installed with VS2012.
I've read that Visual Studio 2012 can't be used with the XNA game framework
True. Partially. XNA is no longer officially supported, but:
you can try to install XNA in VS2012 (and even VS2013) with a bit of tweaking (and luck)
you can use MonoGame instead (an open source implementation of the Microsoft XNA 4.x Framework)
you can use SharpDX if you just need managed DirectX
I've been using VS2010 to develop all my applications on my Windows 8 box for a while, no major issues everything is fine.
However, today I opened a windows phone 7 project that has used the Async CTP libraries and of course noticed that 'async' keyword is invalid.
No worries, off to install the CTP.
I installed the CTP, then restarted VS and opened the project. No dice. The reference to AsyncCtpLibrary is working (in fact I use nu get for it), but nothing I seem to do fixes this issue. From what I know it means that the Async CTP didn't successfully modify the C# compiler (or something).
Anybody have this working in Windows 8? I can't find anything anywhere so thought I'd ask the SO gurus :)
Thanks!
You can use Windows 8 + Visual Studio 2010 + Windows Phone 7 SDK + AsyncCTP together, although there is one small problem during the installation.
First you need to install Visual Studio 2010, then install SP1 for Visual Studio 2010, then Windows Phone SDK and then immediately AsyncCTP v3 for Visual Studio 2010 and after this run the Windows Update.
If you install updates to Visual Studio 2010 SP1 before installing AsyncCTP, the installation of AsyncCTP fails because of collision with some Visual Studio hotfixes.
I've found the solution here together with some trial&error installing and uninstalling :)
Update: for Visual Studio 2012 the only solution for async/await in other project types is the Microsoft.Bcl.Async library, available on NuGet.
For some reason Visual Studio is showing me this weird, ugly skeleton design view when I try building Mango apps instead of the regular fully detailed view I used to get with the old 7.0 apps.
Any idea what setting I need to change to revert back to the old view? I've spent forever searching for the right option but can't find it anywhere.
Here's what my design view currently looks like:
Thanks,
Zain
I had the same problems few weeks ago. Normally an uninstallation would not really help. I guess you also have installed the Visual Studio 2010 Service Pack 1. So to solve your problem, uninstall all of your Visual Studio and Windows Phone Related Products, normally these are:
Visual Studio 2010 (or Express)
Visual Sudio 2010 SP1
Microsoft XNA Game Studio 4.0 Refresh
After uninstallation install all products in the following order:
1) Visual Studio 2010 (or Express)
2) Microsoft XNA Game Studio 4.0 Refresh
and after (1) and (2) install and apply the Visual Studio 2010 - Service Pack 1.
Thre problem is, that if you install the SP1 before the Game Studio, there are some missing links and files which are not patched and this leads to the missfunctionality of the Windows Phone Designer.
I hope, i was able to help you :)
I have installed XNA Game Studio 3.1, but I can't see the Game Template in Visual Studio 2010 on Windows server 2008.
There is no driver for graphics and XNA 4.0 won't install, could it be related?
How do I solve my problem?
XNA Game Studio 3.1 works with Visual C# Express 2008 and Visual Studio 2008.
XNA Game Studio 4.0 works with Visual C# Express 2010 and Visual Studio 2010.
There is no way around this. I explain this in more detail in this answer.
If you want to use XNA 3.1, you will need to install Visual Studio 2008 (or C# Express 2008). All of these things install side-by-side - you can have both 2008 and 2010 installed at the same time.
did yiu install vs first?
In situation ssuch as thi sits often best to start uninstalling all the xna components restart and try again.
are you sure you restarted vs after installing xna?
I have not had problems with xna (but then i am not running server 2008 and i have graphics drivers).
I dont see why a lack of drivers would stop the template from being visible though.
Pretty straight forward question. Thank you.
To be a pedant, yes you can: just not inside of VS 2010. You can install a 2008 Express version side-by-side and use that, until they update XNA for 2010.
Basically: XNA Game Studios 3.0 and 3.1 go with Visual Studio 2008. (Note: anywhere I say "Visual Studio" it also applies to Visual C# Express.)
XNA Game Studio 4.0 (currently in beta) goes with Visual Studio 2010. (Note: XNA GS 4.0 is part of Windows Phone Developer Tools).
Both Visual Studio and XNA Game Studio (and the XNA runtimes, for that matter) can be installed side-by-side with older/newer versions of the same.
XNA Game Studio (which basically means the content pipeline, push to Xbox, project wizards, etc) will only integrate with the associated version of Visual Studio.
Of course you can reference any version of the XNA assemblies from any version of Visual Studio. But without the content pipeline it can be a bit limiting.
XNA GS 3.0 won't work inside of VS 2010. There is no .net 4.0 version yet
No , Currently Visual Studio 2010 does not support XNA . But you have a option of installing XNA Game Studio 4.0 CTP .
But i think it is for Windows Phone 7 .
Not yet. Will be supported in the future.