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

[WebToolsE2E][Document] After cloning SupportTicketApi samples, the project build fails with the error. #4

Open
Yangfanyue opened this issue Nov 8, 2024 · 1 comment

Comments

@Yangfanyue
Copy link

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install Dev17.12.0 build (d17.12-35506.116)
  3. Apply NuGet Feeds.

REPRO STEPS

  1. Do the scenario Apply Entity Framework Core migrations in .NET Aspire

  2. In section Obtain the starter app

    • Clone the samples and build

ACTUAL:
The type 'Aspire.Hosting.ApplicationModel.SqlServerDatabaseResource' cannot be used as type parameter 'T' in the generic type or method 'ResourceBuilderExtensions.WithEndpoint(IResourceBuilder, int?, int?, string?, string?, string?, bool, bool?)'. There is no implicit reference conversion from 'Aspire.Hosting.ApplicationModel.SqlServerDatabaseResource' to 'Aspire.Hosting.ApplicationModel.IResourceWithEndpoints'.
image

@Yangfanyue Yangfanyue changed the title [WebToolsE2E][Aspire][Document] After cloning SupportTicketApi samples, the project build fails with the error. [WebToolsE2E][Document] After cloning SupportTicketApi samples, the project build fails with the error. Nov 8, 2024
@avarndell
Copy link

I'm having the same issue.

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