Setting LocalCopy=True of a Reference???

Last post 03-09-2009 6:08 AM by phiphy. 8 replies.

Sort Posts:

  • Setting LocalCopy=True of a Reference???

    03-09-2009, 3:42 AM
    • Member
      43 point Member
    • phiphy
    • Member since 09-01-2008, 3:52 AM
    • Posts 100
    I'm having problems setting Local Copy of a Reference to True. I'm using VS 2008, .net 3.5 and cannot figure out how to set this prop. to true. Help, please!
  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 4:08 AM
    • Participant
      837 point Participant
    • IsToFix
    • Member since 01-03-2008, 9:58 AM
    • Jerusalem
    • Posts 133

    Simply expand the references node in your solution and selected the reference you want and by the right click choose properties and the choose the Copy Local property set it to true from the drop down list.

    Mark "answer" if my post helped you find the answer.
    "And say: My Lord increase me in knowledge."

    B/R
    Huthaifa Afanah
  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 4:16 AM
    • Member
      43 point Member
    • phiphy
    • Member since 09-01-2008, 3:52 AM
    • Posts 100
    Thanx for your interest and a quick response. I'm building a Web application...I don't see a References node?! I have a Bin folder with all the references. Right clicking on a reference gives me a menu but with no Property row?!
  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 4:28 AM
    • Member
      43 point Member
    • phiphy
    • Member since 09-01-2008, 3:52 AM
    • Posts 100

     My problem is that I do not have a solution. When I created a new Web Project with a Solution, I was able to find the References folder and the property Local Copy. What are my options with this project with no solution? Is it possible to set a Local Copy of the reference? Can I add my project to the solution?

  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 4:45 AM
    • Participant
      837 point Participant
    • IsToFix
    • Member since 01-03-2008, 9:58 AM
    • Jerusalem
    • Posts 133

    You are missing something ... the refernces are related to the project itself and not the solution. The refences node will not being shown by default you need to click on the "Show All Files" button on the solution explorer pane. After that the refences node will be shown.

    Mark "answer" if my post helped you find the answer.
    "And say: My Lord increase me in knowledge."

    B/R
    Huthaifa Afanah
  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 5:05 AM
    • Member
      43 point Member
    • phiphy
    • Member since 09-01-2008, 3:52 AM
    • Posts 100

     Mmmm, I don't see a Show All Files button?!

  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 5:18 AM
    • Member
      43 point Member
    • phiphy
    • Member since 09-01-2008, 3:52 AM
    • Posts 100

     If you try to create a New Web Site..., you'll see that when you add a Reference, it gets added to a Bin folder, and no Show All Files is visible, at least on my comp.

  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 5:32 AM
    • Member
      308 point Member
    • nideeshm
    • Member since 06-29-2008, 11:03 AM
    • Trivandrum
    • Posts 95

    website or  a web project is different from web application. Show all files, copy local to true these option are not there in web site. When you add a reference to your project. The dll will be automatically copied to your physicall directory. It implies it is working as if you have set copy local = true in a web application. It also implies that your project is a stand alone, if something is changed outside your project say a function in your referred dll is taking more input parameters, your project will not be affected. Suppose if the referring dll is changed and you want the new version.You can expand the bin then your dll. there is one more file called refresh you can make use of it.

     There is service pack in 2005 if you install it you will be able to create web apps. Web apps have lots of options, it will automatically create the virtual directory in IIS.these things are not in website

    Thanks,
    Nideesh.S

    Mark as answer, If it helps you.
  • Re: Setting LocalCopy=True of a Reference???

    03-09-2009, 6:08 AM
    • Member
      43 point Member
    • phiphy
    • Member since 09-01-2008, 3:52 AM
    • Posts 100

     Thank you very much for the explanation. I'm pretty new to this so Web App, Web project, Web site, it all sounds the same to me :) . I'll try to copy the needed dlls in the bin and deploy the site like that and see if that resolves my problem.

Page 1 of 1 (9 items)