Adding assembly files to a VS 2005 project

I'm working on a Visual Studio 2005 solution, using Visual Source Safe 2005 for source control. I included some third party assemblies to some of my projects, as it is recommended on the Team Development Guide. It says it is the correct way of adding this kind of files. Everything is OK with Source Safe, but, when I try to build my project I get this error:

Assembly '<assembly>' is incorrectly specified as a file

...where <assembly> is the name of the third party assembly. Then I went to MSDN2 and found that  MSBuild doesn't allow to add assemblies as files to the project.

So now I'm confused. How should I include this third party assemblies Which is the guidance here

Thanks a lot for your help.


Answer this question

Adding assembly files to a VS 2005 project

  • Interact

    Click on your file on solution explorer and see if Building Action property is set to Content. That's the way to do it on VS2003, don't tried on VS2005 yet, but should work.

    Best regards.

    Fernando Cardoso

  • Adding assembly files to a VS 2005 project