My Experiment – PowerShell Pro Tools for Visual Studio 2017

TLDR: Check out the very early beta of my new PowerShell Pro Tools for VS 2017 that contains a PowerShell form designer. Available on the Marketplace. I have been working on PowerShell Tools for Visual Studio, formerly PowerGUI VSX, for almost 7 years. My first checkin to CodePlex (RIP), was on June 12, 2010. A lot [...]

By | April 6th, 2017|Programmer|0 Comments

WiX Toolset – Supporting major upgrades with installation directory changes while using Burn

Here is the scaffolding to create a WiX installer that uses a Burn bootstrapper that can support upgrading while allowing the user to change to a new installation directory. Burn Create an InstallFolder variable and populate it with what you want to be your default installation directory. [crayon-58feb8312bc8b532119429/] Pass your InstallFolder variable to your MSI package. [...]

By | March 30th, 2017|Programmer|0 Comments

Converting PowerShell to C# through intent instead of an abstract syntax tree alone

I recently added support to the CodeConverter.net SDK to convert PowerShell to C#. This was a very similar process to converting C# to PowerShell. The implementation walks the PowerShell AST, produces a common AST and then is fed into the C# code writer to output C# code. The limitation of straight AST translation AST translation [...]

By | March 21st, 2017|Programmer|0 Comments

Data Driven Testing using XUnit in Visual Studio 2017

XUnit, like a lot of other testing frameworks, allows for creating test cases, or theories in XUnit terms, based on test data rather than static tests alone. With the CodeConverter.NET tests, I decided to generate the test cases based on input files and output files. The input files contain C# code and the output files [...]

By | March 12th, 2017|Programmer|0 Comments

CodeConverter.NET: Simplified Site, NuGet Package and More

The last couple of days I’ve been busy working on CodeConverter.NET. Here are some updates. Simplified Site When I first conceived of CodeConverter.NET, I thought of making it a community curated site where not only automated conversions would happen but also users could add conversions or improve automated ones. I realized that this was a [...]

By | March 6th, 2017|Programmer|0 Comments

Generating GitHub Pages from Test Output

Getting Started with GitHub Pages GitHub Pages allow you to generate a website for yourself, an organization or a project based on markdown files stored in a repository. Pages is based on Jekyll and comes with a couple standard themes. Jekyll creates static pages so there is no need to update a database or anything. [...]

By | March 4th, 2017|Programmer|0 Comments

Elephant Nature Park in Chiang Mai, Thailand

Nestled between a lush mountain range about an hour and a half north of Chiang Mai resides a 250-acre sanctuary for elephants and many of their smaller friends at the Elephant Nature Park. Several weeks before heading to Thailand we reserved a spot on a tour to the park. We were surprised to find the [...]

By | March 3rd, 2017|Programmer, Travel|0 Comments

CodeConverter.NET SDK: Now open-source!

I spent a lot of time on planes and in airports the last few weeks so I put together a present. After posting about CodeConverter.NET and the View as PowerShell Chrome Extension, I had some feedback that it would be great if the code for this was open-source. After some clean up, I’ve published the [...]

By | March 2nd, 2017|Programmer|0 Comments

Visual Studio 2015 – No executable found matching command dotnet-projectmodel-server

Recently, I installed Visual Studio 2017 RC. This also installed the latest version of .NET Core. This also meant I started to run into the error "No executable found matching command dotnet-projectmodel-server" when opening .NET Core projects in Visual Studio 2015. To work around this, you need to specify a SDK version in your global.json file [...]

By | February 25th, 2017|Programmer|0 Comments