What does this mean?

DavidPendleton-7654 26 Reputation points
2023-03-27T22:39:47.4033333+00:00

I've just downloaded a sample C# project from Github, and after opening, my references all look like this:

User's image

What do these warnings mean? I can't find a related message anywhere in the Visual Studio 2019 UI. How do I know what's wrong?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
{count} votes

Accepted answer
  1. Michael Taylor 48,826 Reputation points
    2023-03-28T15:00:02.8766667+00:00

    The repo you linked to doesn't have any of these dependencies. It looks like you took some extra steps after downloading the repo. Can you explain what you did?

    Specifically it looks like you added EntityFramework from NuGet to the project. However it looks like you added multiple versions. This is a .NET 6 project so you should be using Microsoft.EntityFrameworkCore but it looks like you instead added EntityFramework which is the older framework for .NET Framework. Remove that NuGet package from your project. Ensure you have .Microsoft.EntityFrameworkCore referenced instead and then recompile your code.

    You might need to restart VS to get rid of some of the warnings. For the remainder go to the Output window and select Package Manager. This should show you any actual warnings/errors that are occurring. The rest can be ignored.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Kens Learning Curve 0 Reputation points
    2023-08-04T14:53:05.1166667+00:00

    Hi @DavidPendleton-7654,

    I am the owner of the GitHub repository you used. Although you already have the answer, I would like to first thank you for taking an interest in the repository. Second I would like to pinpoint that this repository is a starting point for a tutorial that explains everything you need to make this repo work.

    If you have any questions, please let me know!

    Happy coding!

    0 comments No comments