question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing the 6.0.2 ref pack MSI removes the 6.0.0 ref pack MSI

See original GitHub issue

Description

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

  1. Install the .NET SDK v6.0.100 through VS (so it won’t be fully uninstalled by the 6.0.102 installer)
  2. Install the .NET SDK v6.0.102 through the exe installer
  3. See that there is no packs/Microsoft.NETCore.App.Ref/6.0.0 folder, but there is a packs/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.

cc: @NikolaMilosavljevic

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jkoritzinskycommented, Feb 16, 2022

@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.

0reactions
AraHaancommented, Apr 29, 2022

One option is to start by building the local ref pack first, then compile the things that depend on it after that.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found