Installing the 6.0.2 ref pack MSI removes the 6.0.0 ref pack MSI
See original GitHub issueDescription
The 6.0.2 ref pack installer uninstalls the 6.0.0 ref pack, even when the 6.0.100 SDK is still installed.
Reproduction Steps
- Install the .NET SDK v6.0.100 through VS (so it won’t be fully uninstalled by the 6.0.102 installer)
- Install the .NET SDK v6.0.102 through the exe installer
- See that there is no
packs/Microsoft.NETCore.App.Ref/6.0.0
folder, but there is apacks/Microsoft.NETCore.App.Ref/6.0.2
folder.
Expected behavior
The 6.0.0 ref pack should be available on disk whenever the 6.0.100 SDK is installed.
Actual behavior
The 6.0.102 installer removes the 6.0.0 ref pack and replaces it with the 6.0.2 ref pack even though the 6.0.100 SDK is still installed.
Regression?
Shipping new versioned ref packs with the SDK is a new experience in 6.x, so this is probably not a regression.
Known Workarounds
Install the 6.0.100 sdk through the exe installer after 6.0.102 is installed
Configuration
Windows x64
Other information
cc: @AndyAyersMS, who initially discovered this issue.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Started to get "This project is targeting a version of .NET ...
This project is targeting a version of .NET which is not installed. Then there's an Install link to the right of the warning...
Read more >NET Core 6.0.12
NET Core packages is not needed when installing the SDK. You can check your .NET SDK version by running the following command.
Read more >mongo.exe not installed in Version 6.0.0
After version 6.0.0 mongo.exe does not get installed to your bin folder ... To run the Mongo Shell , Download msi package from...
Read more >"You must install .NET Desktop Runtime 6.0.4 (x64)" error
It installed without any issues. This happens on multiple machines I have tested with, including: Windows 10 "MSIX Packaging Tool ...
Read more >Release Notes for MongoDB 6.0 (Stable Release)
This page describes changes and new features introduced in MongoDB 6.0. MongoDB 6.0 is a Major Release, which means that it is supported...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@AndyAyersMS was the person who had the repro. I just had more context about the likely underlying bug, so he had me make the issue.
One option is to start by building the local ref pack first, then compile the things that depend on it after that.