No Windows Game option in XNA 4.0 VS2012 - c#

I installed XNA 4.0 and used this method:
How to install XNA game studio on Visual Studio 2012?
to access XNA in vs2012.(I installed VC# 2010 express first.)
Everything went fine, I could even open XNA game project and ran.
But the new project menu did not show the Windows Game and Xbox360 Game option.
Why are they missing?

XNA is officially only supported on Visual Studio 2010.
XNA Game Studio 4.0 Refresh leverages the Microsoft Visual Studio 2010 development environment, extending it for game development. XNA Game Studio 4.0 Refresh works with any of the following Microsoft Visual Studio 2010 products.
Microsoft Visual Studio 2010 Express for Windows Phone
Microsoft Visual C# 2010 Express Edition
Microsoft Visual Studio 2010 Professional Edition
http://msdn.microsoft.com/en-us/library/bb203916.aspx
There are some tricks to "tweak" the XNA templates to work in Visual Studio 2012 and 2013.
(For Windows 8 users) Install Games for Windows Live client. You just need to install it, no further input is required.
Install Visual Studio 2013 or 2012
Install Windows Phone SDK 7.1
This will install VS 2010 Express for Windows Phone and, with it, XNA
If by some reason the XNA installation fails, reinstall
Alternatively, you can install any Visual Studio 2010 and XNA standalone
Copy XNA from VS2010 to VS2013
Copy the folder named XNA Game Studio 4.0 from “C:\Program Files (x86)\Microsoft Visual Studio 10.0\common7\ide\extensions\Microsoft” to
For VS2013 C:\Program Files (x86)\Microsoft Visual Studio 12.0\common7\ide\extensions\Microsoft
For VS2012 C:\Program Files (x86)\Microsoft Visual Studio 11.0\common7\ide\extensions\Microsoft
Open the extension.vsixmanifest file with your favourite text editor (with Administrator privileges), inside the copied XNA Game Studio 4.0 folder
Change the supported Visual Studio version
Change this: <VisualStudio Version=”10.0″> to
For VS2013: <VisualStudio Version=”12.0″>
For VS2012: <VisualStudio Version=”11.0″>
Tell VS to rebuild the Extensions cache
Run this command (Win+R):
For VS2013 “C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe” /setup
For VS2012 “C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe” /setup
If you get an error doing this, run it in a Command Prompt with Administrator privileges
This isn’t always necessary, specially if you have just installed Visual Studio
http://dementedvice.wordpress.com/2013/10/21/let-me-explain-install-xna-on-visual-studio-2013-and-2012/

I reinstalled and it's fixed.
I think it's the installation path that causes this problem. VS2010 and VS2012 should be installed on the same disk. I have VS2012 installed on D:\Program Files (x86)\Microsoft Visual Studio 11.0 and VS2010 reinstalled on D:\Program Files (x86)\Microsoft Visual Studio 10.0 not the default C:\Program Files (x86)\Microsoft Visual Studio 10.0. Then install and copy XNA with the same old trick.
Don't know why is that but it works like a charm.
MonoGame is fine but it still needs support from XNA Content pipeline.

Related

Open Visual Studio Project in Terminal on Mac

My Visual Studio Preview has expired and I can't seem to get a new one for my app. Is there any way I can start it from my terminal without opening Visual Studio?
You can install Visual Studio Community to continue developing in it. When you have visual studio build tools installed, you can compile and run it through the console via msbuild.

Where can I download v4.5 of the expression blend SDK

On my dev machine with vs2017 installed I have
but on the CI server with only the MSBuildTools installed. No Visual Studio I have tried downloading the blend SDK but I can only find v4.0
https://www.microsoft.com/de-at/download/details.aspx?id=10801
Can I get v4.5 without installed visual studio?
You can choose to download this from the internet in the Visual Studio 2015 installer.

How can I get WPF and Windows Phone templates in Expression Blend 2013?

I have a few installs of Visual Studio Express 2013 (Windows Phone, Windows Store and Desktop) but the only options there are when creating a new project in Blend are for Windows Store apps.
Opening a WPF solution in Blend that was created in Visual Studio 2013 just shows the XAML and no design view loads or is available.
I have browsed the Blend install directory and there are Silverlight and WPF templates in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Blend\ProjectTemplates\en\CSharp (although no Windows Store templates).
I have tried repairing the Visual Studio Express Desktop but with no luck.
This webpage implies there is a Blend for Visual Studio 2013 SDK for WPF but I cannot find the download link for this. There was some mention as well in another Stackoverflow post that the templates would be available in update 2 for Visual Studio but I have installed this and there are no extra templates.
Any idea how I can access the templates so I can edit in Blend?
I found this on this Link
You can download Blend for Visual Studio 2013 with Visual Studio Express
for Windows, Visual Studio Express for Windows Phone, and Visual Studio
Professional 2013 and higher.
Here, I took a snapshot;
So, when you download Visual Studio Express for Windows or Windows Phone, you get Blend
for Visual Studio 2013 but for Windows (WinRT / Store) & Windows Phone. You don't get
Blend for WPF or Sliverlight Applications. If you do want Blend for Visual Studio 2013
Full Edition, that you can get by downloading Visual Studio 2013 Professional or Higher.
You can try Visual Studio 2013 Professional or Higher free for 90 Days.
Here is the Link;
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs#DownloadFamilies_2
Hope this helps you understand, why you are not able to see the designer in Blend 2013 when you open a WPF project created in Visual Studio 2013.

Monogame 3.2 in Visual Studio 2013 doesn't work?

I've already edited the vstemplate file to change the version number from 11.0 to 12.0 like the answer to a similar question says on here, but that only makes Visual Studio crash after a create a Windows Store XAML Monogame project instead of giving me the version error. The project ends up getting created, but after I restart visual studio it doesn't want to open any of the source files even after I retarget the project to Windows 8.1. Im using visual studio 2013 express btw.
After a lot of problems, I found a better way of getting it to work.
First install Visual studio 2013 (or 2012, that will work too)
Download XNA 4.0 Refresh and install it
Download MonoGame 3.2 and install it
Then you can start using the MonoGame templates in Visual Studio without problems.
Haven't tried it for a Store app, but it fixed all my other problems with Visual Studio 2013 and MonoGame. I used Visual Studio 2013 Express for Desktop to test it.

build VDProj without Visual Studio installed

We are using Visual Studio 2008 and .Net 3.5. we can build our C# projects in build machine by using MSBuild from SDK because we don't have visual studio installed on the build machine.
Now we are trying to build the Setup project with similar settings. It looks like the MSBuild doesn't like .vDProj. any idea how can we do that?
thanks,
EDIT:
the build machine only has SDK installed, no Visual Studio installed, no other thirdparty build tool installed.
Install Visual Studio on the Build machine.

Categories