A reference .NET application implementing an eCommerce site
MIT License
6.46k
stars
1.94k
forks
source link
[WebToolsE2E][Aspire] Opening eShop solution version 9.0.0 fails with error: Unable to find multiple packages for version (>= 9.0.0) even though the aspire9 feed has been added. #601
Clone eShop repo from main branch [Aspire 9.0.0 rc1]
Manually update aspire version to 9.0.0
Add aspire 9.0.0 feed/mapping to nuget.config
Change aspire version to 9.0.0 in nuget.org
Open eShop.web.slnf and build
ACTUAL
Unable to find package Aspire.Npgsql.EntityFrameworkCore.PostgreSQL with version (>= 9.0.0)
Found 1 version(s) in aspire9 [ Nearest version: 9.0.0-rc.2.24529.8 ]
Versions from nuget were not considered
Unable to find package Microsoft.Extensions.Configuration.Abstractions with version (>= 9.0.0)
Found 125 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24473.5 ]
Versions from aspire9 were not considered
Unable to find package Microsoft.Extensions.Configuration.Binder with version (>= 9.0.0)
Found 133 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24473.5 ]
Versions from aspire9 were not considered
Unable to find package Microsoft.Extensions.Diagnostics.HealthChecks with version (>= 9.0.0)
Found 183 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24474.3 ]
Versions from aspire9 were not considered
Unable to find package Microsoft.Extensions.Hosting with version (>= 9.0.0)
Found 114 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24473.5 ]
Versions from aspire9 were not considered
Detected package downgrade: Grpc.Tools from 2.67.0 to centrally defined 2.66.0. Update the centrally managed package version to a higher version.
eShop.AppHost -> Aspire.Hosting.Azure.CognitiveServices 9.0.0 -> Grpc.Tools (>= 2.67.0)
eShop.AppHost -> Grpc.Tools (>= 2.66.0)
INSTALL STEPS
REPRO STEPS
main
branch [Aspire 9.0.0 rc1]ACTUAL Unable to find package Aspire.Npgsql.EntityFrameworkCore.PostgreSQL with version (>= 9.0.0) Found 1 version(s) in aspire9 [ Nearest version: 9.0.0-rc.2.24529.8 ] Versions from nuget were not considered Unable to find package Microsoft.Extensions.Configuration.Abstractions with version (>= 9.0.0) Found 125 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24473.5 ] Versions from aspire9 were not considered Unable to find package Microsoft.Extensions.Configuration.Binder with version (>= 9.0.0) Found 133 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24473.5 ] Versions from aspire9 were not considered Unable to find package Microsoft.Extensions.Diagnostics.HealthChecks with version (>= 9.0.0) Found 183 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24474.3 ] Versions from aspire9 were not considered Unable to find package Microsoft.Extensions.Hosting with version (>= 9.0.0) Found 114 version(s) in nuget [ Nearest version: 9.0.0-rc.2.24473.5 ] Versions from aspire9 were not considered Detected package downgrade: Grpc.Tools from 2.67.0 to centrally defined 2.66.0. Update the centrally managed package version to a higher version. eShop.AppHost -> Aspire.Hosting.Azure.CognitiveServices 9.0.0 -> Grpc.Tools (>= 2.67.0) eShop.AppHost -> Grpc.Tools (>= 2.66.0)
EXPECTED
Building solution without any errors