Similar to #82518, but not quite the same. With .NET 6.0.29 the version of vcruntime140_cor3.dll has been raised to 14.38.33135.0. The same DLL in .NET 8.0.4 however is still on version 14.38.33130.0. If upgrading a self-contained app from a MSI to an application that uses .NET 8 I get errors in the Microsoft Installer installation.
Reproduction Steps
Create a new application (e.g. dotnet new console -f net6.0)
Create a global.json (e.g. dotnet new globaljson --sdk-version 6.0.)
Publish the app as self-contained application (e.g. dotnet publish -c Release --self-contained true -r win-x64)
Bundle the application as MSI file (e.g. use WiX toolset or skip this step for now)
Repeat steps 1 to 4 for .NET 8.0 (-f net8.0 and --sdk-version 8.0.)
Expected behavior
The latest DLLs for .NET self contained builds will be deployed when installing using MSI if there is a previous installation using .NET 6.
Actual behavior
A downgrade is detected and the installation fails.
Regression?
See #82518 and #62218.
Known Workarounds
Use companions in Windows Installer / WiX toolset.
Description
Similar to #82518, but not quite the same. With .NET 6.0.29 the version of
vcruntime140_cor3.dll
has been raised to14.38.33135.0
. The same DLL in .NET 8.0.4 however is still on version14.38.33130.0
. If upgrading a self-contained app from a MSI to an application that uses .NET 8 I get errors in the Microsoft Installer installation.Reproduction Steps
Expected behavior
The latest DLLs for .NET self contained builds will be deployed when installing using MSI if there is a previous installation using .NET 6.
Actual behavior
A downgrade is detected and the installation fails.
Regression?
See #82518 and #62218.
Known Workarounds
Use companions in Windows Installer / WiX toolset.
Configuration
No response
Other information
No response