Open
Description
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install VS 17.14 P3
- Web workload
- Install Aspire 9.1.0
- Install Aspire 9.2.0-preview.1.25152.3
- Apply aspire 9.2 Feed
REPRO STEPS
- Open an existing 9.1.0 solutions (Aspire Starter Application), build and run - works
- Right click Solution > Manage NuGet Packages for Solution > Update
- Updated the versions of packages Aspire.Hosting.AppHost and Microsoft.Extensions.ServiceDiscovery to 9.2.0-preview.1.25152.3
- Right click the solution > Build and F5
NOTE:
- If you don't build and run in the first step, this issue will not be reproduced.
- After updating the package, wait for all packages to be restored and build successfully, then press F5, and you will encounter this issue. However, Rebuild solution will not encounter this issue.
- There is a similar known issue in Aspire 8.0 #9489.
- Execute all REPRO STEPS in CMD. This issue is not reproduced.
ACTUAL
System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.ServiceDiscovery, Version=9.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.'
EXPECTED
Can run successfully.
Metadata
Metadata
Assignees
Labels
No labels