vb.net compile error 'abc' is ambiguous in the namespace 'xyz'

后端 未结 4 1821
没有蜡笔的小新
没有蜡笔的小新 2021-01-18 23:28

I have a VB.Net solution that another developer created and I\'m trying to compile it on our build machine (it compiles on their machine) but with one of the projects I get

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-19 00:00

    Thanks for the responses! I tried each but still was having issues.

    One point of info I left out of the original question was that the VB.net projects are upgrades from VB6 projects. At the time I did not think that was relevant.

    After investigating further the build machine was used to build the VB6 projects also. So I ran 'reg32 /u' on the vb6 dlls and that seemed to fix the VB.net issue.

    Not exactly sure why this fixed it since I was not referencing the VB6 dlls, I'm guessing something to do with ambiguous entries in the registry confusing the vb.net project.

提交回复
热议问题