Visual studio/win phone development confusion-problem

I just got my new lappy win 8.1 with 64bit.
Now i want to convert game for win phone too.
First i will tell you my journey from first step :smile:

Till now i use “visual studio 13 windows desktop” for win32 in my old lappy.
but i came to know that for windows phone i have to use “visual studio 13 windows” not “windows desktop” WTF
so i installed that too [win32 is not possible in “visual studio 13 windows”]

I am using project/proj.win8.1-universal/pro_name.sln for win 8.1 phone
I got all setup done, after that i got confused with arm-win32-64 configuration setting in project
I am also not able to install 8.1 emulator it gives me this error.


But i have nokia lumia 530 with 8.1 (thank god)

so after all this i am able to run helloworld template into my win phone.
But when i tried to create new CPP file it gives me this error.

Also when i tried to add my prev created files it also gives below error

I am trying to add in FirstDemo.shared/Classes
also what is this AppMacros.h doing here?

what i have done so far is ok? or what is wrong?
Am i got diff between “visual studio windows desktop” & “visal studio windows” correctly?
I tried searching a lot but no luck so far.
I am so frustrated right now with this windows phone dev setup, doing it for first time.

EDIT:
Summary: i get rid of
visual studio version -> sln selection -> configuration setting -> emulator problem -> hello world project.
Now why in the hell i am not able to add/create new CPP/.h files into my project?
I am using 3.4 also tried in 3.5

I dont think is the solution for your problem but: worth using express editions (separated VS for each platform) over Community Edition (both free)? I use ultimate (from dreamspark) and everything works fine.

I dont know about Community edition.
Are you saying that in community edition i can do both? is it free?

http://www.i-programmer.info/news/89-net/7976-full-visual-studio-now-free.html

It is now available completely free for: 
 
 - Any individual developer working on a commercial or non-commercial project
   
 - Any developer contributing to an open source project

 - Anyone in an academic research or course setting (e.g. students,
   teachers, classroom, online course)

 - Any non-enterprise organization with 5 or fewer developers working on
   a commercial/non-commercial project together

https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

Q: Who can use Visual Studio Community?
A: Here’s how individual developers can use Visual Studio Community: Any individual developer can use Visual Studio Community to create their own free or paid apps.

Q: How does Visual Studio Community 2013 compare to other Visual Studio editions?

A: Visual Studio Community 2013 includes all the great functionality of Visual Studio Professional 2013, designed and optimized for individual developers, students, open source contributors, and small teams.

I think this is more than enough to not use Express Editions anymore. :smile:

Basically it is a free Professional Edition for small teams.

You need Win 8.1 Pro to run the emulator and SLAT.
https://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx?f=255&MSPPError=-2147217396

btw If your laptop meets all the requirements and still won’t work try this:

bcdedit /set hypervisorlaunchtype on

reboot and voila!

I have 8.1 pro, dont know about SLAT & hyper thing…

A nice project for you! I suspect you do… What CPU do you have? It is easily looked up.
The cmd line thing I posted is often the crucial ting

i7-4720HQ 2.6Gz
I am not worried much about emulator thing as i have 8.1 device too. [but still i want]
but why i am not able to add/create cpp files into project?

That my friend is a different question entirely!
Are you new to VS?

Well, NO. but i used to use vs 2012 back for devlope win32 version of cocos2d-x game. Thats it!
nothing more. After that eclipse for android.

Create a new topic specific to your problem mate. DO NOT USE Eclipse for android. Use VS and the cocos cmd line

I will try once with Visual Studio Community version once. Its almost 7gb so it will take time to download.
Lets see what happens with that version.
Thanks for eclipse tip. :wink:

You will need to set various things like Visual Studio 2013 - Windows XP (v120_xp) for the cocos2d-x lib
and Visual Studio 2013 (v120) for everything else…

Sorry I think that was for VS2015 CTP…