Microsoft.SharePoint.intl.resources 丢失
我正在尝试使用 SPVisualDev 来构建和部署我的 SharePoint 功能。
它构建了 WSP,但不会部署它,失败并显示以下消息:
无法部署解决方案“MyProject.wsp”。 无法加载文件或程序集“Microsoft.SharePoint.intl.resources、Version=12.0.0.0、Culture=en-US、PublicKeyToken=71e9bce111e9429c”或其依赖项之一。系统找不到该文件指定。
确实,GAC 中没有这样的集会。我想它必须是一些卫星组件,但我只是没有它,而且我不知道如何解决这个问题。
这是 SPVisualDev 提供的堆栈跟踪:
SPVisualDev.VSAddin.Connect.DeployWSP 处的 System.Exception(IMainService mainService、字符串 WSP_FilePath、布尔 GAC、字符串 [] WebApplicationURLs) 在 SPVisualDev.VSAddin.Connect.ExecuteWSPBuildAndDeploy(布尔部署) 在SPVisualDev.VSAddin.Connect.Exec(字符串commandName,vsCommandExecOption执行选项,对象& varIn,对象& varOut,布尔&处理)
I'm trying to use SPVisualDev to build and deploy my SharePoint feature.
It builds the WSP but it won't deploy it, failing with the following message:
Failed to deploy solution 'MyProject.wsp'. Could not load file or assembly 'Microsoft.SharePoint.intl.resources, Version=12.0.0.0, Culture=en-US, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
It's true that there is no such assembly in GAC. I guess it has to be some satellite assembly but I just don't have it and I've no idea how to work around the issue.
This is the stack trace, as SPVisualDev provides it:
System.Exception at SPVisualDev.VSAddin.Connect.DeployWSP(IMainService mainService, String WSP_FilePath, Boolean GAC, String[] WebApplicationURLs)
at SPVisualDev.VSAddin.Connect.ExecuteWSPBuildAndDeploy(Boolean deploy)
at SPVisualDev.VSAddin.Connect.Exec(String commandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我没能做到这一点,所以我最终编写了自己的
bat
文件来进行部署。Okay, I didn't manage to do that so I ended up writing my own
bat
file to do the deployment.