Why can’t I deploy my UWP app with .Net Standard 2.0 to a Mobile device or emulator?

Several developers have been confused recently because they created new UWP apps using .Net Standard 2.0 and then weren’t able to deploy the app to their Windows 10 Mobile devices.  Additionally, when trying to use the emulator, no debug targets show up in Visual Studio 2017. UWP apps do not support .Net Standard 2.0 on…


ComboBox on a Flyout attached to an AppBarButton loses mouse input on 1607

Several developers have asked why a ComboBox on a Flyout attached to an AppBarButton ignores mouse clicks after upgrading their UWP apps to target build 14393 (Windows 10, version 1607 – also known as the Windows 10 Anniversary Update). The same Xaml worked fine unchanged when the app targeted build 10586 (Windows 10, version 1511). <tl;dr> Apps can…


Windows Store app projects stopped generating the .appxupload file after installing VS 2015 Update 1

Problem A few people have noticed that their Windows Store app projects stopped generating the .appxupload file after upgrading to VisualStudio 2015 Update 1.   CauseThe project is not associated with the Store app.The StoreAssociation file path is missing from the respective project .csproj file. Either one of these causes listed above can stop the…


I want the sound to go *here* – Audio routing in Windows Phone 8.1

Windows Phone 8.1 devices have a number of different audio output options. Most of the time the audio is routed to the default or “active” endpoint. The default endpoint is determined by a number of factors. If your phone is connected to a Bluetooth device that supports audio then it will be routed there by…


Windows Phone 8.1 Battery Saver, Background Agents, and Background Tasks

I worked a support case recently where the customer had a Windows Phone Silverlight 8.0 background agent running on Windows Phone 8.1.  My customer noticed that the background agents would not run when battery saver was enabled. In order to explain why this was happening, I first need to tell you some of the history…

0

How to use a Shared User Certificate for HTTPS authentication in an Enterprise application.

In Update 1 for Windows Phone 8.1, the ability to use the sharedUserCertificates capability was granted to Enterprise signed applications. The ‘sharedUserCertificates’ capability grants an application permission to access the certificates that the user has installed manually or that have been installed by an Enterprise MDM server, using SCEP protocol. Developers who try to use…

0

Porting tips: bridging differences in the .Net Framework for Windows Runtime apps

One of the challenges of writing Windows Runtime apps with .NET is that they use a simplified version of the .NET Framework (see .NET for Windows Store apps overview ). For normal coding many of these differences aren’t a major issue: the subset still has all of the functionality needed for Windows Runtime apps, although…


Using a DataTriggerBehavior to change an ItemTemplate in a Windows Store App

Visual Studio 2013 comes with the Behaviors SDK that can be used when developing Windows 8.1 Store Applications.  One of the components of the SDK is a DataTriggerBehavior which allows you to specify a specific action when the data, a DataTriggerBehavior is bound to, changes.  For this blog I will illustrate how to use the…

0

Capturing raw PCM audio on Windows Phone 8 and 8.1

There are a number of different audio capture and playback APIs on Windows Phone 8.x. Unfortunately If you want to get at the raw PCM data and process it in near real time your options are limited. While it is possible to capture raw PCM audio from managed code it is not recommended and likely…


Strategies for sharing code in XAML-based Universal apps

Universal apps are a great way to share code between your Windows and Windows Phone versions of your app. Most devs have figured out how to share modules which are exactly the same, but sharing modules which are only almost the same is a bit less obvious. The Shared project isn’t a normal, stand-alone project:…