Skip to content

.NET 6.0 Program.cs #149

@alsmyth

Description

@alsmyth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions