Enable Developer Mode for Windows 10 Technical Preview

The new Windows 10 Technical Preview released last week (Build 10074) along with the Release Candidate of Visual Studio 2015 should finally allow a larger set of developers to start writing Universal Apps for Windows 10. One of the first things developers are likely to run into when they try to test a Universal App is an error message instructing them to “Enable Developer Mode” through the Windows Settings application. Unfortunately this part of Settings isn’t included in Build 10074.

To allow deployment of apps from Visual Studio you need to use an alternative procedure to change some Group Policy options. Start by running Gpedit.msc (as administrator). Locate “App Package Deployment” under Local Computer Policy-Computer Configuration-Administrative Templates-Windows Components:

Group Policies for Windows 10 Developer Mode

(more…)

Read More

Getting started with Universal Apps

*Written for Visual Studio 2013 Update 2 RC release

The recently introduced Universal apps for Windows are a significant improvement on the previous level of code sharing available across XAML platforms. For the first time you can share not only PCL compliant .NET code but also a significant amount of XAML, and additional UI related assets like language resources. For MVVM apps this now can mean adding sharing of Views on top of shared Models and ViewModels that can be created with today’s PCLs.

Creating a Universal app starts with creating the new project type, in this case I’ll pick the Blank template.

image

From this template, you will get not one, but three project nodes created for you: the Windows 8.1 Modern app, the Windows Phone 8.1 app, and a completely new type – the Shared project. They’re all placed in a Solution (and also physical) folder to keep them together.

(more…)

Read More