NU1202: Package NSG_DPI 1.0.32 is not compatible with net6.0-windows7.0 (.NETCoreApp,Version=v6.0). Package NSG_DPI 1.0.32 supports: net45 (.NETFramework,Version=v4.5)

I received a message on my project that it was using windows- legacy compatibility and that I needed to convert it to windows. Upon converting it to windows I am receiving the following error:

NU1202: Package NSG_DPI 1.0.32 is not compatible with net6.0-windows7.0 (.NETCoreApp,Version=v6.0). Package NSG_DPI 1.0.32 supports: net45 (.NETFramework,Version=v4.5)

What do I need to do to resolve this?

It seems that your custom nupkg package was not migrated to .Net6.0 Framework, or it was migrated, but you missed adding the actual path of your package source.

Try to follow this documentation Migrating Activities to .NET 6