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
Post a Comment