Those methods are obsolete and cumbersome! The way you do it is make sure .net 9.0 SDK is installed AND in Visual Studio go to Extensions and find .NET Upgrade Assistant. Right click project in list and say Upgrade and it will let you pick whatever .net you like!