I'm using ReportExecution proxy class in my program. When I try to compile it, I get 58 ambiguity errors in generated file. This is the sample error output:
Error 1 The namespace '<global namespace>' already contains a definition for 'LogonUserCompletedEventHandler'
Error 2 The namespace '<global namespace>' already contains a definition for 'LogoffCompletedEventHandler'
Error 4 Ambiguity between 'ServerInfoHeader.reportServerVersionNumberField' and 'ServerInfoHeader.reportServerVersionNumberField'
Error 5 Ambiguity between 'ServerInfoHeader.reportServerEditionField' and 'ServerInfoHeader.reportServerEditionField'
Error 6 Ambiguity between 'ServerInfoHeader.reportServerEditionField' and 'ServerInfoHeader.reportServerEditionField'
Should I change automatically generated file to fix that? Or maybe the error is somewhere else?
Thanks in advance.
EDIT: I have dealt with most of the ambiguity errors, they were because I unnecessarily added web references instead of only using the proxy classes. Now, however, I still get 2 errors:
Error 1 The namespace '<global namespace>' already contains a definition for 'LogonUserCompletedEventHandler'
Error 2 The namespace '<global namespace>' already contains a definition for 'LogoffCompletedEventHandler'