Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 14, 2006 12:18 PM by MNF
Feb 09, 2006 06:40 AM|LINK
The error I have is the same that richbaker reported on 11-28-2005:
An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'DotNetNuke.UI.Skins.Controls.SolPartMenu' found in assembly 'App_Web_k5hhsnh0'.
C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.targets(474,9): error MSB6006: "aspnet_merge.exe" exited with code 1.
Done executing task "AspNetMerge" -- FAILED.
There is also another thread about the same issue.
Feb 13, 2006 02:29 AM|LINK
Unfortunately I think the above error is because DotNetNuke defines that class in two places. I've seen someone else have this same problem before. It only hits when you merge things into a single assembly -- which is why most people using the default
(non-single assembly) build option don't run into it.
You might try building a separate assembly for each directory (one of the other build options that VS 2005 Web Deployment Projects provide). Alternatively, you should search for that class name within the DNN project and eliminate/rename one of the duplicate
Hope this helps,
May 14, 2006 12:18 PM|LINK