Visual Studio Store Apps - c#

So recently I've begun learning C# from this man's video series. Right now I have Visual Studio 2013 (Community edition), and in his video he's using a subcategory called "Store Apps." My problem is that in the current version of Visual Studio I'm using, it doesn't acquire this subcategory. Anyway on how I may obtain it?
Thank you for your help.
Regards,
Saroekin.

You'll need to have the Windows Phone 8.1 SDK installed as he suggested, and make sure that you also have Visual Studio Update 2 installed.
Comment from the video description:
Note: Before we get started, make sure that you already have the
Visual Studio 2013 Update 2 installed, which will include the Windows
Phone 8.1 Tooling, like we talked about in the previous lesson. If you
already have that installed, then we're ready to move forward.

Related

Xamarin Studio: Does not display the list for to create C# Android project

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?

Visual Studio 2015 C# XAML Designer doesn't load

In the new Visual Studio 2015 RC the XAML designer does not bring up a UI for a C# Windows Universal project but it does for a C++ Windows Universal project. This occurs with both the Professional and Community editions. Has any one experience the same problem and have a workaround/solution?
I have the same issue, when I upgraded the Win10 SDK from 10240 to 10586, set the project properties->Application->Target version to Windows 10(10.0;Build 10240),
the design view shows up again.
If the XAML designer is failing to open, check the "Flag" notifications in the top right corner. You might notice a message that your Windows 10 build needs to be updated.
1:
The target platform can't be newer than the Windows 10 build you're actually running.
To help clarify this a bit -
If you are building a Universal Windows 10 application with Visual Studio 2015 running on Windows 8.1 - something that we have enabled for the first time without requiring your to upgrade your OS, you will not be offered the XAML designer option - we will only allow you to edit XAML using the editor and IntelliSense. Similarly, you will not be allowed to test the application locally or using the Simulator (since it is a Windows 10 application and cannot run on your machine). Everything else should work fine, but for the best experience possible, consider upgrading to Windows 10.
If you are building a Windows 8.1 universal application, it should work just like before.
Windows 10 (fresh install + Developer mode)
VS 2015 Update 1 Ultimate
SDK Build 10586
By default no designer being available even via Shift-F7.
This expands the scope of the original problem, its not a VS edition based issue at all. Its a problem with the SDK support.
AS per Wener Henze
Swtich back to Build 10240.
Fixed. Designer now available.
Werners workaround is confirmed and saved me lots of time. I don't have the rep to thank him, or comment on his post directly.
I installed fresh Windows 10 and Visual Studio Community 2015, and the designer failed to load (for MainPage.xaml etc). I had to:
enable developer mode in system settings (update section) as suggested in info dialog
(re)install Visual C++ redistributable for VS 2015
But I don't know which one exactly resolved the problem... Now the designer loads as expected. (I tried only C# universal app yet)
In case if you have installed fresh Windows 10 Build 10240 and downloaded and installed latest Visual Studio 2015, target version 10240 is not available in Project Properties -> Application -> Target version and designer is not working too.
I have got Target version 10240 selection available after I've installed additionally Windows 10 RTM SDK from following page. As discussed above, designer works fine if Target version 10240 is selected.
As an update to the answer of #Ivan because I just had to do with this issue recently.
In my case I only had the option to change the Min Version from 10586 to 10240 but for the Target version I had no other choice than 10586. So solving this issue was not possible.
The solution was to install SDK Version 1506 (Version 10.0.26624.0) which can be found here https://developer.microsoft.com/de-de/windows/downloads/sdk-archive
After a restart of Visual Studio I was able to switch the Target version as well #Ivan mentioned and the XAML designer finally showed up. Heureka!
Thanks for the hint #Ivan.
you have to have the appropriate sdk installed on your machine, you can get it from the official site of Microsoft https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
before that please remove the old sdk you installed on your pc, so that VS will use the new one.
then it'll work... i fixed mine in this way.

Console template in Visual studio 2013 not there?

So today I downloaded visual studio 2013 express twice (the download was canceled the first time) And when I opened it, it told me to get a windows 8 licence, and I did... The thing is, when I want to start a new project, the only template available are store app... Here's a screenshot: http://i.imgur.com/7mpUNZn.png
I am aware back in visual studio 2010, there was an option for console application and I wonder where it is... Maybe I am being stupid, but I do need help! I do not want to create windows 8 application :/.
Any help would be great!
You have most likely downloaded VISUAL STUDIO 2013 EXPRESS FOR WINDOWS (STORE).
You need the edition for Windows Desktop, located here. See all links and editions in Scott Hanselman's recent blog post.
AFAIK, the version that you require to create a console application is
"Express 2013 for Windows Desktop"
There are 3 versions of Visual Studio Express.
all three versions are found here:
http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx
"Microsoft Visual Studio Express 2013 with Update 4 for Windows Desktop" is the current version; one can choose between "install now" and a .iso image.

Installing Directx and Direct3D in Visual Studio

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.

Setup Artemis + XNA

I am trying to set a coding environment for Windows Phone.
At first I was using the free version of Visual C# 2010, but compiling failed for the Artemis DLLs - Unsupported unit-testing modules...
So I downloaded Visual Studio 2012 - Compiling worked, but not for everything! The Xbox and Phone DLLs were not compiled.
The error message sent me to Visual Studio 2013 compatibility page.
...
I downloaded VS2013 - Same issue.
I want an environment for XNA + Artemis (Entity-based programming) for C# (PC and Windows Phone)
Can anyone please give me directions?
Is there a way to get a Windows Phone 8 emulator working on a non-Win 8 Pro environment? I have Win8 and I don't want to pirate a windows just so I could start an emulator for development. (I have a real DEV ID and SDK approval)
Also, I do not plan on coding with the VS2013/2012 (I already removed 2012, will do the same with 2013 if it is not needed for the set up) as I said, I wanted to compile the libraries (and couldn't with VisualC#!)
As far as I know, XNA is not anymore supported in the newest versions of Visual Studio (then 2012 and 2013).
Indeed, to create a little game some time ago, I used Visual Studio 2010, that was the last supported version for those libraries.
I don't know exactly how to create games in Windows Phone 8, without using XNA, but there's a library named SharpDX that could be useful for you. Take a look at this question.
As was stated by Moo-Juice - "What I do know that works with both VS2010/VS2012 Express is Monogame. Check it out."
This is not the answer I was looking for, but it's something I did not know of.
Thanks Moo-Juice

Categories

Resources