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

Missing embedded resource when compiling with NAnt

1 Answer 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rainer Floruss
Top achievements
Rank 1
Rainer Floruss asked on 25 Mar 2010, 11:37 AM
Hi,

We have made some Changes to our Teleric-Controls and have compiled the new DLLs using Nant.
The Build was sucessfull and some Controls are working quite fine (ec. the RadDatePicker). But when opening a Page with the RadEditor, we get the following error:

Assembly 'Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=29ac1a93ec063d92' contains a Web resource with name 'Telerik.Web.UI.Editor.RadEditor.js', but does not contain an embedded resource with name 'Telerik.Web.UI.Editor.RadEditor.js'.


We didn't make any changes to the RadEditor-Control and the .js-File exists in our Sourcecode-folder.
Are there any additional parameters or changes in the configfiles nessessery when using Nant?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 26 Mar 2010, 02:50 PM
Hello,

If you are using a recent release (Q3 2009 or later) then please follow the new instructions that are available in the source code package. You should either use VS 2008 or MSBuild to build the Telerik.Web.UI assembly.

If you are using an older release (Q2 2009 or older) then the problem probably happens because some of the Nant scripts ( in Build\ControlSpecific\Merge*Scripts.build) are not running correctly. These scripts are responsible for combining the RadEditor.js file so it can be used when building the assembly. Please check the Instructions document on how to build a release version of the assembly.

All the best,
Lini
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Rainer Floruss
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or