Forum Discussion
Nigel Price
Mar 12, 2017Iron Contributor
Are We moving from dll hell to Nuget Package Hell ?
I am trying to compile SharePointPnP.Powershell and I am getting this message :- Error CS1705 Assembly 'Microsoft.SharePoint.Client' with identity 'Microsoft.SharePoint.Client, Version=16.1.0.0...
Mar 13, 2017
In this case we don't use nuget packages for the CSOM sdk. We refer to them from the PnP Sites Core repository, which is the reason we require a clone of that repository too on your machine. Did you update that repo too before you tried to compile the PowerShell project?
Nigel_Price9911
Mar 13, 2017Iron Contributor
It turns out all of the problems were in SharePointPnP.PowerShell.Tests.
I went through all of the references and change the 16.0.0.0 -> 16.1.0.0
Then worked fine.
SharePointPnP.PowerShell.ModuleFilesGenerator and SharePointPnP.PowerShell.Commands were at 16.1.0.0