?
Solved

The item "Properties\AssemblyInfo.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter

Posted on 2007-10-19
4
Medium Priority
?
1,381 Views
Last Modified: 2012-06-22
Ok, for the project I'm trying to compile I get this below.  I've looked at AssemblyInfo.cs in the Properties folder in my project in Solution Explorer but nothing is standing out to me.  Where's this duplicate entry then?  I checked the web.config, nothing there although I don't know if that even is something I should be checking for this error.

The item "Properties\AssemblyInfo.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter.

I wasn't the one who created this new project so not sure where this error is talking about...other than AssemblyInfo.cs.  It gives no lines, only tells you what project.
0
Comment
Question by:dba123
  • 2
4 Comments
 
LVL 21

Expert Comment

by:surajguptha
ID: 20110462
It may be because there might have been two asembly info files in the project or two classes. try to do a search on assembly information in the project.

Also try excluding the current assmelby info and compiling the project to see what happens
0
 
LVL 20

Accepted Solution

by:
REA_ANDREW earned 1000 total points
ID: 20110464
0
 
LVL 1

Author Comment

by:dba123
ID: 20110747
how do you search assembly information....do you mean two assemblyinfo.cs ?
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20110763
well in the CSPROJ file of your project there might have been two entries to assembly info file. You can try openning it and deleting that entry

or

You can try excluding the file from your project and compiling it and then adding it .
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question