Skip to content
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

Not obvious error with restoring the solution out of box with not latest sdk #536

Open
seregakup23 opened this issue Sep 15, 2024 · 1 comment

Comments

@seregakup23
Copy link

seregakup23 commented Sep 15, 2024

  1. Ok, I hadn't read properly the Readme.md and didn't install the latest sdk as Readme says :)
  2. The latest version on my machine was 8.0.204 at that moment
  3. I cloned the repo git clone https://github.com/dotnet/eShop.git
  4. Tried to restore Nuget packages
  5. And got the error
    image

and about 30k compile-time errors

BTW, before I downloaded the 8.0.401 sdk, the approach with latest sdk's version in the global.json was fixing the problem. However, I suppose, that isn't an appropriate solution.
{ "sdk": { "version": "latest", "rollForward": "latestFeature", "allowPrerelease": true } }

So, my question is how to make the error more obvious?

I understand that we all have to read the documentation properly, but, frankly speaking, who does it? :)

@jamesmontemagno
Copy link
Member

Main is now on .NET 9 and being worked on.

For .NET 8 checkout this branch: https://github.com/dotnet/eShop/tree/release/8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants