I'm developing an app using the Cordova tools for VS 2015 Enterprise. I would like to test my app on Windows Phone, but when I try to debug using the built in "device" option, I get these errors:
Does anyone know how to fix this? For reference, I'm using a Lumia 550, in developer mode, which is plugged in through USB to a computer running Windows 10 (with the latest version of VS and the Cordova tools). I looked in my services app, and IpOverUsbSvc is running already. I'm using the latest version of VS and my phone was updated to the latest version of WP10 today.
I have tried doing a hard reset on the phone, as well as using WPPT to deploy the app, both of which did not work.
This is a known issue for Insider Builds. Please see similar case here.
Please try rolling back to stable version (e.g. 10586).
You can use Windows Device Recovery Tools to roll back.
Will this tool work on phones running Insider Preview builds?
Yes. When you use this tool on a phone that's running a preview build, it will reinstall the latest version of Windows approved for your phone by its manufacturer.
Related
Now I'm updating someone's UWP project.
I use Visual Studio 2017 on windows 10 64bit.
Building is successful.
But When I run this project, I got an error.
DEP6200: Bootstrapping failed.Device cannot be found.
SmartDeviceException - Deployment failed because no device was
detected.
I think, the reason is that I didn't use real windows phone.
So that I wanted to use windows phone emulator.
But I don't know how to add emulator to running option.
When I created new UWP project, I could find emulators which are connect to that project.
Anyone solved this issue?
You have to install Emulators.
Please take a look at this page and download them Windows Emulator archive .
Simply choose your emulator version that you want to debug your app and then Click INSTALL EMULATOR , After installation Restart Visual Studio .
To use emulator there are some prerequest, you can check it from here.
That's to say, first ,you need to make sure you followed the system requirements.
Then you have to install emulator like MKH said. And at last, set the CPU to ARM and choose the emulator you need, run the project and you will see the result.
I just signed up for an Evernote API key and downloaded the Evernote SDK for Windows in Visual Studio 2015 (suing NuGet) only to be told "Evernote.SDK 1.25.0 is not compatible with uap10.0".... so it seems it only supports .Net v4.0 which is very disappointing. I had a great idea for a UWP app that I wanted to synch to Evernote but I guess now I can't do it.
In case you're not aware UWP (Universal Windows Platform) is now the standard for developing current and future Windows 10 apps that run across all W10 devices. Can anyone at Evernote tell me if the SDK will support this and if so when? More people already use Windows 10 than use iOS (on PC's and tablets at least) so I really hope this platform will be supported in the very near future.
From the 1.25 version number you mention, it sounds like you're trying to grab the older C# SDK. You can try the newer SDK for Windows and see if that works.
If that NuGet package also doesn't work in your UWP environment, you should be able to grab the source from Github and put that in your VS solution.
I am a new user to xamarin.
I installed Xamarin.IOS on visual studio. When i create a new project and want to build it, vs says that you should select a "mac build host".
Is it necessary for building ios application?
May I do that in a simulator? because I don't have a Mac machine.
Thank you very much.
You must have a Mac to act either as a build host or your primary development machine in order to build an iOS app. The iOS build process relies on the Apple iOS SDK and tools that are ONLY available from Apple on OS X.
If you are completely refused any idea of buying Mac here the solution. In my case I use next tools:
Windows 8.1 x64
Visual Studio 2015 Update 3 (Xamarin inside)
VMWare Workstation 12
Inside VMWare Workstation:
OS X 10.11 El Capitan
XCode 7.1 (Xamarin's developers recommend 7.3)
Xamarin Community 6.0.1
General advice is to use latest versions and updates of all tools.
Install El Capitan as it described here.
On VM install latest XCode (you probably need Apple ID for it) and iOS part of Xamarin Studio. If Xamarin Installer generates error on downloading JDK 7 then download and install it before Xamarin Studio
Enable Remote Login in MacOS settings and allow access for your user
Configure VM network as NAT and make port forwarding for port 22
Run Visual Studio on Windows and create iOS project.
Connect to Mac using IP 127.0.0.1 and type your Mac's username and password
Select appropriate iOS emulator in Visual Studio and run.
Here the proof pic
Regarding this topic I've tried many approaches. I spent too many hours trying to install hackintosh on a VM on my MS Windows 10 system... I tried a lot of receipts... I could install it free times but I couldn't reboot it none of the tries. ##£%&!!!!
Before this anoying "R&D" I searched for a cheap second hand Mac and I also searched after but without getting good results...
Today I want to share my next step with you all before starting with it because I guess (I hope indeed) is going to be the solution for my next 4-6 months to do iOS developments with xamarin using VS on a Windows machine without owning a Mac, use a Mac hosting already prepared for dev purposes:
https://www.macincloud.com/checkout/managed.html
For setting up Xamarin iOS with Windows and Visual Studio, you'll need to have MAC to run / test the application in the simulator.
Please review the limitation here http://developer.xamarin.com/guides/ios/getting_started/installation/windows/
You can either install MAC OS X in your windows PC using VM Ware and setup MAC OS
Is it possible to install WP7 SDK on Windows 8 Release Preview? I tried using standard installation package but keep getting following error:
Installation Requirements:
KB2669191 does not apply, or is blocked by another condition on your
computer. Please see http://go.microsoft.com/fwlink/?LinkId=225649
for more details.
I installed WP7 SDK 7.1 but had some compatibily errors durring the instaa. Right now I can start VS2010 for WP7 but cannot build the solution because of following error:
The target "GetCopyToOutputDirectoryContentProjectItems" does not
exist in the project.
The following link gives the exact steps you need to perform in order to install and run WP7 sdk on windows 8 : WP7 Sdk on Windows 8
For development of XNA/WP7 on Win8:
Install Windows 8, then Visual Studio 2012, then Windows Phone 8 SDK, ensure windows updates are installed (as Nov 2012 had some great App Store updates). Then, port your XNA code across and create a new project to get the DLL references you need. The DLLs will exist in the Silverlight 4 folders but not to worry, it all works once you have WP8 SDK !! The emulator runs great too! This is the process for XNA code into VS2012 that works.
You can get the SDK from here:
https://dev.windowsphone.com/en-us/downloadsdk
NOTE: The XNA games will ONLY work on WP7 devices. You need MonoGame or similar to port to Win8 devices.
You should install WPSDK 7.1 first, before installing 7.1.1 Update. Check the Instructions at the bottom of the page.
see Installing Windows Phone SDK.
Update:
I have used the SDK's 7.1 and 7.1.1 from the above link and they are working fine in Windows 8.
Uninstall Windows Phone 7.1 RC SDK, then install 7.1 RTW SDK, and then the 7.1.1 SDK.
And every thing will be alright
this link for 7.1 RTW
and this for 7.1.1
Good Luck :)
This article finally did the trick. Hopefully posting it here will save someone from the nigh terrors ive been experiencing lol. The work around involves installing the xbox live marketplace and then installing the wp7 sdk and XNA will install normally.
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2012/03/05/windows-8-and-the-windows-phone-sdk.aspx
this will get the warning error to go away. To fix the emulator problem you mus download the windows phone sdk 7.1.1 which is an update to the 7.1 sdk you were having problems installing
The error 'GetCopyToOutputDirectoryContentProjectItems' has been known to come from Silverlight, therefore I recommend you try to reinstall the Silverlight SDK on your machine.
Source: GetCopyToOutputDirectoryContentProjectItems
Please go ahead and install windows 8 RTM now, after you install RTM ,Install Visual Studio 2012 and then WIndows Phone 8 SDK.now with this SDK , YOU CAN WORK ON WP7
as well as WP8
you can install sdk update 7.1.1 if you didn't.. It solved the problem for me
Download Windows Phone SDK 7.1.1 Update
This article solve my problem:
http://blogs.msdn.com/b/astebner/archive/2012/02/29/10274694.aspx
Basically was necessary install: Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient, after everthing works :)
Can I use the copy/paste functionality that I can find in the updated emulator (January 2011 dev tools update) on my phone?
You cannot use it without the phone being updated.
As of today, the official updated OS build that supports copy/paste is not out yet. Until you get that update and install it on the test device, you cannot use the new functionality on a phone with the older OS build, even though you can access it in the emulator.
Just found this post:
How to: Test Copy and Paste in Windows Phone Emulator
Check also the official post and release notes:
http://create.msdn.com/en-US/news/Windows_Phone_Developer_Tools_January_2011_Update