Need a little help getting Windows Phone SDK to work - c#

Why is trying to use the Windows Phone SDK (Any version) so problematic? I have tried to install WP8 on my Windows 8 machine with Visual Studio 2012 Ultimate and despite a month of troubleshooting and searching, not a single thing has fixed the issue. First of all, the WP8 installer tells me that my OS is not Windows 8 - then it tells me that my version of the .NET Framework is not supported (I have every version from 3.0 up to 4.5). As a last resort, I tried running the installer in compatibility mode but that option is not even available for the installer.
And then I looked in my Start menu and found a folder named Visual Studio 2010 Express. I expanded this folder and to my surprise, it had Visual Studio 2010 Express for Windows Phone.Ink (WP7.0 and WP7.1) in there - so I opened it. Everything seemed to be going just fine. I created a new project "PhoneApp1" and without writing any code or making any changes, I hit the debug button - and this is what I get:
It says "Run the program without getting help". So I clicked it. And then this happens:
Click OK...
Click NO...
Connection failed because of invalid command line arguments.
Now we get the error message. Not very helpful, but I went searching online and I dug as deep as I could in Google results and I think I've tried atleast 20 different sites and even more "solutions" but not a single one of the solutions even worked.
Hass anybody had this exact same issue? How did you fix it?
Please don't tell me to install WP8 SDK unless you also have a solution that works for that.

try to install win8 ultimateļ¼Œbecause i think wp8 is just compatible with win 8 RTM.
about wp7,i have no idea, but win 8 is compatible with those wp7 and wp8

The Best solution is to install Windows 8 Pro or higher and install either WP SDK 8 or 7.1. You can have both VS versions side by side.
And if that is not possible right now, for time being your problem may be solved by installing Windows Phone SDK 7.1.1 Update. Which makes the WP 7.1 SDK compatible with Windows 8 And also adds the Emulator supprot for 256MB RAM devices. Your screen shot indicates that you did not have this 7.1.1 update.

Related

UWP can't set target to Windows 10240

I have some trouble getting started with the Universal Windows Platform.
Herefor I've installed the Visual Studio 2015 Community version, and I can succesfully create an App and run it on my Raspberry Pi with Windows 10 IoT Core.
But my problem is that I cannot get the designer visible in the XAML files. Now have I found an answer to this in the following post:
Universal Windows App Visual Studio 2015 Community no designer, no controls in toolbox, no properties
Here I read that I have to set my target version to Windows 10240. This could be correct, because my current Windows 10 version is 10240, but for some reason I cannot set it to 10240. I can set the minimum version to 10240, but on the target version is only 10586 visible. Does anyone know what the reason of this is?
Please find the below screenshot for more information.
I've also tried to get my Windows 10 to update to 10586 (November Update), but this update fails, I guess maybe because my Users directory is on the D: Drive.
Click here for my Windows Version Screen
For this and all related problems, your best bet is to go to the dev center and check there.
In this case, it looks like you are missing the SDK that targets the build 10240 of Windows 10, which can be found on this link.

Why am I getting a "package could not be registered" deployment error on Windows 10 UWP?

I have an application targetted for Windows 10 and the UWP. The application correctly runs for x86 and x64 but when I try to run it on a mobile device targetting ARM on a Nokia Lumia 820 I get an error message during deployment:
DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)
There are other questions relating to this error that suggest it could be an issue with shared user certificates or that you can't have Audio and Device use in the same background task but I am not using either of these. There is also a suggestion that this may be due to a missing icon however to the best of my knowledge I am including far more icons than I actually need.
I have tried removing everything from my assets folder and removing it from the manifest but this also hasn't solved the problem.
Edit I've also tried creating a new blank universal project and that too runs on x86 and x64 but not on the mobile.
You have to run Windows 10 Mobile on your Lumia and you should at least have OS Version 10.0.10240.x. This will work with the release Version of Visual Studio 2015. If you have a CTP or Preview Version of Visual Studio, you should update them to release to get it running.
To get the preview onto the phone, you need the Windows Insider app on your phone and follow the instructions. Choose "fast ring" to get the latest bits.
http://windows.microsoft.com/en-us/windows/preview-download-phone
Get the app here:
https://www.microsoft.com/de-de/store/apps/windows-insider/9wzdncrfjbhk
This should make it work for you.
For more info on the current preview version check this link:
http://blogs.windows.com/bloggingwindows/2015/08/12/announcing-windows-10-mobile-insider-preview-build10512/

