Questions tagged [windows-10-universal]

The Universal Windows Platform is a common platform for all devices running Windows 10. The UWP is separated into device families like PC, Mobile, IoT and many more. The UWP allows you to use common code for all device families.

Universal Windows Platform

Windows 10 introduces the Universal Windows Platform (), which further evolves the Windows Runtime model and brings it into the Windows 10 unified core.
As part of the core, the UWP now provides a common app platform available on every device that runs Windows 10 (). With this evolution, apps that target the UWP can call not only the WinRT APIs that are common to all devices, but also APIs (including Win32 and .NET APIs) that are specific to the device family the app is running on.

The UWP provides a guaranteed core API layer across devices. This means you can create a single app package that can be installed onto a wide range of devices. And, with that single app package, the Windows Store provides a unified distribution channel to reach all the device types your app can run on.

Resources

2393 questions
60
votes
24 answers

Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies

I have a WinJS project that is previously built on Windows 8.1 using VS 2013. Recently I upgraded this project to Universal Windows 10 by creating a blank Javascript Universal windows 10 project and then added all my files from old project. I have…
59
votes
4 answers

XAML gradient issue in UWP for some devices

I'm using Page as landing screen in my app. XAML looks like this:
khamitimur
  • 1,078
  • 13
  • 22
52
votes
8 answers

Remove ios, windows8, and wp8 from Xamarin Forms PCL - nuget 3.0 opt-into error?

I'm working on a Xamarin Forms project. I want to target Android and Windows 10 UWP. When I try to clean up the PCL by removing "Windows 8", "Windows Phone Silverlight 8", "Windows Phone 8.1", "Xamarin.ios", and "Xamarin.ios (classic)" from the…
Joe Healy
  • 5,769
  • 3
  • 38
  • 56
42
votes
1 answer

Adding settings class to a UWP app

I'm developing a Universal Windows Platform app but there is no Settings template in Visual Studio. How can I implement an easy, strongly typed and observable class that stores my settings in LocalSettings or RoamingSettings?
41
votes
3 answers

await Task.CompletedTask for what?

I created UWP app with Windows Template Studio that introduced at Build2017. Below class is a part of generated code from it. public class SampleModelService { public async Task> GetDataAsync() { await…
Youngjae
  • 24,352
  • 18
  • 113
  • 198
39
votes
2 answers

are multiple version of the Windows SDK necessary?

I was just looking through my installed programs to free up some space, and I noticed that there are two versions of the Windows SDK, and the ASP.NET SDK. Are these 32-bit and 64-bit? The package name does not indicate that is the case, so I am…
dub stylee
  • 3,252
  • 5
  • 38
  • 59
33
votes
1 answer

UnhandledErrorDetected: Unspecified error COMException

Struggling with an error that freezes the app and only occurs on the tablet (never on my laptop). Seems to be related to quickly switching the hamburger menu. I got one stack trace that incriminated a 3rd party control, but 9 of 10 times all I get…
DeannaD
  • 1,469
  • 2
  • 16
  • 27
31
votes
3 answers

How to check internet connectivity type in Universal Windows Platform

I would like to check internet connectivity type in Windows Universal Application. Not Connected Connected via WLAN(WiFi) Connected via WWAN(Cellular Data) Connected to a metered network in order to provide an option for downloading large size…
Vineet Choudhary
  • 7,433
  • 4
  • 45
  • 72
26
votes
13 answers

UWP Check If File Exists

I am currently working on a Windows 10 UWP App. The App needs to Check if a certain PDF File exists called "01-introduction", and if so open it. I already have the code for if the file does not exist. The Code Below is what i currently have: …
21
votes
4 answers

Windows UWP connect to BLE device after discovery

I'm using BluetoothLEAdvertisementWatcher to find nearby BLE devices and it's working well. After finding them I want to connect and read/write data via GATT. But I can't figure out how to use the API after getting the BluetoothLEAdvertisement…
18
votes
4 answers

Changing Theme in Windows 10 UWP App Programmatically

I was able to change theme using this.RequestedTheme = ElementTheme.Dark; But what I need is the whole application level, since this one only change the theme of the current page to dark. Whenever I try this App.Current.RequestedTheme =…
AlMusal
  • 226
  • 1
  • 2
  • 7
17
votes
2 answers

'App installer failed to install package dependencies. Ask the developer for Microsoft.VCLibs.140.00

screenshot of the error I am getting this error:"App installer failed to install package dependencies.Ask the developer for Microsoft.VCLibs.140.00.Debug package" while side loading .appxbundle file via App installer in windows10 client machine,…
Ronit Roy
  • 890
  • 1
  • 8
  • 10
17
votes
5 answers

Error while creating app package with "fullTrustProcess" pointing to a executable

I am trying to deploy the sample application for bridging AppServices with a UWP application. The sample runs and builds just fine but when I try to follow the guide to package the whole thing it gives me an error. Link to the packaging…
Mattias
  • 261
  • 2
  • 7
17
votes
1 answer

UWP authenticode signed appxbundle shows unknown publisher with smartscreen

I have a signed appxbundle generated by Visual Studio and signed with a Comodo authenticode sha256 certificate. The bundle shows a digital signature tab when opening the properties. Now when I download the file on another PC, the smartscreen filter…
WJM
  • 1,137
  • 1
  • 15
  • 30
16
votes
4 answers

Do all UWP apps leak memory when navigating pages?

So I've been getting my teeth into UWP and developing a simple app in C# using VS2017 v15.6.4, on the latest release of Windows 10. When running the app I notice its memory usage continues to increase over time. After a lot of pairing back of the…
NigelP
  • 219
  • 2
  • 6
1
2 3
99 100