Skip to content
Pure C# alternative to the _MSC_VER macro in C++which checks if the Microsoft Visual C++ runtime is locally installed.
C#
Branch: master
Clone or download
marcbarry
Latest commit ed37eed Oct 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MscVersion Update MscVersion.nuspec Oct 16, 2019
.gitattributes version 1.0.0.0 Jan 21, 2019
.gitignore version 1.0.0.0 Jan 21, 2019
LICENSE Create LICENSE Jan 21, 2019
MscVersion.sln version 1.0.0.0 Jan 21, 2019
README.md add link to NuGet package May 13, 2019

README.md

MscVersion

Helps you check if the Microsoft Visual C++ Runtime is installed. A C# alternative to the _MSC_VER macro in C++

NuGet Package

Detected Versions

The MscVersion library detects the following versions of the Microsoft Visual C++ Runtime.

  • Visual Studio 2005
  • Visual Studio 2008
  • Visual Studio 2010
  • Visual Studio 2012
  • Visual Studio 2013
  • Visual Studio 2015
  • Visual Studio 2017
  • Visual Studio 2019

Direct Links to VC++ Runtime Installers

Visual Studio 2015

Installer Behaviour

  • When trying to install an earlier version of VC++ than is alreday installed, the installer will fail with the error: (0x80070666) Another version of this product is already installed.
  • When trying to install a version of VC++ newer than is already installed, the installer will upgrade the current version (matching the installers processor architecture, replacing the older version).
  • When trying to install a version of VC++ which matches an already present version, the installer will offer the user a repair option.
You can’t perform that action at this time.