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

.NET 6.0 Program.cs #149

Open
alsmyth opened this issue Aug 24, 2022 · 0 comments
Open

.NET 6.0 Program.cs #149

alsmyth opened this issue Aug 24, 2022 · 0 comments

Comments

@alsmyth
Copy link

alsmyth commented Aug 24, 2022

Entering this issue with a resolution included to save anyone else time when adding this component to a .NET 6.0 with just Program.cs
(no Startup.cs),

I had trouble with the
builder.Services.AddBlazorDragDrop();

It turned out I had to simply had to add to Program.cs
using Plk.Blazor.DragDrop;

I spun my wheels a bit on this because I have other blazor component packages in my application without associated using statement - also in the demo project the Startup.cs it does not have using Plk.Blazor.DragDrop;

If someone wants to explain further - that'd be great.

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

1 participant