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.
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
classes.
MNF
Member
261 Points
73 Posts
Re: Visual Studio 2005 Web Deployment Projects
Feb 09, 2006 06:40 AM|LINK
Scott,
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.
My Blog: http://geekswithblogs.net/mnf/
ScottGu
All-Star
18295 Points
2008 Posts
Microsoft
Moderator
Re: Visual Studio 2005 Web Deployment Projects
Feb 13, 2006 02:29 AM|LINK
Hi Michael,
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 classes.
Hope this helps,
Scott
MNF
Member
261 Points
73 Posts
Re: Visual Studio 2005 Web Deployment Projects
May 14, 2006 12:18 PM|LINK
My Blog: http://geekswithblogs.net/mnf/