문제

I know this is a very basic question - but I did not face this issue till now - so am asking for help.

I have two dll files, with the same name (example.dll), but fortunately with diff version numbers 1.0.3180.20767 and 1.0.2490.20011. I want to use both these dll in the same project.

How do I use them? - Simply clicking "Add reference" fails with the following messageenter image description here

I can rename the files so that they are now called "example1.dll" and "example2.dll" - but is that ok? is there a better way to do this.

Thanks all for your help!

도움이 되었습니까?

해결책

I think that after adding the first assembly, go to properties of that reference and assign an alias to it. Then it should be possible to add the second one as well.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top