C
C#6mo ago
Mekasu0124

✅ Visual Studio can't access .NET framework higher than 4.8

I broke my current laptop and had to reduce back to another laptop that I used to use before getting my new one. On the current laptop, I install visual studio to start building console apps again, but when I tried to take
namespace Example
{
internal class Example {}
}
namespace Example
{
internal class Example {}
}
and turn it into
namespace Example;

internal class Example {}
namespace Example;

internal class Example {}
it gave me an error that I couldn't do that. Upon further investigation, I found that my .NET framework is currently on 4.8, but I believe that is rather out-dated. How can I update Visual Studio to get to at least .NET framework version 6, 7, or 8 so that I can use C# version 10, 11, or 12? Thanks in advance
1 Reply
Mekasu0124
Mekasu01246mo ago
nvm. I have to download the sdk for version 8. thanks