Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I installed uSync, uSync.Snapshots, and uSync.ContentEdition via nuget. It runs fine locally, but when I deploy it and go to the tabs, I get the following 404 errors:
/umbraco/backoffice/uSync/SnapshotService/GetSnapshotSettings (404 Not Found)
/umbraco/backoffice/uSync/SnapshotService/GetSnapshots (404 Not Found)
Am I missing something? I also saw files in the bin folder related to uSync, but I thought if I install via nuget I don't need to include those?
You've not said how you're deploying. If you've got a deployment server that is pulling in dlls from nuget then great. If however you're not commiting your dlls (as you shouldn't) in to git and deploying without a deployment server connected to nuget then you'll be missing the dlls.
I will find out for sure, but out of curiousity, what if it is a package that is not installed via nuget. Would I need to include that dll in the bin folder?
If it's not in the global assembly cache (e.g. System.*) then you would need it checked in one way or another. It might be that it would be checked in to a Lib folder an referenced in your csproj file, if you're using a build server, or if you're just FTPing then you probably would need it in your bin folder already.
I created a lib folder in the solution and put the usync dlls from the bin in there. Then I added that lib folder to the references path in the project properties, but I am still getting the same error with the snapshots.
It does look like when I watch the CI process that it does restore the packages from nuget, so I am still unclear.
Do you recommend putting it in lib instead of bin? Is it not good to reference the bin folder from csproj?
I prefer using a lib folder as it makes it easier to review external dependencies. It's a common convention but I wouldn't get too hung up on it. Stick it in the bin folder if it makes your life easier.
Can you look on the deployed site to see if the bin made it on to there?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted