C
C#2y ago
Rhaenyra

❔ How to uninstall. NET Core SDK 7.0.100?

Hello everyone, I used the dotnet-core-uninstall on command prompt but I get the message "cannot uninstall version 7.0.0 or above" I use a Windows 10 pc I need to have .NET core SDK 6 as the latest version installed on my pc I'm following through a tutorial that works up to. Net 6 How to do it?
17 Replies
ero
ero2y ago
whatever tutorial you found "that works up to net6", will also work on net7
Rhaenyra
Rhaenyra2y ago
@Ero no it doesn't and I need the new project in. Net 6, do you know how to remove . Net 7? I found only how to remove it on mac from a post on stack overflow
ero
ero2y ago
none of what you're saying makes sense net6 code is upwards compatible with net7 you can change the target framework by... just doing that
Rhaenyra
Rhaenyra2y ago
@Ero in the command prompt the project is by default created in. Net 7 but I want it in. Net 6
ero
ero2y ago
here's a .net 7 project:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
</Project>
and here's a .net 6 project:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>
notice something and just use .net 7 like geez
Rhaenyra
Rhaenyra2y ago
@Ero i need. Net 6 for multiple reasons
ero
ero2y ago
there is not a singular good reason you can name
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Shirasho
Shirasho2y ago
Company demanding LTS support is a VERY good reason.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Shirasho
Shirasho2y ago
So is your argument that the concept of LTS in modern .NET is totally obsolete?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Rhaenyra
Rhaenyra2y ago
@tebeco first of all your horse costume is amazing plus1 lol I always wanted to get one catpls Can I safely uninstall. NET 5 for example that just occupies space in my laptop without breaking my laptop from "uninstall program"?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Shirasho
Shirasho2y ago
@tebeco I acknowledge your argument. LTS vs non LTS lift nowadays is minimal at best if your project is internal and you have a competent deploy pipeline. You did make an argument for external/third party consumers, but unfortunately that's not how it works in the real world. There are a lot of companies that do not take software seriously, only upgrading when they absolutely have to. They do not want to spend the money on IT and they do not have people that understand there are few compatibility differences between releases. In other cases they have systems that they simply can't take offline unless there are security patches that are needed for compliance. In other cases they need all software to be certified to be in compliance, and doing constant updates can be expensive and time consuming. I apologize for derailing this help thread.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts