Error with Microsoft.Sharepoint dll

Hi,

I cannot publish:
19.8.0+Branch.master.Sha.680d3a6b9a242ff3a0f9a32b7bf3faba605524aa
The project has validation errors and cannot be published.

Probably due to error:
SharePointContextInfo is not defined

Which is probably due to:
NU1202: Package Microsoft.SharePoint.dll 15.0.4867.1000 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Microsoft.SharePoint.dll 15.0.4867.1000 supports: microsoftsharepoint (Microsoft.SharePoint,Version=v0.0)

The installation of the SharePoint packages fail.

My Info:
2019.8.0 - 8/29/2019
Community Edition
EXE Installer
License Provider: Orchestrator
Device ID:
Update Channel: Stable
Microsoft Windows 10 Enterprise 64-bit
.NET Framework Version 4.7.2

Please help.
Thx!

Hi @aspier,
Welcome to the Community!
From the error seems that the package has been not installed. Can you check “Project” pane in Studio and check if there nothing about sharepoint listed there?

1 Like

Hi @Pablito, thanks to the hint I managed to resolve my problem.
I had a few SharePoint packages installed which had the issue and which I didn’t use in my project. I uninstalled the packages that were unused and now it’s working.

Many Thanks!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.