We are currently running our builds through TFS. On our local machine, everything with the reports runs just fine, but when it runs through TFS, we end up getting some unusual errors and the build fails. I've copied the 4 required DLLs for web forms out to our additional references folder, which is all we've ever had to do in the past. Anyhow, the first time the build ran we got the following error:
I then decided to remove the "Imports Telerik.Reporting" from the top of my class file and fully qualify all of the references to Telerik.Reporting.Report and Telerik.Reporting.ReportParameterType. I now get the following error.
C:\BUILD\Build\LearnShare Team Project\FEATURE Build\Sources\LMSOBJECTS\LMSReport.vb(7): warning BC40056: Namespace or type specified in the Imports 'Telerik.Reporting' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. |
MSBUILD : warning : TF42097: A work item could not be created for build failure. The value for the following required fields is invalid or missing: Assigned To |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(7): error BC31072: Warning treated as error : Namespace or type specified in the Imports 'Telerik.Reporting' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(818): error BC30002: Type 'Telerik.Reporting.Report' is not defined. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(943): error BC30002: Type 'Telerik.Reporting.Report' is not defined. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1327): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1328): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1329): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1330): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1331): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1332): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1337): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1339): error BC30451: Name 'ReportParameterType' is not declared. |
C:\BUILD\Build\XXXX\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1347): error BC30451: Name 'Telerik' is not declared. |
I then decided to remove the "Imports Telerik.Reporting" from the top of my class file and fully qualify all of the references to Telerik.Reporting.Report and Telerik.Reporting.ReportParameterType. I now get the following error.
MSBUILD : warning : TF42097: A work item could not be created for build failure. The value for the following required fields is invalid or missing: Assigned To |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(817): error BC30002: Type 'Telerik.Reporting.Report' is not defined. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(942): error BC30002: Type 'Telerik.Reporting.Report' is not defined. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1326): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1327): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1328): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1329): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1330): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1331): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1336): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1338): error BC30451: Name 'Telerik' is not declared. |
C:\BUILD\Build\XXXX Team Project\FEATURE Build\Sources\xxOBJECTS\xxReport.vb(1346): error BC30451: Name 'Telerik' is not declared. |