Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Josip 195 posts 662 karma points c-trib
    Sep 02, 2019 @ 19:02
    Josip
    0

    Usync deployment files

    Is it necessary to include Usync .dll files when I am deploying my website or they should be excluded?

    Also i should I in generaly deploy any .dll?

    Thanks

    Josip

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Sep 02, 2019 @ 20:21
    Alex Skrypnyk
    1

    Hi Josip

    If you need to run any uSync feature on environment you deploying to, then you need to deploy dlls.

    Thanks,

    Alex

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Sep 03, 2019 @ 08:15
    Kevin Jump
    101

    Hi Josip,

    yeah as Alex says you need to deploy the DLL's

    How you do this depends a bit on what you are using to deploy your site.

    if you are copying things then copy the bin folder, but if you are using a deployment tool (or publish from Visual Studio) Then they will probably build your site in some way and then deploy it to the server.

    In those cases the best thing to do is use NuGet to install as much as possible, if you use NuGet then the visual studio project for your website will include the file required, and when you build/publish the site this will include all the DLLs of anything installed via NuGet.

    if you are installing packages via the Umbraco back-office, then you have to keep an eye on what Dlls a package puts into the Bin folder and remember to copy them over, this is a little harder and takes more investigation everytime you add something.

    Kevin

  • Josip 195 posts 662 karma points c-trib
    Sep 03, 2019 @ 09:27
    Josip
    1

    Thank you guys for your reply,

    I read somewhere that I need to deploy .dll's but I didnt and uSync worked anyway, so i was thinking, maybe it works but it will break in some cases if i dont deploy dll's, now its all clear to me how it works.

    I install all packages with nuget (if posible) and deploy with VSTS, so that's why everything worked.

    BR

    Josip

Please Sign in or register to post replies

Write your reply to:

Draft