Skip to content

Commit cfa397b

Browse files
authored
Merge pull request MicrosoftDocs#1635 from msalehmsft/patch-1
Update Binary Compatibility page
2 parents 0b348ff + 54458f7 commit cfa397b

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

docs/porting/binary-compat-2015-2017.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "C++ Binary Compatibility between Visual Studio 2015 and Visual Studio 2019"
3-
ms.date: "05/03/2019"
3+
ms.date: "10/17/2019"
44
helpviewer_keywords: ["binary compatibility, Visual C++"]
55
ms.assetid: 591580f6-3181-4bbe-8ac3-f4fbaca949e6
66
---
@@ -14,6 +14,19 @@ The only exception to this rule is that static libraries or object files that ar
1414

1515
When you mix binaries built with different supported versions of the MSVC toolset, the Visual C++ redistributable that your application runs on cannot be older than any of the toolset versions used to build your app or any libraries it consumes.
1616

17+
## Upgrade Microsoft Visual C++ Redistributable from Visual Studio 2015 or 2017 to Visual Studio 2019
18+
19+
Because we have preserved binary compatability and kept the major version (14) the same for the Visual C++ Redistributable for Visual Studio 2015, 2017, and 2019, only one version of the Visual C++ Redistributable can be installed from those at any time. A newer version will overwrite an older one installed. If you have the Visual C++ Redistributable from Visual Studio 2015 or 2017 and then later install 2019, the 2019 version will overwrite an older version. Because we ensure the latest version will have all the newest features and bug fixes, including security fixes, we always recommend upgrading to the latest available version.
20+
21+
Similarly, we don't allow installing an older version of the Visual C++ Redistributable on a machine where a newer one already exists. Installing the Visual C++ Redistributable from Visual Studio 2015 or 2017 on a machine that already has 2019, will result in an installation failure. The error will look something similar to this:
22+
23+
```
24+
*0x80070666 - Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.*.
25+
```
26+
27+
This error is by design. We recommend keeping the newest one installed.
28+
1729
## See also
1830

19-
[Visual C++ change history](../porting/visual-cpp-change-history-2003-2015.md)
31+
* [Visual C++ change history](../porting/visual-cpp-change-history-2003-2015.md)
32+
* [The latest supported Visual C++ Redistributable downloads](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads)

0 commit comments

Comments
 (0)