Visual Studios 2010 Windows Phone 7 to XNA 4.0 - visual-studio-2010

I'm currently using Microsoft Visual Studio 2010 for school. I recently completed a project for the Window Phone 7 platform and am now working on an XNA3D project, however I cannot seem to change my SDK environment from WP7 to XNA.
I've opened previous projects that were started using the XNA framework, but Visual Studios opens using Windows Phone 7, not XNA. I've tried creating a new project and creating it as XNA 4.0 but when Visual Studios loads up my workspace it is still using the Windows Phone 7 header in the drop down menu at the top of the screen. The program still loads the required XNA framework, and will run my program as XNA and will not load the Windows Phone 7 Emulator, so it's not a massive in-my-face kind of problem, but it is an annoyance, and one that neither myself, nor my teacher can solve. I've played around with some of the settings and properties but nothing seems to change it. VS2010 won't even let me click the drop down arrow and select XNA, it's greyed out.
What I'm asking, is has anyone encountered this issue before, and if so, how did you resolve it? Or, do you know how I can fix this and get on with my homework?

Visual Studio identifies the project with unique projectID. And I guess this is the case for you. I highly recommended that you should update the visual studio to 2012 it is good and you can use XNA there too. Here is stackoverflow question explaining details. And it may solve your issue too.
And there is one more way, you can create new XNA project and link your all files to that project. Most of the things works there. Normally I do that while creating [Monogame] (http://monogame.net/) A nice opensource port of XNA.
I hope I understand your question correctly and able to answer that. Please let me know if any specific or more details required.

Related

How to add a service reference to Xamarin PCL on VisualStudio 2017

I'm working on a simple Xamarin cross-platform mobile application that needs to connect to a WEB Service. There are a few posts (see here, here and here) saying that Visual Studio doesn't support Service References for Windows Phone 8.1 and that I must remove such target from the project.
Unfortunately I don't seem to be able to do so under VS2017 Community (Release 15.1 26403.7): see image Visual Studio 2017 doesn't show any Windows 8.1 Target. "Windows Phone 8.1" is indeed in the targets but when I click on "Change" it doesn't appear... so I can't remove it.
I know I can add a reference to each platform-specific project (Android or iOS) but the whole point is to rely on a single common service reference and avoid time-consuming interfaces.
Thank you for your help!
Andrej
All my apologies, I have found the answer - like, 45 seconds after posting - by putting together this post and this post:
Manually edit the portable .csproj
In the "TargetFrameworkProfile" enter "Profile78"
VS2017 will reload the project and you will now be able to add a Service Reference.

Can't create a UWP app

I recently, upgraded to Windows 10 and got Visual Studio 2015 Community hoping to build UWP apps and ASP.Net 5 apps. At first, I installed everything, but ended up skipping / canceling the Windows 8.1 / 10 mobile emulators (my PC can't even run them). After everything was installed, I went to create a new UWP app (C#), and got this error:
Next, I try the same thing, but with JavaScript. It works perfectly! on the same UAP 10.0.0.0 that is supposedly missing. The link it provides is completely useless (it sends me to http:/microsoft.com/en-us) -_-. Oddly, this only happens when I try to use C# or VB.Net, JavaScript UWP apps seem to work fine. What is going on here? Where can I find the real link to the SDK I need?
UPDATE
JavaScript UWP apps will be create just fine, but when I attempt to build, I get:
Error "10.0.0.0" is not a supported value forTargetPlatformVersion.
Please change it on the Project Property page. Test
C:\Program Files (x86) \MSBuild\Microsoft\VisualStudio\v14.\JavaScript\Microsoft.VisualStudio.JavaScript.UAP.targets
This is the download link for the standalone SDK, maybe reinstalling the sdk will fix the problem.
https://dev.windows.com/en-us/downloads/windows-10-sdk
Normally you don't always have to reinstall visual studio when something goes wrong because it takes a lot of time to reinstall again. From your question you skipped/cancel that feature, the first thing to do is go to the control panel and double click on visual studio under programs to Modify the software and enable those features.
In the case, visual studio was working properly before but due to some updates it stopped, go to control panel right click the visual studio version you have under programs to repair.
If the above doesn't work try to reinstall it again. I hope this helps.

Visual Studio 2013 Compiler issue on Windows phone 8.1 silverlight project

Today I tried to make a windows phone application, I first stared with universal application and and it worked, emulator was running with project but when I try to use Windows.Phone.Speech namespace I couldn't do that, thus I make some research for it, Then I find the answer I need a windows phone silverlight project. When i'm trying to run a blank windows phone silverlight project I got some error like that
I couldn't find anything about it, I compare the csproj with a working wp silverlight project but I couldn't find a difference between them.
Thanks.
Check to make sure you are compiling for Any CPU or specifically for the right kind of CPU that you intend in solution properties.
I found a solution about it, but there is still some missing on my answer.
I don't know how but accidentally a blank project worked on my emulator. After that I looked up the ProjectName.csproj.user file and there were a change somekind like that
After that I added the same lines to another project, and it is worked. The main problem of this solution you need a emulator guid ID. In my solution it was 57B0267A-6444-41EB-9127-2ED594284A2D.
Thanks.

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?

strange lines in visual studio 2012 after activation

I have installed VS 2012 some days ago.After activation there are some strange lines in the UI
that appear on menu and code editor area.I don't know how to get rid of them.
http://mojoimage.com/free-image-hosting-11/4739vs2012.png
another example while repairing VS : Picture
VS2010 and 2012 use WPF for their UIs - it's likely this issue is with your graphics card or driver. Please ensure you're running the latest graphics driver versions. If the issue continues then I suggest you try running other WPF applications and seeing if they render things okay.

Resources