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.91k stars 549 forks source link

Installing the devkit creates an error during the "Building Cosmos" stage #790

Closed 365Tito closed 6 years ago

365Tito commented 6 years ago

When running the install-VS2017.bat from my Administrator account, everything goes correctly untill the "Building Cosmos" stage of the installation. I've taken the necessary precautions to:

  1. Install the .NET Framework 2.0 SDK and runtime
  2. Have the folders in the correct order: SOURCE folder, contains:

    Cosmos-master IL2CPU XSharp

Link to the log tail: https://pastebin.com/YAGwhePx

The error, which is posted in the above pastebin link mostly reports having issues with targeting a .NET Framework 4.6.2 from a .NET Standard 2.0 Project. I have tried playing around with the project properties of the Build/Builder etc, but to no avail...

I would appreciate your help! Thanks in advance!

fanoI commented 6 years ago

Please read here: https://github.com/CosmosOS/Cosmos/blob/master/SUPPORT.md

jp2masa commented 6 years ago

@365Tito Rename "Cosmos-master" to "Cosmos".

365Tito commented 6 years ago

Thank you for the rather quick replies ! Tried both solutions... @fanoI - I already have 4.6.2 installed. The installer only offered the (Repair / Uninstall) options. @jp2masa - I tried that too... it doesn't work.

https://docs.microsoft.com/en-us/dotnet/standard/net-standard

This table right here , interestingly enough shows that the 4.6.2 .NET Framework does not support .NET Standard 2.0, which I guess, is further proved here:

https://github.com/dotnet/standard/blob/master/docs/versions/netstandard2.0.md

And... what should I do now?

EDIT:

Just a note I forgot, The Userkit .exe will install with no problems.

jp2masa commented 6 years ago

.NET Standard 2.0 is supported by .NET Framework >= 4.6.1. You need to install the .NET Core 2.0 SDK and make sure you're using Visual Studio >= 15.3.

365Tito commented 6 years ago

@jp2masa @fanoI

Well, it turns out I had to update Visual Studio 2017 Enterprise as it was Version 15.0.

The installer finished and everything works!

Thanks for your help guys!

Cheers!