VSExpress 2012 throws Microsoft.SmartDevice.Connectivity.PlatformNotFoundException

I'm doing Microsoft's basic introduction to creating a Windows Phone 8 app, creating a "MiniBrowser" (http://msdn.microsoft.com/library/windowsphone/develop/ff402526%28v=vs.105%29.aspx) to get a feel of using VSE and debugging on my WP8 (Nokia Lumia 920). I have Windows 8 64-bit on my laptop (not Pro, so I realize I cannot utilize the emulators; this is therefore my only way of testing and debugging).
However, trying to deploy my app through Application Deployment and VSE 2012 (Deploy Solution under the Build tab, Debug tab under my project properties) gives me this strange error - "Exception of type Microsoft.SmartDevice.Connectivity.PlatformNotFoundException was thrown."
I have followed all the directions under "About deploying and running apps on a Windows Phone device" in http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565%28v=vs.105%29.aspx.
Googling and searching msdn and stackoverflow has not been successful, and it seems like no one else is encountering this problem. I feel like it should be a fairly simple and straightforward process to debug on my own phone... What am I doing wrong here?
EDIT: I downloaded the WP8 SDK and repaired my installation. I am no longer receiving this error.

Can't open WP7 solution with VS 2010 Express

I've downloaded a zipped project from https://github.com/slodge/face. This project is a wp7 realization for face.com api. I've just started studying silverlight and wp7 applications, so I'm not strong at it. The problem is that I can't load this solution. The error message is "One or more projects in the solution were not loaded correctly. Please see the output window for details"
What do i have to do?
I just opened solution and it works ok. I think you have problem with your environment.
From errors you see it appears you have no SDK 7.1
Please download and install.
Since it's my github account... :)
This project is just a 7.1 (Mango) project - so it should load for you.
If it doesn't then please do check the output window for more help.
If it still doesn't then the project itself is quite simple - the main code is in the faceapi class - and should be simple enough to use even without a project file. If you need any more help with it, then email me (see my so profile for email address) or contact me via twitter #slodge
To get the app running you will need your own API key from Face - see https://github.com/slodge/face/blob/master/SmilieHappy/Helpers/FaceApiSecrets.txt
Also, the team at face.com seemed very helpful when I contacted them!
Stuart
I also encountered same issue like yours. Some project can open correctly and somes are not. The issue is because the tag is only support "WindowsPhone" other than "WindowsPhone71".
So the solution is clear, manually edit the ".csproj" file. Change the "WindowsPhone71" to "WindowsPhone".
This issue does because symbols related to the windows phone framework (7.1 or 8.0) are missing. I think why I meet this issue is due because I install SDK7.1 on Windows Server 2008 R2 (which sdk not support) through "Web" way.
Here is the link how I install the SDK.
How to install the Windows Phone Developer Tools on Windows Server 2008

Missing Content Importer and Content Processor in XNA Game Studio 4.0 on XP

I've downloaded and installed Visual C# 2010 Express and XNA Game Studio 4.0 on to my XP (32-bit) machine. I had to do this by downloading the files individually as the App Hub package wouldn't install when I tried that, something to do with the Windows Phone stuff.
Anyway, I'm having trouble with transparency on PNGs and I took the project in to work today, and found that by changing Content Importer and Processor (properties) transparency worked fine, this was on a Windows 7 machine.
However on my XP installation at home, the drop down menus for these two boxes are empty. I have tried complete uninstall and re-install but this didn't help. Is there anything else I can try?
I can run the code fine, just can't get transparency on my images.
I'm basically missing the drop-downs shown in the image on this page:
http://msdn.microsoft.com/en-us/library/bb199633(v=XNAGameStudio.40).aspx
Interesting Addition: If i set the importer and processor at work, save the project, and bring it home, the settings show up and work. So it appears i'm purely missing the link between the drop down menus and the available settings.
On the off chance that "downloading the files individually" means you've downloaded the wrong thing, here is the stand-alone installer for XNA Game Studio 4.0, which will run on Windows XP.
(The Windows Phone Developer Tools, on the other hand, will only install on Vista and above.)
I was having problems with transparency in my PNGs as well. It may be the program you're using to create/convert the png files. I used irfanview and no longer have any problems.
I never found a solution to this whilst using XP. However now that I have upgraded to Windows 7 everything works as expected. I can only therefore assume that either there was something incorrect with my installations of the Net Framework, XNA Game Studio, or XP; or alternatively XNA Game Studio does not fully support XP.

Categories