When I try to install the Windows Phone Template Pack on Visual Studio Community 2015, the following error is obtained.
What is the reason? Where can I check the error log from?
Couple of issues:
The Windows SDK link you provided (http://www.microsoft.com/en-in/download/details.aspx?id=8442) is for Windows 7. It is not compatible with Visual Studio 2015 for Windows Phone development.
I think this error you're seeing with the Windows Phone Template Pack (HRESULT: 0x80070057) is because the Windows and Windows Phone 8.1 Tools are not installed on your computer along with Visual Studio Community 2015.
I am able to reproduce this only when the Windows and Windows Phone 8.1 Tools are not installed.
If I click skip, then I see the error dialog you included above.
To resolve this issue,
Go into the Control Panel
Open up Add/Remove Programs (or Programs & Features depending on your OS version)
Select Visual Studio Community 2015, then click Change
In VS setup, click Modify
Make sure that the "Tools and Windows SDKs" feature under "Windows 8.1 and Windows Phone 8.0/8.1 Tools" is checked.
If you're running Windows 8.0/8.1/10 x64 Professional or higher with a Hyper-V capable computer and then you should also be able to install the Windows Phone 8.1 emulators.
-Paul Chapman [MSFT]
Found this answer today, but it no longer works, or doesn't work if the host OS is Windows 7 Pro. I just installed Windows 7 Pro (plus all updates) and then VS2015 (plus all of ITS updates) on an otherwise CLEAN computer. NO SDK was installed. My options for modify look like this:
The Windows 8.1...Tools option is TOTALLY MISSING. The Windows 10.0 SDK is offered under the Universal Windows...Tools option, but that doesn't help me with Windows 7 targeted development.
Also, FWIW, the Windows 8.1 install tool that Microsoft is offering for download just gets an APPCRASH every time I try to use it (and yes, I've downloaded it several times, even to different machines, but always with the same result.)
So for me, I can either stick with Visual Studio 2010 or suffer the user interface abomination that is/was Visual Studio 2012 (not gonna happen). Sigh.
Related
Last night, I downloaded Unity to start developing games with my brother. The installer also gave me Visual Studio 2015 and MonoDevelop, which I gather is basically a slightly modified Visual Studio.
This morning I discovered the problem: MonoDevelop will open, but Visual Studio won't. It always came up with a pop-up box saying "The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer."
According to this other StackOverflow question, I need to download the Visual C++ Redistributable for Visual Studio 2015. But before doing that, I decided to check if I already had it, just in case.
I opened "Programs and Features" and beheld that I already had nine other Visual C++ Redistributables installed on my machine. This image shows the list.
Included are the 2010, 2012, 2013, and 2015 redistributables for both x86 and x64. I don't know if this is typical or not but it certainly seems excessive.
Despite all these, my Visual Studio still won't open. Do I need to install another one? I'm happy to do that if I need to; I just want to start coding.
(I also had this same problem with Microsoft Office 365 before I just gave up and downloaded Microsoft Office 2013 instead, which works fine. Perhaps it's a problem with my machine? I'm running Windows 7 64 bit, for what it's worth.)
You also need to install the Universal C Runtime
The Windows Update package on this page allows Windows desktop
applications that depend on the Windows 10 Universal CRT release to
run on Windows Vista SP2, Windows 7 SP1, Windows 8, and Windows 8.1
S14.
Extract the WindowsUCRT.zip and install the Windows6.1-KB3118401-x64.msu (note if you get a hang at "Searching for updates on this computer", cancel the install, stop the WU service and try again to install the update).
Is it possibility to create windows universal app for windows 10 in Visual Studio 2013? Should I install some kind of SDK, and after that everything will be ok or I have to use VS2015?
VS2013 won't work, you have to use VS2015.
You can run VS2015 on Windows 10, Windows 8.1 or Windows 7 to create Windows 10 apps.
Make sure to install the components for Windows Universal App Development during the installation of VS 2015. VS 2015 can be installed side by side with VS 2013.
More info can be found on MSDN
No need to have 2015. Not everyone is having this.
If you are using a different development environment than Visual Studio 2015, you can download a standalone Windows SDK for Windows 10 installer. Note that you don’t need to install this SDK if you’re using Visual Studio 2015 Update 3 – it's already included.
https://developer.microsoft.com/en-us/windows/downloads
Below is the link for SDK
https://go.microsoft.com/fwlink/p/?LinkID=822845
Ramprasad.
I need to develop a windows mobile application. I have Windows 8.1 (Enterprise) PC with Visual Studio 2012 Premium. Which version of windows phone SDK can I use?
I searched in net and found here(http://support.microsoft.com/kb/2864215) that SDK 8.0 can not be used with Win8.1+VS2012. Everybody suggesting that I have to use VS2013 with SDK8.1. Is there anyway to use SDK8.1 in VS2012?
Is Win8.1+VS2012 useless for windows mobile development?!
I can not change the OS(8.1) and VS2012; those are fixed. Apart from those, I am free to install/update anything in my PC. Could anyone please let me know a way to make my PC to usable for windows mobile development?
I have been developing WP (Windows Phone) 8.0 apps using Visual Studio Express for Windows Phone. To start developing for WP 8.1, I downloaded VS 2013 including update 2 RC from Windows Phone Developer site which is supposed to use to develop WP 8.1 apps.
I've tried twice, but there is no option to create WP 8.1 app even after a successful installation. What I get is only this:
i.e. no option to create Windows Phone 8.1 apps. If it matters, I'm interested in WP 8.1 Visual C# template specifically.
As I've mentioned, since I develop Windows Phone 8.0 apps, therefore Visual Studio Express (2012) for Windows Phone is already installed.
I've already gone through:
WP8 Development on Visual Studio Express 2013
Why is there no Windows Phone version of Visual Studio Express 2013?
Visual Studio 2013 and Windows Phone
How to get started with windows phone SDK 8.1?
WP8 Development on Visual Studio Express 2013
but none address the solution.
Being a windows app developer even I was baffled with the shift in Windows Phone location. You can find it in
Visual C# --> Store Apps --> Windows Phone apps.
Do sign in, in Visual Studio through Microsoft Account then go to ur notification and update ur VS and you will get this screen. Its usually caused due to some updates working only when VS can access developer's account and also I am using VS 2013 pro.
Have you installed Windows phone emulator SDK with the updated emulators?
I finally got the solution.
I downloaded both Visual Studio 2013, and update 2 RC using the /layout switch at command prompt. From MSDN:
After you download the update executable from the MSDN website to a
location on your file system, run the following command at a command
prompt: /layout.
This command downloads all the
packages for the installation. By using the /layout switch, you can
download all the installation packages, not just the ones that apply
to the download machine. This approach gives you all the files that
you need to run this update anywhere and may be useful if you want to
install components that weren't installed originally.
To do this, download the Visual Studio 2013, and Visual Studio 2013 Update 2 RC files (about 2-3 MBs each). Then, create a shortcut of these files on desktop, and then open properties of shortcut. In target field after ", add a space followed with /layout as shown below:
This will download all installation files to your disk and when you install the VS (the exe at specified download folder), it won't ask it to fetch from internet, rather will do it from offline files and phone SDK 8.1 will be installed too.
Please be warned that, this will take a lot of time. To save time, I suggest following what is in Update section.
Update
While searching on internet, I found these two links on Microsoft website:
Microsoft Visual Studio Express 2013 for Windows
Desktop
Microsoft Visual Studio Express 2013 for Windows with Update
2
In download section, these two sites show that, the offline download option is now available (as evident from the ISOs shown). Though, I don't know if that would help as I haven't tested this option. Just that this option will be much more quicker than using /layout switch.
Can any Windows Phone Application developer help?
When i run my project, emulator starts and shut down, and the error The interface is unknown is displayed in error log in Visual Studio.
It was running fine the other day.
What should i do to get rid of this error?
If you are using Visual Studio 2010, the window phone emulator for widow phone 7 series suites your PC. if you are experiencing problems with it, simply download Visual studio 2010 service pack 1 and re-install the tools. you can also update your .net frameworks from windows update.
if you are using Visual studio 2012, then you must be using the window phone 8 emulator which runs on only 64 bit and window 8 pro (or advanced) machines. it works on the visual machine. so you can re-install your Hyper V drivers or re-install the SDK
i hope this help fix the problem permanently.
Identified what the problem was :-)
"Windows Phone Emulator-512" is compatible with only Visual Studio 2012; it is not backward compatible with earlier versions of Visual Studio. So, now i used "Windows Phone Emulator-256", it's working fine :-)
Thanks to: https://msdn.microsoft.com/library/windows/apps/ff402563(v=vs.105).aspx