Assembly Reference from network share? RRS feed

  • Question

  • What is the best practice for storing compiled assemblies for use in other solutions?  If I make an assembly of Widget Helpers, build the assembly, add the source to source server, where do people usually stick the finished dll's and debug information?  I want make sure that if I make changes in the future, when I rebuild a project that references the Widget Helpers, the reference will be automatically updated using the .refresh files. 


    I’m thinking about a post build event when building in release mode that will copy the output of the project to a network share.  Is this typically how this is done?




    Monday, December 15, 2008 5:08 PM


  • On your dev machine, you'd add a reference to the assembly and use Copy Local = True so you can debug your code.  On the target machine, you'd install the assembly in the GAC so multiple programs can use it and are protected from versioning issues.
    Hans Passant.
    • Marked as answer by Zhi-Xin Ye Monday, December 22, 2008 1:53 PM
    Tuesday, December 16, 2008 12:58 PM