SubPointSolutions / spmeta2

SharePoint artifact provision for .NET platform. Supports SharePoint Online, SharePoint 2019, 2016 and 2013 via CSOM/SSOM.
http://subpointsolutions.com/spmeta2
133 stars 56 forks source link

Migrate solution to VS2017 #1114

Closed SubPointSupport closed 6 years ago

SubPointSupport commented 6 years ago

A follow up on the recent VS2015 work - Migrate solution to VS2015/VS2017 #1043

SubPointSupport commented 6 years ago

Solution works perfectly with VS2017 already. Outstanding regression testing with NCrunch is blocked due to the recent windows security updates.

Fixing up, further works is tracked in the following metabox issue:

https://github.com/SubPointSolutions/metabox/issues/76

Some installations, however, may fail on MSBuild tasks:

Nuget.exe restore foo.sln - broken with msbuild 15.7 installed https://github.com/NuGet/Home/issues/6918#issuecomment-387574767

Solution is below:

We are working with the MsBuild team to determine the right fix(es). Until then, workarounds include:

Install .NET Framework 4.7 or later Copy System.Runtime.InteropServices.RuntimeInformation.dll from msbuild directory to the same directory that NuGet.exe is in.