Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotnet Aspire does not work after conversion to paket #4282

Open
landy opened this issue Jan 7, 2025 · 1 comment
Open

Dotnet Aspire does not work after conversion to paket #4282

landy opened this issue Jan 7, 2025 · 1 comment

Comments

@landy
Copy link

landy commented Jan 7, 2025

Description

Dotnet Aspire fails to start when Paket is used to manage packages for the AppHost project.

Repro steps

I created the default aspire template using the dotnet cli dotnet new aspire-starter and then ran the dotnet paket convert-from-nuget command. Now, the Aspire App Host fails to start with the error AspirePaket.AppHost is a .NET Aspire AppHost project that needs a package reference to Aspire.Hosting.AppHost version 8.2.0 or above to work correctly.
I create a repository where the behaviour can be observed https://github.com/landy/AspirePaket

Expected behaviour

AppHost should start as usual.

Actual behaviour

It fails to start with the error mentioned above.

Known workarounds

I don't know about any workarounds. I suspect this is caused by the <Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0" /> element in the csproj, but I don't have any knowledge about the msbuild.

@colinbobolin
Copy link

dotnet/aspire#6921 I mentioned this in the Aspire project, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants