Skip to content

Commit 8d8690d

Browse files
Update Binary Compatibility page
Update Binary Compatibility between Visual Studio 2015 and Visual Studio 2019, to add a section about upgrading from from older to newer VC++ Redist.
1 parent 0b348ff commit 8d8690d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ 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+
# Upgrading 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, for the Visual C++ Redistributable the same across 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; e.g. if you have Visual C++ Redistributable from Visual Studio 2015 or 2017 and later install 2019, the 2019 one will overwrite an older one. Because we ensure the latest version will have all the newest features and bug fixes, including securityfixes, we always recommend upgrading to the latest version available.
20+
21+
Similarly, we do not allow installing an older version of the Visual C++ Redistributable on a machine where a newer one already exists; e.g. installing 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 somehting similar to this: ```"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." ```. This error is by design. We recommended keeping the newest one installed.
22+
1723
## See also
1824

19-
[Visual C++ change history](../porting/visual-cpp-change-history-2003-2015.md)
25+
* [Visual C++ change history](../porting/visual-cpp-change-history-2003-2015.md)
26+
* [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)