Category Archives: Visual Studio

Information related to Visual Studio 2019/2022 and future versions

Limit Test Explorer Runs to Specific Unit Tests

July 22, 2023

I use Unit Test projects in Visual Studio using the NuGet MSTest.TestFramework package. While most of the tests are unit tests, some are integration tests (because it is so handy to run run them in the Test Explorer, too). In the same project, I may have may both types. To separate the tests into “unit tests” versus “other”… Read More »

Remove Misbehaving Visual Studio VSIX Extension by Force

February 27, 2023

I have been working with an extension from a software company that I could not uninstall by going through the usual Visual Studio Extensions ->Manage Extensions -> Installed screen. Ultimately I determined that the extension had a bug in the uninstaller. Face it – how much does an uninstaller get tested anyway? I followed the instructions in many… Read More »

Visual Studio Pre/Post Build Macros

February 28, 2023

Visual Studio allows the user to add pre-build and post-build steps when a project is built. This allows you to add custom steps to prepare the environment, copy files to installer folders, etc. By using previously defined macros, you can get build specific information. Below is an example of some. These are actually MSBuild macros and many more… Read More »