Andre Lombaard
Andre Lombaard

Reputation: 7105

ASP.NET 5 project dependency cannot be resolved

I have a solution with 2 projects and I want to add a project reference pointing to my Core project

enter image description here

I get an error message

The dependency Yugasat.Core>=4.0.0-* cannot be resolved

Here is the dependencies section in my project.json file

enter image description here

Am I missing something here?

Upvotes: 0

Views: 285

Answers (1)

Mihail Stancescu
Mihail Stancescu

Reputation: 4138

You are adding the project reference incorrect.

Project references are resolved using peer folders to the current project or project paths specified using a global.json file at the solution level

Check the documentation link about how to reference project dependencies.

Update

I've updated the link.

Upvotes: 1

Related Questions