Open dlucik opened 3 years ago
I have not yet ported this to NET 5. It is not using registry free COM, but RegAsm should not be called. RegSvr32 is used for NET Core and .NET 5. I believe the issue is targets file which is missing the case for net5 and fallback on NetFramework while should fallback on NetCore.
As a quick workaround, you can disable the automatic registration with
I figure out how to manually registry COM .dll
dotnet build
dotnet publish -r win-x64 -c Debug
regsvr32.exe .\bin\Debug\net5.0-windows\solid.abastran.tools.comhost.dll
dotnet.exe build:
my .csproj