.NET SDK 8.0 and 7.0 cannot coexist. Bug or intended?

I was using .NET SDK 7.0, and today I upgraded the system which upgraded .NET SDK to 8.0. But I need to compile for .NET 7.0. So, I tried to install .NET 7.0 SDK/targetting pack in AUR, however, if I tried to install them, it tried to remove .NET 8.0, because .NET 8.0 is providing .NET 7.0. Is this a bug?

Extra 8.0

image

AUR 7.0

image

Intended

Then, how can I have both 8.0 and 7.0?

you can’t. It’s either the one or the other.

Well, technically it’s possible…not fun though :clown_face:
https://wiki.archlinux.org/title/.NET


Although, maybe AUR would help.

Install multiple versions via AUR

Some of the AUR dotnet packages are made to be installed alongside each other.


Bonus tip…

https://wiki.archlinux.org/title/.NET#Telemetry

Although it’s M$, so… :postal_horn: :clown_face:

Looks like it was a bug. I just refreshed the repository and

image

image

Now it’s the provides/conflicts longer “7.0”.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.