Visual Studio

Create project from existing code | Cordova, PhoneGap, Ionic, Visual Studio

When I start a new Cordova or Ionic project I normally start from the command line. I initialize the project and add some platforms and packages I need to use in my project. I sometimes start coding from VSCode, but there will be a point where I’d like to switch to Visual Studio, the full version. Until recently I started by creating a new project and move the existing code and config files into that. That was until I came across this awesome feature in Visual Studio: “Create New Project From Existing Code Files”. I don’t know when it was added, but I somehow missed it.

Angular, Cordova, JavaScript, Visual Studio

Debugging AngularJS in Visual Studio 2015

While working on the Cordova Drum Machine I’m currently streaming live at, I ran into a few issues with Visual Studio debugger. Normally I debug my ‘normal’ AngularJS web applications inside Chrome using an extension on the debug tools that shows the context of the selected HTML element. In Visual Studio I do not have these tools available. Here’s how to get information on the Angular context of a selected element. Scope The first thing that’s really useful to gain insight to is the Angular scope. The scope has to be read from a specific DOM element. To select…

Emulator, Uncategorized, Visual Studio

Enable onscreen keyboard in VS Android Emulator

By default, the Visual Studio Android emulator sets its keyboard entry to the hardware keyboard attached to you PC. But it might be very useful when developing apps to work with the software keyboard on Android. In the Windows Phone emulator, you can use a page-up and page-down to enable and disable the keyboard. In the Android emulator you’ll have to change a setting in the OS itself. To change the setting, got to the Android Settings and to Language & Input. Than select “Change Keyboard”. Hit the switch to change the input method. You’re good to go:      

Visual Studio

Hidden command line in Visual Studio

When developing applications in Visual Studio I work with the keyboard most of the time. Throughout the years I learned a lot of short cuts to a lot of features. I’m sure most of you know and use these, too. But there are some features or actions that do not work well with the keyboard. For example closing all open tabs or opening the TFS source control explorer. For actions like this I had to use the mouse, just because it was faster than the keyboard. Until I learned about this feature a while ago. A couple of versions of…

TypeScript, Visual Studio, Windows Store apps

Store app Typescript Project Template

Recently I’ve been writing Windows Store apps using TypeScript. Because TypeScript compiles to JavaScript this can be done without any problems. The hardest part at the moment is getting the project up and running. One of the things is that there’s no official Project Template to start a new project. So I made one myself. Feel free to use it and if you run into any issues please let me know. You can download the template here or get it from GitHub. To use it, first extract the file in the ProjectTemplates folder of Visual Studio 2013. You can find…

Expression Blend, Silverlight, Visual Studio

Customizing Silverlight properties for Visual Designers

When building custom or user controls you probably end up with a large amount of properties on that control. When using the control in a visual designer like Blend or the Visual Studio designer these properties just show up. Adding a bit of structure in this can be done very easily by adding a couple of attributes to the properties. The attributes to let the visual design know what to do can be found in the System.ComponentModel namespace. There’s a WPF version of this namespace also. For the sake of simplicity I’ve created a UserControl and set the background color…

.NET, Silverlight, Visual Studio


If you often use open source libraries you probably have a large library with various tools, like I do. NuGet is an extension for visual studio that enables you to install, uninstall and upgrade open source packages into your application very easily. Say for example you want to use MvvmLight or Ninject in your project, with NuGet it’s nothing more that tell it to add the package to your project. NuGet NuGet (formerly known as NuPack) is a free, open source developer focused package management system for the .NET platform. You can download the .vsix extension at After installing…