winmd cannot found when change configuration profile in UWP

55 Views Asked by At

I have a library in .winmd format and it works very well in Debug profile but when I create a new profile (copy from Debug), it throws an exception that the module cannot found. Did anyone get the same problem like me? When I changed to Debug again. It still works fine.

UPDATE

<ItemGroup>
    <Reference Include="TreeViewControl">
      <HintPath>..\..\..\lib\TreeViewControl\TreeViewControl.winmd</HintPath>
    </Reference>
  </ItemGroup>
0

There are 0 best solutions below