Cosmos icon indicating copy to clipboard operation
Cosmos copied to clipboard

Devkit Not Installing

Open lolumar2019 opened this issue 1 year ago • 5 comments

The Cosmos DevKit installer fails to detect installed Visual Studio workloads, even though Visual Studio 2022 Community Edition is installed with the required workloads (.NET Desktop Development and Desktop Development with C++). As a result, the installer reports:

Visual Studio Workloads not found

This prevents the installer from building Builder.sln and launching Cosmos Builder.

Steps of installation up to now

Installed Visual Studio 2022 Community Edition with the required workloads.

Installed .NET 6 Runtime (x64).

Downloaded the latest Cosmos DevKit installer (install-VS2022.bat).

Ran the installer from Command Prompt as Administrator.

Attempted to bypass detection by manually setting InstallDir in the batch file.

Despite these steps, the installer still fails to detect the workloads.

Expected behavior The installer should detect the installed Visual Studio workloads, build Builder.sln, and launch Cosmos Builder without errors.

Logs

Build status: Error Error: Visual Studio Workloads not found.

Checking Dependencies... Repos: IL2CPU, XSharp and Common is installed. Proper Cosmos folder name is installed. Visual Studio 15.9+ is installed. Visual Studio Workloads was not found. Install install .Net Core 6.0 Runtime.

Setup (please complete the following information):

Cosmos Version: DevKit (latest release)

Installer run as administrator: Yes

Visual Studio Version: 2022 Community Edition, 17.x

Workloads installed: .NET Desktop Development, Desktop Development with C++

Operating System: Windows 11

Additional context

Running the installer in PowerShell causes / arguments to be misinterpreted; CMD must be used.

Manually setting InstallDir does not resolve the detection issue.

Directly building Builder.sln via MSBuild works, which suggests the problem is with the installer’s detection logic, likely related to vswhere.exe or the MSBuild path.

lolumar2019 avatar Nov 15 '25 07:11 lolumar2019

You need to install .NET 6.0 from here: https://dotnet.microsoft.com/en-us/download/dotnet/6.0

0XOPx avatar Jan 25 '26 15:01 0XOPx

i did, it still dosent work

On Sun, Jan 25, 2026 at 7:08 AM OXOP BMP Official (aka. OXOP) < @.***> wrote:

0XOPx left a comment (CosmosOS/Cosmos#3207) https://github.com/CosmosOS/Cosmos/issues/3207#issuecomment-3796814841

You need to install .NET 6.0 from here: https://dotnet.microsoft.com/en-us/download/dotnet/6.0

— Reply to this email directly, view it on GitHub https://github.com/CosmosOS/Cosmos/issues/3207#issuecomment-3796814841, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCHKCKH3W7D7KZ6MWPOLOW34ITL6JAVCNFSM6AAAAACMF5J6D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOOJWHAYTIOBUGE . You are receiving this because you authored the thread.Message ID: @.***>

lolumar2019 avatar Jan 27 '26 09:01 lolumar2019

OH! I FOUND THE ISSUE You are using Visual Studio 2017, and 2022 is required. You also need .NET Desktop Development and Extension Development selected while you install Visual Studio 2022+ If you already have version 17+ (Visual Studio 2022+) Because Visual Studio 15 is 2017.

0XOPx avatar Jan 27 '26 14:01 0XOPx

You need: Visual Studio 2022+ .NET Desktop Development Desktop Development with C++ Visual Studio Extension Development

0XOPx avatar Jan 27 '26 14:01 0XOPx

Oh thanks but now I dont use cosmos, I codebin C and no need for any IDE now👍

lolumar2019 avatar Mar 25 '26 15:03 lolumar2019