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

Manually Building DLLs

3 Answers 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kpatel
Top achievements
Rank 1
kpatel asked on 23 Apr 2008, 10:18 PM
Hi -

I'm trying to Build the new RadControls for ASP.NET AJAX manually using the source provided in the RadControls_for_ASP.NET_AJAX_2008_1_415_Source.zip file.

I've followed the instructions for building the DLLs using Nant, which completed successfully, but when I replace the prebuilt Telerik.Web.UI.dll with the one I build, i get the following error...
----------------

Assembly 'Telerik.Web.UI, Version=2008.1.415.0, Culture=neutral, PublicKeyToken=29ac1a93ec063d92' contains a Web resource with name 'Telerik.Web.UI.Common.Scrolling.ScrollingScripts.js', but does not contain an embedded resource with name 'Telerik.Web.UI.Common.Scrolling.ScrollingScripts.js'.

-------------------
Also, it seems like the DLL I generate is only 10MB while the pre-built one was 11.8MB

What am i missing?

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Apr 2008, 08:13 AM
Hello kpatel,

I couldn't reproduce the problem on our side. The size of the built assembly was 11.8 MB as in the release build. Could you please try extracting the zip and rebuilding again? If this does not help I would ask you to open a support ticket and send us both your source distribution zip and the compiled dll. Thanks.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kpatel
Top achievements
Rank 1
answered on 24 Apr 2008, 01:48 PM
Looks like it might have been a Vista problem... I was orginally building the project on a Windows Vista machine, but I copied the same source over to a Windows 2003 machine and the build generated a working 11.8MB DLL.

My Vista box has the correct .NET Framework and ASP.NET Ajax versions installed and the NANT build runs without error, so I can't figure why it would generate a different DLL...

Anyway, it works on the Win2k3 box so that's good enough for me.

Thanks!
0
Richardsonke
Top achievements
Rank 1
answered on 23 Jul 2008, 04:03 PM
For anyone else who runs into this issue, I had the same problem.  I finally figured out that it was because I was accidentally building in release mode.  So, if you get this error, make sure you're building in debug mode.

-Keith
Tags
General Discussions
Asked by
kpatel
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
kpatel
Top achievements
Rank 1
Richardsonke
Top achievements
Rank 1
Share this question
or