My C# Framework 4.6.1 project references a Net DLL. (DLibDotNet.Native.DLL)
My project compiles fine. I clean the project, rebuild it, it still works fine.
Now when I remove reference to the DLL and add it anew, I get the error message
Couldn't add reference to DlibDotNetNative.dll. Make sure that the file is accessible and that it's a valid assembly or COM component.
Trying to use TlbImp.exe returns the following error:
"The input file is not a valid type library."
What might be the reason why it can't be referenced again once de-referenced?