.NET

Microsoft .NET Development

Creating a Yes/No MessageBox in a NuGet install/uninstall script

Sometimes getting a little feedback during the install/uninstall process of a NuGet package could be really useful. Instead of accounting for all possible ways to install your NuGet package for every user, you can simplify the installation by clarifying with the user what they want. This example shows how to generate a windows yes/no message box to get input from the user in the PowerShell install or uninstall script. We’ll use the prompt on the uninstall to confirm if the user wants to delete a ......

Determining if you’re running on the build server with MSBuild – Easy way

When you're customizing MSBuild in building a visual studio project, it often becomes important to determine if the build is running on the build server or your development environment. This information can change the way you set up path variables and other Conditional tasks.I've found many different answers online. It seems like they all only worked under certain conditions, so none of them were guaranteed to be consistent.So here's the simplest way I've found that has not failed me yet. <PropertyGroup> ......

Confirming communication with an XBee radio and FEZ Cerbuino Bee

So I’ve decided to expand my horizons further into the world of Microcontrollers. As a .NET engineer with little hardware experience I found that the learning curve to enter the hardware world has drastically decreased. For my first attempt at deploying .NET code to a .NET Micro Framework compatible device I am simply trying to send anything from 1 XBee radio to a 2nd XBee radio that is connected to a FEZ Cerbuino Bee micro controller board. The radios are not using WiFi, they are using the 802.15.4 ......