Microsoft.SharePoint.intl.resources 丢失

发布于 2024-10-01 02:50:05 字数 743 浏览 0 评论 0原文


我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神魇的王 2024-10-08 02:50:05

好吧,我没能做到这一点,所以我最终编写了自己的 bat 文件来进行部署。

Okay, I didn't manage to do that so I ended up writing my own bat file to do the deployment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文