Skip to content

Unable to build using Visual Studio 2022 #3055

@Entersjkhdfkjdhfksjf

Description

@Entersjkhdfkjdhfksjf

Have you checked Github Issues for similar errors?
yes
Exception
Post the exception returned by Visual Studio

Visual Studio Output Logs
Build started at 20:21...
1>------ Build started: Project: CosmosKernel2, Configuration: Debug Any CPU ------
Failed to restore C:\Users[username]\source\repos\CosmosKernel2\CosmosKernel2\CosmosKernel2.csproj (in 1.29 sec).
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
1>C:\Users[username]\source\repos\CosmosKernel2\CosmosKernel2\CosmosKernel2.csproj : error NU1101: Unable to find package Cosmos.Debug.Kernel. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org, Package source
1>C:\Users[username]\source\repos\CosmosKernel2\CosmosKernel2\CosmosKernel2.csproj : error NU1101: Unable to find package Cosmos.Plugs. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org, Package source
1>C:\Users[username]\source\repos\CosmosKernel2\CosmosKernel2\CosmosKernel2.csproj : error NU1101: Unable to find package Cosmos.System2. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org, Package source
1>C:\Users[username]\source\repos\CosmosKernel2\CosmosKernel2\CosmosKernel2.csproj : error NU1101: Unable to find package Cosmos.Build. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org, Package source
1>Done building project "CosmosKernel2.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 20:21 and took 02.147 seconds ==========

How To Reproduce
Describe any changes done to a clean kernel for this error to occur.
No changes were made. Just build the example kernel

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Context
Before posting please confirm that the following are in order
[ ] Both Cosmos VS Extensions are installed
[ ] In the NuGet Package Manager "Include prerelease" is selected
[ ] The Cosmos NuGet package store is selected (NOT nuget.org) in 'Manage NuGet Packages'
[ ] The Cosmos NuGet packages are installed

Add any other context about the problem which might be helpful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions