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.
Related
My UWP app uses NavigationView XAML control. It was introduced IMHO in Fall Creators Update. My phone is 1709, build: 10.0.15254.369. So, this app should be installable and runnable on this phone. I set minimal targeting version in Visual Studio to 10.0.16299 (this is the only available version for Fall Creators Update there). But bundled application seems to be not installable (after installation I don't see it in list of installed apps in the phone). When I decrease minimal targeting version - it's installing on the phone but fails on run (I suppose due to used NavigationView control). So, question is: why app is not installing on this phone and how to create "humburder-like menu" in this situation (I have NavigationView control only in my Visual studio).
If your app has minversion=16299 it means it can only be installed on operating systems with version 16299 and above. Your device is on OS version 15254, so it can't run apps that target 16299.
Another way to put it: All APIs that have been introduced in SDK 16299 are not supported/available on the latest build for Windows Phone.
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/
This is going to be quite a long question but please bear with me till the end. Before going into the details, below are my PC environments:
Windows 7 Professional x64
Visual Studio Community 2013 Update 4
On top of that, I checked my PC's processor does support virtualization using IntelĀ® Processor Identification Utility.
I also installed all the required SKD 8.1 components required to develop Windows phone 8.1 apps as shown in the picture below.
Now I clearly understands from the visual studio website requirements:-
Windows Phone 8.0 development requires Windows 8.1 (x64) or higher
Windows Phone 8.1 development requires Windows 8.1 (x86) or higher
For the Windows Phone emulators, Windows 8.1 (x64) Professional
edition or higher, and a processor that supports Client Hyper-V and
Second Level Address Translation (SLAT)
But from this SO Q&A it seems like developing windows 8.1 phone apps is still possible. However when I try to open an existing windows phone 8.1 project I got the error as shown in the picture below:
On top of that, in my Add New Project window there are no Windows Store Apps templates showing up.
I later found out from this msdn documentation that the RequiredPlatformVersion Element of the Visual Studio project template is filtering out the templates. However I tried to change the Blank Windows Phone project template element's value to 8 as specified in the documentation and also a few others value smaller than 6.3.0 but still fail to show the template.
Then I tried to install an extension called Windows Phone Template Pack which then adds two window phone project templates in my Add New Project window as shown below.
I created an empty project using that template and surprisingly I am able to open the windows phone 8.1 project as shown in the picture below.
That got me thinking that it should be possible to develop windows phone 8.1 apps but not emulating it but I am out of ideas on how to work around it now. I even tried looking at the denv.exe.config file to try my luck but there's nothing of interest there either.
Is there anyone that successfully build a Windows Phone 8.1 apps in an similar PC environment? A workaround will be sufficient.
Sorry to say this but Windows 8.1 is a requirement for developing as usually emulators on being initialized tries to load the OS into the device like the basic theme etc options.
1) You can try to connect your Windows phone to your PC and select Deploy to Device. (Though it might work and you will be able to debug yet still you would face a problem when you try to create a release build package to be uploaded on windows store. Also even though the fixes might work for short period but with Windows 10 about to be released you would be stuck with waiting for a fix to develop apps for that.)
2) You can try installing windows 8.1 inside VMWARE and deploy it.
I have created a windows forms application using C#.net 4.0 on Visual studio 2012.
App works great on windows 8 and windows 7 but when I try to run the same app on Windows XP I get following error message.
Following are the prerequisites for my app:
1. .net Framework 4.0
2. Windows Installer 4.5
3. ReportViewer 2010
4. MYSQL DB 5.6
5. Visual Basic PowerPack 10
I have installed all these pre-requistes on Windows XP. My 1 click setup installs the application correctly but on application Start up I am receiving error.
I also tried upgrading visual studio 2012 and then rebuilding and publishing the app but still the same error persists.
Following is the screen shot from the Application Event logger
Screenshot from Project's configuration manager
Screenshot from Project Properties
Can anyone suggest me what could be the issue.
If your program icon (or possibly any icons used by your program) has any images that are larger than 64x64 pixels, you can get this error on XP (in System.Drawing).
Check all your icon files and ensure that none contain images larger than 64x64
You Need Service pack 3 for XP and check the EXE build whether it might build for X64 and also check your XP machine is having .Netframework 4.0 change that into AnyCpu and once again build
the EXE and check with XP. and change your framework as .NetFramework 4.0
Are you targeting Mixed Platforms/Any CPU/x86? Can you try different build configurations?
Are you referencing any third party DLL's?
Can you catch and log details of the exception, or does the program fail to execute entirely?
I've had strange issues before when compiling for Mixed/Any CPU, and x86 machines throw a wobbler if the program isn't specifically targetted to x86.
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.