Posts
834
Comments
697
Trackbacks
1
<< Why Raid 1+0 is better than Raid 0+1 | Home | T-SQL: finding a table >>
Duplicate 'ComVisible' Attribute

This will happen within Visual Studio with Web Application Projects (the new project type from Microsoft.....  ) 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
Comments
No comments posted yet.

Post Comment

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