Home > Mobile >  The initial code is missing from the new Visual Studio version
The initial code is missing from the new Visual Studio version

Time:08-04

in earlier Visual Studio versions there was always ready-made code when you created a new project. Unfortunately, that doesn't exist anymore. Anyone know how to undo this? It irritates me a lot because this initial code is preserved in many C# tutorials and no longer with me due to the new version. I would really appreciate your help, thank you!

CodePudding user response:

This is how Microsoft recommends you do it. Create a project that targets .NET5 and switch it to .NET6. Here's more info on that:

https://docs.microsoft.com/en-us/dotnet/core/tutorials/top-level-templates#use-the-old-program-style

  • Related