Cannot find wrapper assembly for type library "ADODB". in VS2017 Delete Microsoft ActiveX Data Objects {version} Library and then add it back. After resolving the problem, in csproj file, primary becomes tlbimp