Need Help Managing References in Visual Studio 2008

Last post 05-11-2008 8:44 AM by stuengelman@comcast.net. 2 replies.

Sort Posts:

  • Need Help Managing References in Visual Studio 2008

    05-10-2008, 12:37 PM

    Hello,

    I just upgraded from VS.NET 2003 to VS 2008.  I am having trouble managing references in web projects.

    With regard to class libraries, a button is provided to show all files, which causes a navigation tree for references to be displayed.  From here I can set properties of references, such as Copy Local, etc.

    Web projects do not provide the Show All Files button, and no navigation tree for references is displayed.  After converting my VS.NET 2003 solution to VS 2008, one of my web projects in the solution has references to two compiled .NET class libraries (.NET DLL's) that are "copy local" and need to be updated to newer versions.  I would like to know how to:

    (1) Delete the two DLL references from my web project

    (2) Add the new versions of the DLL's to the project (I tried adding them via the Property Pages dialog, but for some reason after clicking the OK button they did not appear in the reference list box).

    (3) Set both DLL's to Copy Local.

    Thank you, Stu Engelman

  • Re: Need Help Managing References in Visual Studio 2008

    05-10-2008, 4:39 PM
    • Loading...
    • jamesqua
    • Joined on 08-03-2004, 2:55 PM
    • Columbus, OH
    • Posts 1,111
    Check the web.config under the assemblies section.  Also, you should be able to simply right click on the project and select "add reference" to add new references to the project.
  • Re: Need Help Managing References in Visual Studio 2008

    05-11-2008, 8:44 AM

    Hi, 

    I checked my web.config file, and it does not have an assemblies section.

    I tried earlier to add my references using using the Add Reference command.  Oddly, it wouldn't let me.  I found the two .NET assemblies I wanted to add on my hard drive, and pressed the OK button.  But VS did not list them in the listbox of project references.  In other words, no error dialog was popped, but VS did not actually perform the operation requested.

    Also, I need to first delete the references to the two .NET assemblies already there, if in fact VS ported them into the project when I converted it from VS 2003 format.  Since adding the references within 2003, I upgraded to newer versions of the external assemblies.  Thus, I need to know whether or not they are still there (in the converted 2008 project), and if so, delete them before adding the new ones back in.  I can't figure out how to do any of this in 2008.

    Stu

Page 1 of 1 (3 items)