build fails on markupcompilepass1

I just updated to 7.0.3 from 6 and added our latest project. It currently builds correctly on dev machines and on the teamcity server using visual studio (manually). However when the agent runs it fails with this error:


[08:35:08]
[MarkupCompilePass1] MarkupCompilePass1
[08:35:09][MarkupCompilePass1] C:\Projects\GridSmart-4-Stable\Aldis.GridSmart.Reports\Views\EditBinsView.xaml(34, 26): error MC3074: The tag 'RadButton' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 34 Position 26.
[08:35:09][MarkupCompilePass1] C:\Projects\GridSmart-4-Stable\Aldis.GridSmart.Reports\Views\GenerateReportsView.xaml(82, 14): error MC3074: The tag 'RadComboBox' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 82 Position 14.
[08:35:09][MarkupCompilePass1] C:\Projects\GridSmart-4-Stable\Aldis.GridSmart.Reports\Views\ImportCountsView.xaml(15, 18): error MC3074: The tag 'RadButton' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 15 Position 18.
[08:35:09][MarkupCompilePass1] C:\Projects\GridSmart-4-Stable\Aldis.GridSmart.Reports\Views\RawStatusView.xaml(12, 14): error MC3074: The tag 'RadButton' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 12 Position 14.


I'm not really sure how to fix this. It almost seems like it doesn't see the telerik libraries in the gac. And like I said I can launch VS2010 on the build server, open the project from the teamcity work location and compile it with no errors. Any ideas what might be wrong?


Robert
2 comments
Comment actions Permalink

Hi

Is your build agent installed on the same machine as TeamCity server? If they are on different machines then you'll need to troubleshoot this issue on the build agent machine, not on the server.

Check how Run platform (x86/x64) is configured in build configuration settings.

IS the issue reproduced if the build is started from command line by MSBuild, not by Visual Studio?

0
Comment actions Permalink

Is your build agent installed on the same machine as TeamCity server? If they are on different machines then you'll need to troubleshoot this issue on the build agent machine, not on the server.



Same machine.

Check how Run platform (x86/x64) is configured in build configuration settings.



This wasn't an option. I'm using the visual studio solution as the runner type.

IS the issue reproduced if the build is started from command line by MSBuild, not by Visual Studio?



No, command line, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe GridSmart4.sln /t:rebuilt /p:Configuration=Debug" built correctly.

Solution

Not sure why this was the case but I had to include /p:ReferencePath="C:\Program Files\Telerik\RadControls for WPF Q2 2012\Binaries\WPF40" before it would build correctly. I don't like this fix though as it will need to be changed each time telerik is updated. Based on the fact that it doesn't find the reference dlls I'm guessing that telerik either didn't install correctly or maybe I don't have a global setting set correctly. Any ideas?

Robert
0

Please sign in to leave a comment.