-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build using Visual Studio 2022 #3055
Comments
Also I am not sure how to confirm last three lines in context |
Do you have the Cosmos NuGet packages installed? |
You can confirm these by right clicking on your project. And then clicking on "Manage NuGet Packages..." |
It seems to be installed |
Do you have the Cosmos VS Extension installed? |
yes |
can i see the project file (double click on your project) EDIT: |
I have tried both the kits.
|
if you are using the latest dev kit, try putting this in
And if you are using user kit. Try installing dev kit because user kit is very outdated. |
now, i am getting the following errors. (Yes, I reinstalled the dev kit)
|
hmm... The only thing I can think of is to restore the NuGet packages, This will help: https://github.com/NuGet/docs.microsoft.com-nuget/blob/main/docs/consume-packages/Package-Restore.md TIP: remove the previous NuGet references in
|
You think reinstalling Visual Studio will work? |
1 similar comment
You think reinstalling Visual Studio will work? |
no. I don't mean that😀. |
Alright |
Restoring Failed. :( . Might just reinstall and see. It might just work |
you can try that |
It's still not working 😭 |
It is saying that it is launching a .dll, your project is configured incorrectly. |
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.
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.
The text was updated successfully, but these errors were encountered: