Posts
1150
Comments
891
Trackbacks
1
Duplicate 'ComVisible' Attribute

This will happen within Visual Studio with Web Application Projects (the new project type from Microsoft..... http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx ) if you have nested web sites (e.g. you have a top-level site that has one or more child sites).  What happens is the project for the top-level site sees multiple assemblyinfo.cs files (its own and the child sites') when it tries to build, and so fails.

Simply set the build action for the child sites' assemblyinfo.cs files to “None” (within properties), and all will be fine.  This is a project level setting, so the project for the child site will compile the asssemblyinfo.cs file normally.

posted on Thursday, August 03, 2006 7:05 PM Print
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 1 and 6 and type the answer here: