Dependency walker doesn't see Visual C++ dependency on C# DLL

589 Views Asked by At

I'm afraid Dependency Walker doesn't support this, but I need to make sure I'm not missing something.

I have a Visual C++ application that depends on a number of DLLs. One of which, is a DLL written as a C# project (CLR support is therefore turned on). In the .vcxproj configuration file, I can see additional dependencies like so...

<AdditionalDependencies>comprisinterface.lib;wsock32.lib;mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>

The C# project is called XLibrary.dll -- clearly it is not in that list. That's because it has been included in the following tag...

<ItemGroup>
  <Reference Include="System" />
  <Reference Include="System.Messaging" />
  <Reference Include="XLibrary">
    <HintPath>..\..\..\..\XLibrary.dll</HintPath>
  </Reference>
</ItemGroup>

When I run Dependency Walker, I can see all those DLLs inside the <AdditionalDependencies> tag, but I cannot see XLibrary.dll

Does Dependency Walker lack CLR support?

0

There are 0 best solutions below