Skip to content

[WebToolsE2E][Aspire] Unable to build and run aspire project after installing aspire 8.2.0 #5396

@vmykagapuz

Description

@vmykagapuz

REGRESSION

  1. Worked in Aspire 8.1.0 and Aspire 8.2.0 previous build

INSTALL STEPS

  1. Clean machine: Win11 x64 23H2
  2. Install SDK 8.0.401
  3. Install Aspire 8.2.0 (8.2.0-preview.1.24422.7)

REPRO STEPS

  1. 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.dll

Build 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)

image

EXPECTED
Can build and run the project successfully.

Metadata

Metadata

Assignees

Labels

area-engineering-systemsinfrastructure helix infra engineering repo stuff

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions