CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

The target "CosmosBuild" does not exist in the project. #1933

Closed peymanmajidi closed 2 years ago

peymanmajidi commented 3 years ago

Hello, I don't know what happened to Cosmos, I can't run my project,
even when I make a new and clean project it's still have the same problem

image

I tried to change target framework to 3x and 5 but still there.

VS Output Logs Severity Code Description Project File Line Suppression State Error MSB4057 The target "CosmosBuild" does not exist in the project. CosmosKernel6 C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 934

Thanks in advance

peymanmajidi commented 3 years ago

Hey Everyone...

I try to reinstall VS, Vmware player and Cosmos SDK... problem still remains

MishaTy commented 3 years ago

See #1926

Great-error commented 3 years ago

Hello, I don't know what happened to Cosmos, I can't run my project, even when I make a new and clean project it's still have the same problem

image

I tried to change target framework to 3x and 5 but still there.

VS Output Logs Severity Code Description Project File Line Suppression State Error MSB4057 The target "CosmosBuild" does not exist in the project. CosmosKernel6 C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 934

Thanks in advance

change netcore2.0 to net 5.0 in cosmos.csproj

quajak commented 3 years ago

Comment out this line as done here https://github.com/CosmosOS/Cosmos/blob/b296d7a4c6cf3a1dbd14475ccfbb00dce1b912e1/source/Cosmos.VS.ProjectSystem/ProjectTemplates/CSharp/Cosmos/Cosmos%20Kernel/CSharpProject.csproj#L5

valentinbreiz commented 2 years ago

Can we close this?