-
Notifications
You must be signed in to change notification settings - Fork 715
Description
REGRESSION
- Worked in Aspire 8.1.0 and Aspire 8.2.0 previous build
INSTALL STEPS
- Clean machine: Win11 x64 23H2
- Install SDK 8.0.401
- Install Aspire 8.2.0 (8.2.0-preview.1.24422.7)
REPRO STEPS
- Open CMD, create an Aspire Starter App and run the project using following commands:
dotnet new aspire-starter -o AspireStarterApp
cd AspireStarterApp/AspireStarterApp.AppHost
dotnet run
ACTUAL
Build and running the project fails with an error:
C:\Users\aapt.nuget\packages\aspire.hosting.orchestration.win-x64\8.2.0-preview.1.24422.7\buildTransitive\Aspire.Hosti
ng.Orchestration.win-x64.targets(2,3): error MSB4019: The imported project "C:\Users\aapt.nuget\packages\aspire.hostin
g.orchestration.win-x64\8.2.0-preview.1.24422.7\build@[email protected]" was not found. Confirm that the expression
in the Import declaration "..\build@[email protected]" is correct, and that the file exists on disk. [C:\Users\aap
t\aspire1\aspire1.AppHost\aspire1.AppHost.csproj]
aspire1.ServiceDefaults -> C:\Users\aapt\aspire1\aspire1.ServiceDefaults\bin\Debug\net8.0\aspire1.ServiceDefaults.dll
aspire1.ApiService -> C:\Users\aapt\aspire1\aspire1.ApiService\bin\Debug\net8.0\aspire1.ApiService.dll
aspire1.Web -> C:\Users\aapt\aspire1\aspire1.Web\bin\Debug\net8.0\aspire1.Web.dllBuild FAILED.
C:\Users\aapt.nuget\packages\aspire.hosting.orchestration.win-x64\8.2.0-preview.1.24422.7\buildTransitive\Aspire.Hosti
ng.Orchestration.win-x64.targets(2,3): error MSB4019: The imported project "C:\Users\aapt.nuget\packages\aspire.hostin
g.orchestration.win-x64\8.2.0-preview.1.24422.7\build@[email protected]" was not found. Confirm that the expression
in the Import declaration "..\build@[email protected]" is correct, and that the file exists on disk. [C:\Users\aap
t\aspire1\aspire1.AppHost\aspire1.AppHost.csproj]
0 Warning(s)
1 Error(s)
EXPECTED
Can build and run the project successfully.
