none
Installing a custom .dll (I appollogize in advance if this is the wrong forum) RRS feed

  • Question

  • I have written several PowerShell cmdlets all contained in one .dll. After making updates to the .dll is it necessary to uninstall/reinstall the .dll using the installutil program or is it acceptable to just copy the new .dll over the originally installed one?
    Friday, October 31, 2014 2:28 PM

Answers

  • If you didn't change anything that is publicly visible in PS (like adding a new type, changing a signature of public member, etc) then you don't need to reinstall.  A simple xcopy is fine. 

    Michael Taylor
    http://blogs.msmvps.com/p3net

    • Marked as answer by FreeBird_1963 Saturday, November 1, 2014 10:30 AM
    Friday, October 31, 2014 5:33 PM
    Moderator