问题
We have a .net core web project based on version dnx 1.0.0-beta8. I am trying to reference a COM dll which I have to register on the computer through regsvr32. Does .net core projects allow to reference com dlls.
回答1:
To the best of my knowledge all currently released versions of .NET Core (1.1 and below) and .Net Standard (1.6 and below) do not have a way to add Com refrences due to the fact that .NET Core is designed to be multi-platform and COM is a windows specific feature.
I do not know if 2.0 will bring this feature in or not.
来源:https://stackoverflow.com/questions/43731389/how-can-i-add-a-com-dll-reference-in-my-net-core-project-based-on-beta8