You are viewing limited content. For full access, please sign in.

Question

Question

Best practise to referencing Laserfiche.RepositoryAccess.dll

asked on January 8, 2018 Show version history

I'm having some difficulty trying to find best practises for referencing the laserfiche.RepositoryAccess.dll.

I was including the dll in my project directly but i have read that is frowned upon so i was curious what is the best practise for referencing any Laserfiche DLL?

  • Should i reference directly from  Program Files/Laserfiche/SDK X.X/bin/.... 
  • Should i reference directly from the GAC?
  • I noticed there was a Nuget package for version 10.0 but i couldn't find anything for previous versions.

 

Thanks in advance!

Adam

0 0

Replies

replied on January 9, 2018

Where you reference it from doesn't make much difference.  The project references are primarily for compilation, so that the compiler can check that you are using the types correctly.  What is more important is how you deploy it with your application.  For this, there are best practices.  You don't want to include the RA dll directly, you want to include the msm, or run the redistributable installer separately.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.