See this post from the Visual C++ Team Blog on Visual C++ Compiler Version and the MSDN page on Predefined Macros. In C++ if we want to check if a particular version of the runtime is installed we can write conditionals to test the value of the built-in preprocessor macro _MSC_VER against known values indicating major releases of the Visual C++ compiler. MscVersion is a pure C# library alternative to the _MSC_VER macro in C++ which lets you check what version of the VcRuntime is installed. If you’re just looking for a quick way to do this, you may want to consider using the library MscVersion source code on GitHub and a package on NuGet. This post discusses how to check if the Microsoft Visual C++ Runtime is installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |