Sitelet https://github.com/fsprojects/Paket/issues/4282
Skip to content

Dotnet Aspire does not work after conversion to paket #4282

Description

@landy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions