In CLR mode if the dll exports some template classes then module that imports them can not be linked.