0

How can I install MSVC 2012 compiler having only Visual Studio 2017?

I tried installing from this link, but it is issuing an error:

0x81f40001 - A valid Visual Studio installation was not found.

I need MSVC 2012 due to compatibility with a lib we are using.

mathiasfk
  • 1,278
  • 1
  • 19
  • 38
  • You're much better off using the compiler version from a shipping Platform SDK than a preview (beta quality) version. – Ben Voigt Jul 10 '17 at 18:50
  • I don't think it's a preview anymore. Our company bought the professional version: VS 15.2 (26430.6) Release. – mathiasfk Jul 10 '17 at 18:58
  • 1
    The 2012 compiler download you linked to is a preview. – Ben Voigt Jul 10 '17 at 19:32
  • 1
    I believe your question is a duplicate of https://stackoverflow.com/q/15333340/103167 – Ben Voigt Jul 10 '17 at 19:36
  • @BenVoigt oh ok, I thought you were refering to Visual Studio. I didn't really find any other compiler other that one. For now I think I'll have to install VS 2015 Community (which I know works with MSVC2012). – mathiasfk Jul 10 '17 at 21:28
  • So it seems that the answer is that there is no way to use MSVC 2012 without VS 2012. No definitive source for that info, though. – mathiasfk Jul 11 '17 at 16:08

1 Answers1

0

As of July 10th 2017, Visual Studio 2012 is no longer available for download without an MSDN subscription. If you install VS2012, you can choose the "Visual Studio 2012 (v110)" on Visual Studio 2012/2017 from [Project] - [Properties] - [General] - [Platform Toolset]. Make sure you select your C++ project first.

JazzSoft
  • 392
  • 2
  • 11