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
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.
Question by:dba123
    LVL 21

    Expert Comment

    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
    LVL 20

    Accepted Solution

    LVL 1

    Author Comment

    how do you search assembly you mean two assemblyinfo.cs ?
    LVL 21

    Expert Comment

    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


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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Article by: Ivo
    Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
    Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now