windows 10 universal - App Certification fails because of PreLaunch Test

When I run the App Certification on my Template 10 based app, I get the following error:Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm.•Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled. •How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware.Obviously I can't override the OnLaun...Read more

windows 10 universal - Access UI Element programmatically UWP

I have some controls in my xaml file of my c++ universal application. I want to access the elements and set some property values.<PivotItem Header="Home"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="4*"></ColumnDefinition> <ColumnDefinition Width="3*"></ColumnDefinition> </Grid.ColumnDefinitions> <StackPanel Padding="8,8,8,8"> <TextBlock Margin="8" Text="A"/> <Border Margin="8,0,0,0" HorizontalAlignment="Left" BorderBrush="Gray" BorderThickness="2" Grid...Read more

visual studio cordova - Distribute apcahe corvoa windows 10 cause error Either you need a new certificate installed for this app package, or you need a new app

i have build ionic apache cordova app using visual studio 2015 , below is my ionic app infoCordova CLI: 6.4.0Ionic CLI Version: 2.1.12Ionic App Lib Version: 2.1.7ios-deploy version: Not installedios-sim version: Not installedOS: Windows 10Node Version: v6.9.1Xcode version: Not installedaccording to cordova documentation Signing is required for distributing and installing Windows Store apps. This process is normally handled by Visual Studio when you deploy a package for releasehere is content of my build.json { "windows": { "release": { ...Read more

windows 10 universal - AppX Installation Failed with errror message "The system cannot find the file specified"

I have created appx using MakeAppx tool. During sideloading, i am getting below error.I knew Windows Apps are gets installed at location "C:\Program Files\WindowsApps"and normal user won't have ownership for this folder.Does I need to change the ownership for "WindowsApps" folder?Looking for the solution to this problem as we can't expect from user to change the ownership to install appx....Read more

windows 10 universal - Cannot install appx through graphic installer

I'm facing a problem right now and I don't really know how to get more informations about it.I've converted a desktop application through Microsoft's Desktop App Converter, made some manual modifications about the visual assets, and rebundled it through "makeappx.exe". Then I signed it.Everything went fine. Except that when I double click the appx to check it, I have the following window:Appx ErrorWhich roughly translates as "Couldn't open the appx or appxbundle file" and "Reason: Failure caused by an unknown reason".This does not helps me a lo...Read more

windows 10 universal - Problems deploying SecureInput MS Edge Extension native messaging sample

I am trying out SecureInput extension sample that demonstrates NativeMessaging capabilities in MS Edge browser extensions and I running into problems deploying the extension after building using VS community edition 2017. I don’t have Universal Windows Platform Apps development experience, so I apologize if there is a pretty obvious answer I am not aware of. But following readme.md in the sample doesn’t work, so posting this question here...https://github.com/MicrosoftEdge/MicrosoftEdge-Extensions-Demos/tree/master/SecureInputSteps followed… Tu...Read more

windows 10 universal - FormatMessage is not supported for this application type

When running app certification on my app, I'm getting this error from supported apis.API FormatMessage in api-ms-win-core-localization-l1-2-0.dll is not supported for this application type. System.Diagnostics.Tracing.dll calls this API.Is there something obvious that I'm missing? I'm not using anything from that namespace directly. If this is a 3rd party library calling something in System.Diagnostics.Tracing, is there a way to track down which one? I'm not referencing System.Diagnostics.Tracing directly in my app....Read more

windows 10 universal - Visual Studio 2017 UWP Apps crash

I have just installed Visual Studio 2017 Ent on Windows 10 (Creators update patch level)After the installation UWP apps that I have developped no longer start. They crash with this error:"Unable to activate Windows Store app. The xzy.exe process started, but the activation request failed with error 'The app didn't start'"Event creating a new project with a blank UWP application produces the same error.The failure happens before the App.xaml.cs init is called.Has anyone else ancountered this issue, and if so - how was ti resolved?Edit: after fur...Read more

windows 10 app development - Mediaplayer

I am using below code to play mp3 file from some url (https://domailname/a.mp3), this server required jwt token for authenticating the request.how can i play the audio from any url which requires authentication System.Uri manifestUri = new Uri("https://domailname/a.mp3"); mediaPlayerElement.Source = MediaSource.CreateFromUri(manifestUri); mediaPlayerElement.MediaPlayer.Play();...Read more

windows 10 universal - How to merge dependency into .Appx to avoid -DependencyPath argument

I have a large win32 program consisting of a mixture of native and managed code. I would like to put it into a single .Appx file for simple installation on Windows 10. I don't want to put it in the Windows Store - I simply want to replace the old installer with an .Appx file.Using the DesktopAppConverter I have converted the program to an .Appx.My problem is that the DesktopAppConverter adds a dependency on 'Microsoft.VCLibs.140.00.UWPDesktop' which means that I have to distribute both my .appx and Microsoft.VCLibs.x64.14.00.Desktop.appx. So th...Read more