You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Just tried these Steps today:
To run the samples:
Clone this repo
At the repo's root directory (the one containing src, samples, etc.), run dotnet restore
*** the AutoMapper fails to install ***
Change directory to the sample you want to run (e.g., cd samples/angular/MusicStore)
etc...
I just cleared my package cache and tried dotnet restore for this, and it worked OK (AutoMapper was found and installed properly). Maybe there was a temporary network issue when you tried - I'd suggest trying again (and if necessary, clearing your dotnet package cache first - it's probably in your user directory under .nuget/packages).
Closing as can't repro, but if you still think there's an issue, please let us know.
Thanks for looking into this issue. I have used your method of removing the cache using 'nuget locals all -clear' and attempt the 'dotnet restore' again without success. being generally more comfortable in VS. I have opened the project/solution within VS2015 and tried to build the solution. VS returned the same failure. Such that I tried the PM approach to add the latest resource available.. Tried another build and VS suggested Microsoft.Tpl.DataFlow was needed.. PM'd the latest into the solution and attempted another Solution Build. This time the error suggests the latest version of AutoMapper excludes the method Mapper.CreateMap<...etc). Afterwards (uninstalling the lastest and installing AutoMapper 4.2 and a Clean Solution) the Solution builds.
Returning the 'dotnet restore' Step... again fails to complete.
Cheers,
Sorry, I don't know why you're having this issue, but I've confirmed on a couple of other machines that the project is set up to build correctly. Maybe you have some custom NuGet feed or are running a special build of .NET. Beyond that, I'm afraid I'm not sure what the issue is. If you are keen to dig into this further, you might want try making a minimal repro project (see how much you can strip out of the samples/angular/MusicStore project while the error remains) and report it to NuGet.
Activity
SteveSandersonMS commentedon Sep 30, 2016
I just cleared my package cache and tried
dotnet restorefor this, and it worked OK (AutoMapper was found and installed properly). Maybe there was a temporary network issue when you tried - I'd suggest trying again (and if necessary, clearing your dotnet package cache first - it's probably in your user directory under.nuget/packages).Closing as can't repro, but if you still think there's an issue, please let us know.
ergodaveh commentedon Sep 30, 2016
Thanks for looking into this issue. I have used your method of removing the cache using 'nuget locals all -clear' and attempt the 'dotnet restore' again without success. being generally more comfortable in VS. I have opened the project/solution within VS2015 and tried to build the solution. VS returned the same failure. Such that I tried the PM approach to add the latest resource available.. Tried another build and VS suggested Microsoft.Tpl.DataFlow was needed.. PM'd the latest into the solution and attempted another Solution Build. This time the error suggests the latest version of AutoMapper excludes the method Mapper.CreateMap<...etc). Afterwards (uninstalling the lastest and installing AutoMapper 4.2 and a Clean Solution) the Solution builds.
Returning the 'dotnet restore' Step... again fails to complete.
Cheers,
SteveSandersonMS commentedon Oct 5, 2016
Sorry, I don't know why you're having this issue, but I've confirmed on a couple of other machines that the project is set up to build correctly. Maybe you have some custom NuGet feed or are running a special build of .NET. Beyond that, I'm afraid I'm not sure what the issue is. If you are keen to dig into this further, you might want try making a minimal repro project (see how much you can strip out of the
samples/angular/MusicStoreproject while the error remains) and report it to NuGet.TylerJGabb commentedon Jul 23, 2018
I am having this issue with a brand new vanilla console project.