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

Cannot compile Q1 2010 in Release

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bob van der Zinch
Top achievements
Rank 2
Bob van der Zinch asked on 01 Apr 2010, 12:38 PM
Hi,

I have downloaded RadControls_for_ASP.NET_AJAX_2010_1_309_Source.zip and tried to compile it under Debug and Release-NET35 configs. Under debug it goes fine, but under Release I've got the following error message:

------ Build started: Project: Telerik.Web.UI, Configuration: Release-NET35 Any CPU ------
Combining and compressing JavaScript files...
Combining JavaScript Documentation files...
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018: The "MergeFiles" task failed unexpectedly.
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018: System.IO.FileNotFoundException: Could not find file 'D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Rating\RadRating–vsdoc.js'.
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018: File name: 'D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Rating\RadRating–vsdoc.js'
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018:    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018:    at System.IO.File.ReadAllBytes(String path)
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018:    at Telerik.MSBuildTasks.MergeFiles.Execute()
D:\Dev\Sources\3rdParty\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.UI.csproj(7212,5): error MSB4018:    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)
Done building project "Telerik.Web.UI.csproj" -- FAILED.

There's no RadRating–vsdoc.js file, however it's included in project.

In fact, filename looked pretty strange in zip achive (see attached file).

Only after I copied filename from Output and renamed it on disk, the compilation succeded. Looks like there's a problem with filename in project and zip archive.

1 Answer, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 01 Apr 2010, 05:36 PM
Hi Bob,

Indeed, I can confirm that there's a problem with this file name - the dash is an unicode character instead of a plain dash. We've fixed this and the starting from the service pack release the project should build fine.

Apologies for the caused inconvenience.

Best wishes,
Tsvetomir Tsonev
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
Bob van der Zinch
Top achievements
Rank 2
Answers by
T. Tsonev
Telerik team
Share this question
or