Installation of Cosmos OS Dev Kit
Properly installed Cosmos OS Dev Kit
On running "install-VS2019.bat" appears a message box "Cosmos Kit Builder" with the following text:

When I click OK, Visual Studio Installer is getting to run and appears for a while

Then this message pops up:

The final log:

I believe I have installed all dependencies and the workloads mentioned:

What's going on?
The steps are provided above.
Dev Kit commit
ba2ace3
try updating your visual studio or restarting your computer
It doesnt work either.
сб, 12 окт. 2019 г., 21:36 BurgerlX notifications@github.com:
try updating your visual studio or restarting your computer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CosmosOS/Cosmos/issues/1233?email_source=notifications&email_token=ANNKXL2OPIHSNS73TCUCYKDQOH4IHA5CNFSM4JAC5OGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCDJ5Y#issuecomment-541340919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANNKXL7QDN6SDP3UOBTJPZLQOH4IHANCNFSM4JAC5OGA
.
Since updating Visual Studio and restarting your system doesn't work, it sounds like your installation of Visual Studio is either located somewhere other than where the Cosmos devkit is searching, or your installation could be corrupt. Go to Visual Studio Installer, select your installation, and click Repair. Since both the userkit and the devkit require Visual Studio Workloads, try downloading and installing the userkit. The only other thing you could try if the above two methods don't work is to reinstall Visual Studio.
What I did:
Updated Visual Studio
Ran Visual Studio Installer as Admin
Ran the installer for Cosmos
This worked for me. Hope it helps. :)
Thanks for suggestions, guys.
Since updating Visual Studio and restarting your system doesn't work, it sounds like your installation of Visual Studio is either located somewhere other than where the Cosmos devkit is searching, or your installation could be corrupt. Go to Visual Studio Installer, select your installation, and click Repair. Since both the userkit and the devkit require Visual Studio Workloads, try downloading and installing the userkit. The only other thing you could try if the above two methods don't work is to reinstall Visual Studio.
I tried it but it still didnt work although I have only one VS2019 version installed.
What I did:
Updated Visual Studio
Ran Visual Studio Installer as Admin
Ran the installer for CosmosThis worked for me. Hope it helps. :)
I did it too. But at least now I am stuck on infinite loading:

Here's what happens in Task Manager. It just eats the CPU but I dont see anything happening outside.

Does it install something or I am wrong? This happened sometimes before I used your solution and didnt throw any error. But it doesnt make any effect, it just hangs.
Still no luck.
Probably, I'll stick on user kit as it works okay.
Try commenting out (yield return new VisualStudioWorkloadsDependency(_visualStudioInstance);) here and rerunning the builder. https://github.com/CosmosOS/Cosmos/blob/dc794e0eb9283b5614f8dce1d5df21cd053cc335/source/Cosmos.Build.Builder/CosmosBuildDefinition.cs#L42
It throws an error

devenv.exe is somehow missing.
Can you use the copy button and paste the entire log in a pastebin?
Can you use the copy button and paste the entire log in a pastebin?
Alright, I solved it just by repairing the Visual Studio 2019 Build Tools Installation. All is good. Thank you very much!
quajak, your solution worked fine!
Most helpful comment
Try commenting out (
yield return new VisualStudioWorkloadsDependency(_visualStudioInstance);) here and rerunning the builder. https://github.com/CosmosOS/Cosmos/blob/dc794e0eb9283b5614f8dce1d5df21cd053cc335/source/Cosmos.Build.Builder/CosmosBuildDefinition.cs#L42