how can i change the version from .net 7 to .net 8
how can i change the version from .net 7 to .net 8?
12 Replies
you edit the number in your .csproj and pray it won't break much
Change
<TargetFramework>net7.0</TargetFramework>
to <FrameworkVersion>net8.0</FrameworkVersion>
And <LangVersion>
from 11 to 12it's
TargetFramework
not FrameworkVersion
@ZZZZZZZZZZZZZZZZZZZZZZZZZ
but yeah just bump that numberWhoops
if you are using Visual Studio you can also just use the project properties page
it doesnt show the dropdown for .net versions
you don't see anything like this?
@shuajb; - if it is not showing then you have to Install the runtime and sdk manually and restart your visual studio.
it also won't show in the GUI if the app is currently targeting Framework iirc
nah im going to the solution then properties
but this doesnt show up
It's in the project properties, not solution
solved
thanks