dotnet restore doesn't work
kenderipa opened this issue · comments
kenderipa commented
Hello,
I'm trying to follow your howto. However, dotnet restore
doesn't work. I'm getting the following:
PS E:\Download\Work\git\supermarket-api\src\Supermarket.API> dotnet restore
Determining projects to restore...
E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.csproj : error NU1100: Unable to resolve 'Auto
Mapper (>= 13.0.1)' for 'net8.0'. [E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.sln]
E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.csproj : error NU1100: Unable to resolve 'Micr
osoft.EntityFrameworkCore.InMemory (>= 8.0.1)' for 'net8.0'. [E:\Download\Work\git\supermarket-api\src\Supermarket.API\
Supermarket.API.sln]
E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.csproj : error NU1100: Unable to resolve 'Micr
osoft.EntityFrameworkCore.Relational (>= 8.0.1)' for 'net8.0'. [E:\Download\Work\git\supermarket-api\src\Supermarket.AP
I\Supermarket.API.sln]
E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.csproj : error NU1100: Unable to resolve 'Micr
osoft.VisualStudio.Azure.Containers.Tools.Targets (>= 1.19.5)' for 'net8.0'. [E:\Download\Work\git\supermarket-api\src\
Supermarket.API\Supermarket.API.sln]
E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.csproj : error NU1100: Unable to resolve 'Swas
hbuckle.AspNetCore (>= 6.5.0)' for 'net8.0'. [E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.
sln]
Failed to restore E:\Download\Work\git\supermarket-api\src\Supermarket.API\Supermarket.API.csproj (in 70 ms).
A little help?
kenderipa commented
Got it. Neede to delete old NuGet.config under C:\Users<User>\AppData\Roaming\NuGet\