Skip to content

Commit

Permalink
Updated description for 2016.
Browse files Browse the repository at this point in the history
  • Loading branch information
glapointe authored Jun 17, 2016
1 parent 2a1f5b3 commit 52749ac
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PowerShell-SPCmdlets
SharePoint 2010 and SharePoint 2013 custom PowerShell cmdlets.
SharePoint 2010, SharePoint 2013, and SharePoint 2016 custom PowerShell cmdlets.

# Referenced Assemblies
See [How to Build Office Developer Tools Projects with TFS Team Build 2012](https://msdn.microsoft.com/en-us/library/ff622991.aspx) for information related to using global assembly paths for project builds (Thanks to [@softwarecraft](https://github.com/softwarecraft) for the suggestion and link). If you build from a machine without SharePoint installed then you'll also need to make sure the correct version of the Microsoft.SharePoint.PowerShell assembly and any dependent assemblies are loaded into memory if you want the help files to get generated (I recommend just using a machine with SharePoint installed on it).
Expand All @@ -20,12 +20,9 @@ The SharePoint 2010 project requires access to the SharePoint 2010 (14.0.0.0) ve
* Microsoft.SharePoint.Search.dll
* Microsoft.SharePoint.Security.dll
* Microsoft.SharePoint.Taxonomy.dll

If building from a SharePoint 2013 machine then you should copy the SharePoint 2010 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2010]@="<AssemblyFolderLocation>"
## SharePoint 2013 Referenced Assemblies
The SharePoint 2013 project requires access to the SharePoint 2013 (15.0.0.0) version of the following assemblies:

## SharePoint 2013 and 2016 Referenced Assemblies
The SharePoint 2013 (15.0.0.0) and SharePoint 2016 (16.0.0.0) project requires access to the respective versions of the following assemblies:
* Microsoft.BusinessData.dll
* Microsoft.Office.Policy.dll
* Microsoft.Office.Server.dll
Expand All @@ -41,7 +38,22 @@ The SharePoint 2013 project requires access to the SharePoint 2013 (15.0.0.0) ve
* Microsoft.SharePoint.Security.dll
* Microsoft.SharePoint.Taxonomy.dll
* Microsoft.Sharepoint.WorkflowActions.dll

If building from a SharePoint 2010 machine then you should copy the SharePoint 2013 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.5\AssemblyFoldersEx\SharePoint 2013]@="<AssemblyFolderLocation>"

## Assembly References
If building from a SharePoint 2010 machine then you should copy the SharePoint 2016 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\\.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2016]@="\<AssemblyFolderLocation\>"
Do the same with the SharePoint 2013 assemblies:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\\.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2013]@="\<AssemblyFolderLocation\>"
If building from a SharePoint 2013 machine then you should copy the SharePoint 2016 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\\.NETFramework\v4.5\AssemblyFoldersEx\SharePoint 2016]@="\<AssemblyFolderLocation\>"
Do the same with the SharePoint 2010 assemblies:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\\.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2010]@="\<AssemblyFolderLocation\>"
If building from a SharePoint 2016 machine then you should copy the SharePoint 2013 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\\.NETFramework\v4.5\AssemblyFoldersEx\SharePoint 2013]@="\<AssemblyFolderLocation\>"
Do the same with the SharePoint 2010 assemblies:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\\.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2010]@="\<AssemblyFolderLocation\>"

0 comments on commit 52749ac

Please sign in to comment.