我正在尝试将在Visual Studio 2010中开发的SharePoint 2010解决方案(自定义Web部件,内容类型,列表,事件接收器等)转换为SharePoint 2013和Visual Studio 2012。当我在VS 2012中打开项目时,它会转换几个项目文件,但由于引用问题无法编译。
我从我的2010服务器复制了DLL(主要是Microsoft.SharePoint...,尽管我还需要复制Microsoft.Office.SecureStoreService.dll),这些DLL导致问题,然后修复了引用。但是,Microsoft.Office.SecureStoreService.dll仍然给出编译器错误,声称“Error 203 The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)”,但是Visual Studio并没有问题,并且可以很好地在其中找到SecureStoreProvider类。
我也试图将目标框架从3.5更改为4,但只看到在目标框架下拉菜单中的“Install other frameworks...”。
我确信其他人也处理过这个问题,但未能构建正确的Google搜索查询。我对SharePoint总体上相对较新,任何帮助都将不胜感激。
谢谢,
Mike
我从我的2010服务器复制了DLL(主要是Microsoft.SharePoint...,尽管我还需要复制Microsoft.Office.SecureStoreService.dll),这些DLL导致问题,然后修复了引用。但是,Microsoft.Office.SecureStoreService.dll仍然给出编译器错误,声称“Error 203 The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)”,但是Visual Studio并没有问题,并且可以很好地在其中找到SecureStoreProvider类。
我也试图将目标框架从3.5更改为4,但只看到在目标框架下拉菜单中的“Install other frameworks...”。
我确信其他人也处理过这个问题,但未能构建正确的Google搜索查询。我对SharePoint总体上相对较新,任何帮助都将不胜感激。
谢谢,
Mike