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>