Literally nobody was able to help me. Here is the error I got (translated from Polish).
C:\SpectrumOS\Cosmos\source\Cosmos.Build.Builder\Cosmos.Build.Builder.csproj : error : Unable to recognize SDK 'Microsoft.NET.Sdk'. Exactly one of
The following polling messages indicate why we couldn't recognize the SDK. Investigate and resolve this message to correctly determine the SDK.
C:\SpectrumOS\Cosmos\source\Cosmos.Build.Builder\Cosmos.Build.Builder.csproj : error : The NuGetSdkResolver server did not recognize this SDK because it did not
version specified in the project or global.json file.
C:\SpectrumOS\Cosmos\source\Cosmos.Build.Builder\Cosmos.Build.Builder.csproj : error : MSB4276: Default SDK Resolver cannot resolve from
SDK "Microsoft.NET.Sdk" because the directory "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" does not exist
hey.
C:\SpectrumOS\Cosmos\source\Cosmos.Build.Builder\Cosmos.Build.Builder.csproj : error MSB4236: The specified SDK 'Microsoft.NET.Sdk' could not be found.