Microsoft Visual Studio 2022 set up?

Hello
I tried installing Visual Studio on my laptop at home, but it looks completely different than the one on our school laptops. Instead of opening the draft, I see only empty code. Also, my toolbar is empty, and so is the project manager. Even when I try to create a new project, nothing changes in the project manager. I've attached two images: one as I'm used to it (with draft, etc.) and the other as it looks on my computer. I hope someone here knows something about this and can help me.

(3 votes)
Loading...

Similar Posts

Subscribe
Notify of
4 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
1 year ago

1) Open the Visual Studio Installer, go to your VS version Change and make sure that the workload .NET desktop development is hooked. If this has not been the case so far, you need to reinstall these components via this dialog.

2) When you open Visual Studio, a dialog is initially displayed that allows you to create projects or open existing projects. Under Create a new project you need the project template Windows Forms-Click for Visual Basic.

If behind the name (.NET Framework) is the project type of an old .NET Framework version (4.6-4.8) that is only focused on Windows OS platforms.

If you go after your screenshot, you have only created an empty project folder. A project can also be added to this:

  1. Right-click on your projectbook nodes in the projectbook explorer
  2. Add to cart
  3. New project
  4. Select Windows Forms App
regex9
1 year ago
Reply to  Niklas666740

Figure once in your environment variables. There may be a false reference to dotnet– Program.

  1. Windows button > after Edit system environment variables search
  2. Button Environment variables
  3. Under System variables after Path-Variable search > Edit

In the list it should be an entry for C:\Program Files\dotnet give. If there is an entry for C:\Program Files (x86)\dotnet give him away.

Then restart Visual Studio (or, if no change, complete OS restart).

If also that does not help, perhaps a logging of activity is useful. Maybe it delivers warning/error messages that you can follow.

Visual Studio does not automatically create a log file, but has to be started in a corresponding mode.

  1. Close all Visual Studio instances first.
  2. Search the directory path via Windows Explorer, where you have installed Visual Studio, and from there you will find the subdirectory with devenv.exe. For a standard installation, this would be this folder: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE.
  3. Open the Windows command prompt, best with administrator rights.
  4. Change in the open console with the cd-Register in the directory where devenv.exe is located and open a Visual Studio instance in Log mode:
cd "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE"
devenv.exe /Log

In this instance, you try again to create a project. After the trial you will see in the log directory. In Windows Explorer you can enter the address line %APPDATA%\Microsoft\VisualStudio enter, starting from this folder, you will see an ActivityLog.xml in the subdirectory. If there are several subdirectories, choose the one with the largest number. You can open the XML file with an internet browser.

Amgadalghabra
1 year ago
Reply to  regex9

I have the same problem 🙁 has that already worked with you?