ardalis / pluralsight-ddd-fundamentals

Sample code for the Pluralsight DDD Fundamentals course by Julie Lerman and Steve "ardalis" Smith
MIT License
901 stars 318 forks source link

Error NU1101 Unable to find package Pluralsight.DDD.Deps. No packages exist with this id in source(s) #65

Closed iarunpaul closed 1 year ago

iarunpaul commented 1 year ago

During the build one of the custom public Nuget package restore fails:

Severity    Code    Description Project File    Line    Suppression State
Error   NU1101  Unable to find package Pluralsight.DDD.Deps. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org   FrontDesk.Blazor.Host   C:\Users\ArunPaul\source\repos\DDD\pluralsight-ddd-fundamentals\FrontDesk\src\FrontDesk.Blazor.Host\FrontDesk.Blazor.Host.csproj    1   

When I checked the Nuget repository, it doesn't exist, but the closest package available is PluralsightDdd.SharedKernel. I tried for building the application with the PluralsightDdd.SharedKernel package but it never builds.

Can someone suggest a solution?

GraemeWellington commented 1 year ago

In Visual Studio in FrontDesk solution right click on the solution and select Manage Nuget Packages for Solution. In the far right click on the Options cog and then Add a Package Source (from the suggested youtube video in the README.md) use the name DDDFundamentals and then click the button with 3 dots and navigate to : [from the solution main folder] /FrontDesk/src/FrontDesk.Blazor/deps/Pluralsight.DDD.Deps/Pluralsight.DDD.Deps.1.0.0.nupkg - select and OK. You will then have the DDDFundamentals in the Package source pulldown.

iarunpaul commented 1 year ago

In Visual Studio in FrontDesk solution right click on the solution and select Manage Nuget Packages for Solution. In the far right click on the Options cog and then Add a Package Source (from the suggested youtube video in the README.md) use the name DDDFundamentals and then click the button with 3 dots and navigate to : [from the solution main folder] /FrontDesk/src/FrontDesk.Blazor/deps/Pluralsight.DDD.Deps/Pluralsight.DDD.Deps.1.0.0.nupkg - select and OK. You will then have the DDDFundamentals in the Package source pulldown.

Thank you! It resolved the issue.