[WebToolsE2E][Aspire] Updated Aspire version from 8.0.0 to 8.0.1. When running the project, an exception occurred: System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.ServiceDiscovery, Version=8.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.' #4235
Labels
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
INSTALL STEPS
Clean machine: Win11 x64 23h2 ENU
Install VS 17.10 GA FB
Install Aspire 8.0.1 workload
REPRO STEPS
Open an existing 8.0.0 solutions (Aspire Starter Application), build and run - works
Right click Solution > Manage NuGet Packages for Solution > Update
Select 8.0.1 resource in the Package source drop-down box > Select all packages > Update
Right click the solution > Build and F5
NOTE: If right click the solution > Rebuild solution, this project can be run successfully
ACTUAL
$(String[] args) in C:\Users\v-reinawang\Desktop\AspireApp1\AspireApp1\AspireApp1.ApiService\Program.cs:line 4System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'Microsoft.Extensions.ServiceDiscovery, Version=8.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
Source=AspireApp1.ServiceDefaults
StackTrace:
at Microsoft.Extensions.Hosting.Extensions.AddServiceDefaults(IHostApplicationBuilder builder) in C:\Users\v-reinawang\Desktop\AspireApp1\AspireApp1\AspireApp1.ServiceDefaults\Extensions.cs:line 35
at Program.
EXPECTED
Can run successfully.
The text was updated successfully, but these errors were encountered: