c# - Referencing DLL's among different environments -


i trying create powershell cmdlets can placed on few different environments. these environments have various versions of sharepoint installed , location of microsoft.sharepoint dll file changes depending on version installed.

within cmdlets looking use sharepoint objects e.g. spfarm.buildversion; can tailor rest of cmdlet.

my problem dont't know how reference dll when location can change between environments, , need add using statement in code access sp objects.

i hope makes sense....any ideas?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - WPF+EF - The operation cannot be completed because the DbContext has been disposed -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -