PDA

View Full Version : How to add reference of a dependent dll in VS.NET 2005


rajan
07-19-2007, 02:30 AM
Hi,

We have two VS.NET projects, one is "Class Library" and output dll is referenced in another web application project. The reason we referenced the dll instead of project is, the dll compilation is not needed for all the build. Now if we compiled the dll project, how do we add reference to the web application project using this tool? We have set the "AutoUpdate" in the webapplication project for the references; but not sure when do the build it will add the latest assembly. Please confirm.

Regards,

Rajan R.G

kinook
07-19-2007, 07:00 AM
The Make VS.NET action doesn't update/add references itself. This would depend on VS build functionality (what the Make VS.NET action invokes to actually build a project/solution).

rajan
07-19-2007, 08:17 AM
We are using MSBuild to build the web application project and how to use your tool to add the reference in the project?

Thanks!

Rajan R.G

kinook
07-19-2007, 08:26 AM
Again, there's nothing built into VBP to add a reference when building a VS 2005 project/solution. You would need to check with MS to see if there's an automated way to add one. You may need to use a project reference rather than a DLL reference.