Adding Dll's into the C++ visual studio code.

Hello,

I am new to unreal engine and i have code which works in a .NET framework application. This code uses a Dll which i have added in through the references section in visual studio.

I wanted to replicate what i have done in the .NET framework application in my unreal engine C++ class code. However, i cant add the reference as normal as there is no browse button when i go to add the reference once i have changed the configuration type to application. Could somebody please explain why this is or how i can fix this to use my Dll in the unreal engine C++ class code?
i have also changed the runtime language to /clr.
Thanks.

The runtime for an Unreal C++ plugin cannot be managed, it must be a native plugin.
This plugin can, in turn, create an assembly environment where to load the DLL, using the CLR hosting API.
(You may also be able to load it as a COM interface, if it’s properly exposed and registered.)
Thus, you will need at least two projects: One native project that’s the Unreal C++ plugin, and one managed project that’s your managed code, and the unmanaged project must manually load the managed code. (At least, I’ve never found a good way to do that automatically)