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

后端 未结 4 1793
没有蜡笔的小新
没有蜡笔的小新 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-18 23:50

    Check your references if you have two versions of the same reference (eg. Microsoft.ReportViewer.Webforms version 10.0.0.0 and Microsoft.ReportViewer.Webforms 8.0.0.0) You will get this error. Delete the oldest and you should be good. I do this to myself all of the time.

提交回复
热议问题