如何使用Visual Studio 2022更改SharePoint 2010项目?



我试图通过在Visual Studio 2022中更改c#文件来更改现有的SharePoint 2010项目。

然而,每当我尝试构建或编译项目时,我总是得到以下错误:

The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
有人能帮我解决这个问题吗?

由于不支持SharePoint 2010,我建议您迁移到SharePoint 2013。请参考以下文件

https://learn.microsoft.com/en us/sharepoint/upgrade -和- update/overview - - -升级过程——从sharepoint - 2010到- sharepoint - 2013

最新更新