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

VS 2005 WebDeveloperDeployment Project

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dnieto
Top achievements
Rank 1
dnieto asked on 02 May 2011, 11:49 PM
Hello 

I worked with rad controls in past and now in my new enterprise i founded them again. The situation is that we have a version of Telerik Controls for framework 2.0, and we have an asp.net web proyect using them. Now we wanto to create a VS 2005 webdeployment proyect for the site, but when i Tried to create it, the Site shows an error. 

We got the site, and we had to add a folder Called RadControls where are a lot of pages with code that where used to use the controls in the web site. 

The error that the application throws is 

"aspnet_merge.exe" exited with code 1

and the detail of the error was the next one:

An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'ASP.TableBorderControl' found in assembly 'App_Web_zadhxhui'.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.targets(574,9): error MSB6006: "aspnet_merge.exe" exited with code 1.
  Done executing task "AspNetMerge" -- FAILED.
Done building target "AspNetMerge" in project "WebSisSemana_deploy.wdproj" -- FAILED.

What can i do to solve this problem?

Thank you

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 06 May 2011, 12:20 PM
Hi dnieto,

It looks like this is issue is related to Web Setup projects as a whole. The problem is caused by having multiple classes with the same name, without namespaces.

That can happen when you are not using namespaces in web site projects rather than web applications. You should be able to easily overcome the issues by finding the TableBorderControl classes in your projects and putting them in namespaces or renaming them.

Best wishes,
Andrey
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
dnieto
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or