XSD.exe and imports – a solution

If you’re reading this right now, it’s likely because you just discovered that XSD.exe doesn’t honor import declarations within XSD files. It sure caught me and several others by surprise. The fix, it turns out, is to manually specify each XSD that the primary XSD requires. Something like xsd.exe primary.xsd imported.xsd another.xsd In my case, my […]

Fun code

(If you are a developer for a health insurance company looking for details on this project, you’ll find that towards the bottom) Let’s face it, some code is more fun than others. Especially when you get to create a brand new project from scratch. For me, it’s even more fun when there’s no UI to make […]

Chocolatey Hotkey – using and creating plugins, hosts, and libraries

I’ve made a lot of changes to CHK since my first post a couple of weeks ago. CHK now works much better and is much more powerful. Let’s just say this thing turned out to be a much bigger project than I originally anticipated, and I learned a lot in the process. This time, I’ve […]

Entity Framework Power Tools for Visual Studio 2015

2017: Why is this post so popular? It’s always one of the highest viewed posts on my site and I’ve never understood why. When you’re done reading, please leave a comment letting me know. — I have patched the Visual Studio 2013 version of Entity Framework Power Tools (beta 4) to work with Visual Studio […]

A day of dumb…

I spent all day trying to figure something out in Entity Framework that shouldn’t have taken an entire day to figure out. It was so dumb, I feel obligated to post it here. The code below illustrates the problem. The Test method is simply trying to add a new Child record to the database. Notice that the Child class contains […]

Taking Visual Studio build and publish events to the next level

2017: Why is this post so popular? It’s always one of the highest viewed posts on my site and I’ve never understood why. When you’re done reading, please leave a comment letting me know. — I just integrated Visual Studio’s web project publish command with Zapier  so I can send build events to Slack. That’s […]

Automatically Generating a Chocolatey Install Script

Have you ever dreaded formatting your computer because of all the software you know you’re going to have to re-install? Do you wish there was an easier way? I’m looking at having to format one of the computers in our office and I want it have the same software that I have installed on my primary […]

Scroll Up