Visual Studio Text Adornment VSIX using Roslyn
A VSIX is a way to install plugins into Visual Studio. The kind of plugin I’m interested in right now is a text adornment. This lets you superimpose things (text, pictures, interactive controls) right...
View ArticleManifesto: a new fluid UI for desktop/LOB data-entry
I’m fed up with clunky dialog-based UIs. Here are two apps, the Windows 7 Calculator and Windows 10 People App. How many of you use Calculator by clicking on buttons with the mouse? And how many do...
View ArticleAsync workflow [how to hibernate async methods, part 2]
Four years ago I’d written a post “How to hibernate async methods (how to serialize a task)“. I decided to dig it up and improve it. Here’s what I can now write with it: await...
View ArticleOpenCV: first version up on NuGet
I got OpenCV to work via NuGet! Here are the steps to consume it: 1. File > New > C++ > UWP 2. References > Manage NuGet References > Add OpenCV.UWP.native.imgcodecs This package is...
View ArticlePlatformSpecific.Analayzer – to spot when you’re using platform-specific UWP...
With the release of 10586, I’ve wanted to know whether an API I just used was newly introduced in 10586 or was already present back in 10240. So what I did is write a “Roslyn Analyzer” for VB/C# and...
View ArticleOpenCV: how to split it up into components
[This article documents my ongoing attempts to get OpenCV working in UWP apps] My goal is to figure out how to package OpenCV up into several individual NuGet packages. For instance, I expect that...
View ArticleOpenCV: building UWP binaries
[This blog article documents my continuing mission to figure out how to use OpenCV in UWP apps…] How to build OpenCV native dlls for UWP OpenCV is on GitHub. There are three relevant forks/branches,...
View ArticleOpenCV: unsure how to proceed
OpenCV http://opencv.org/ is the standard open-source library that everyone uses for image detection. It’s written in C++. I want to use it from my .NET UWP apps, but I’m struggling to figure out how....
View ArticleHow to call UWP APIs from a desktop VB/C# app
Latest update: I’ve put this functionality into a NuGet package. To use UWP APIs from your >=.NET45 desktop app, simply add a NuGet reference: UWP for Desktop NuGet package I’ve also moved the...
View ArticleWriting a NuGet package for VS2015 RTM [repost]
There are some exciting changes coming to NuGet in VS2015 RTM, under the name NuGet 3.1, also known as “project.json“. You should read about them on the NuGet team blog [link]. How should you prepare...
View ArticleUsing project.json for other project types
If you use VS2015 to create a new UWP project, there are three interesting things in the References node: Analyzers – this node lets you use so-called “Roslyn analyzers”, which allows anyone to add...
View ArticleWriting a NuGet package for VS2015 RTM and UWP
[I’ve removed this old article, and posted a revised+edited version here]
View ArticleWin10 apps in .NET – getting started with win2d accelerated graphics
This is Part 8 of my “VB Win10 Apps” series. (Everything applies to C# as well, of course). Part 1: getting started Part 2: issues with common libraries – JSON.Net, SignalR, SharpDX, SQLite, LiveSDK...
View ArticleOpenCV: first version up on NuGet
I got OpenCV to work via NuGet! Here are the steps to consume it: 1. File > New > C++ > UWP 2. References > Manage NuGet References > Add OpenCV.UWP.native.imgcodecsThis package is...
View ArticlePlatformSpecific.Analayzer - to spot when you're using platform-specific UWP...
With the release of 10586, I’ve wanted to know whether an API I just used was newly introduced in 10586 or was already present back in 10240.So what I did is write a “Roslyn Analyzer” for VB/C# and put...
View ArticleOpenCV: how to split it up into components
[This article documents my ongoing attempts to get OpenCV working in UWP apps] My goal is to figure out how to package OpenCV up into several individual NuGet packages. For instance, I expect that...
View ArticleOpenCV: building UWP binaries
[This blog article documents my continuing mission to figure out how to use OpenCV in UWP apps...] How to build OpenCV native dlls for UWP OpenCV is on GitHub. There are three relevant forks/branches,...
View ArticleOpenCV: unsure how to proceed
OpenCV http://opencv.org/ is the standard open-source library that everyone uses for image detection. It's written in C++.I want to use it from my .NET UWP apps, but I'm struggling to figure out how....
View ArticleHow to call UWP APIs from a desktop VB/C# app
Latest update:I've put this functionality into a NuGet package. To use UWP APIs from your >=.NET45 desktop app, simply add a NuGet reference:UWP for Desktop NuGet package I've also moved the...
View ArticleWriting a NuGet package for VS2015 RTM [repost]
There are some exciting changes coming to NuGet in VS2015 RTM, under the name NuGet 3.1, also known as "project.json". You should read about them on the NuGet team blog [link].How should you prepare...
View Article