This is a migrated thread and some comments may be shown as answers.

2009Q1 Telerik's Nant Source Code Build is Failing - Net20

2 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 17 Mar 2009, 04:26 PM
I am having problems building the source using the provided Nant build project.  We need to build our source because we need to modify the AssemblyProtection.cs.  Is anyone else having this issue?

To Reproduce:
I pulled down the source for 2009Q1 and made our changes to the AssemblyProtection.cs as specified by Telerik.  I can compile the projects in a sperate solution, but when I use the provided ["c:\nant\bin\nant" net20] per the Telerik Source Code Build Instructions document I get a build error.
 ...
mergeChartingAndWebUI:
[move] 1 files moved.
[delete] Deleting 1 files.
buildDesigner:
buildProject:

BUILD FAILED

C:\RadControlsAjaxSource\Build\default.build(123,3):
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe (return code was 1)

Total time: 240.8 seconds.



From what I can tell by looking at the build files, the Designer project is failing to build because it is referencing a Telerik.Web.UI in the C:\RadControlsAjaxSource\Telerik.Web.UI\bin.  The bother is that the provided Nant build removes this dll as it works its magic of merging dlls.  After removing this dll, it builds this project that was planning on using what was just deleted.

Thanks for any suggestions, I'll continue to trace through this Nant Build to see if I can get a handle on what is really going on.

Thanks
Tim T.

2 Answers, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 17 Mar 2009, 07:47 PM
We were able to duplicate this issue on another environment.  Note, the Net35 is working - but the Net20 fails when trying to build the designer.
0
Atanas Korchev
Telerik team
answered on 18 Mar 2009, 10:04 AM
Hello Tim,

You are absolutely correct. The build order of the projects was not right. Please find attached the updated "default.build" file. To use it simply copy the attached file in the RadControlsAjaxSource\Build folder.
I have updated your telerik points for this bug report.

Kind regards,
Albert
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Jeff
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or