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

bash - How do you programmatically add a bats test? -

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

java - Getting exception in JDBC thin driver -