Visual Studio 2010 和 Moss 2007 问题

发布于 2024-10-05 20:03:39 字数 415 浏览 5 评论 0原文

场景如下:我的开发环境是Windows 2003虚拟服务器、MOSS2007、VS 2008、SQL2005、.net Framework 3.5、Ajax 2.0。

我们正在将用户工作站升级到 Win 7。因此我决定安装 VS 2010 和 VS2008。

当我尝试打开一个具有 MOSS 自定义 Web 部件的现有 VS2008 项目时,它执行了升级向导,但最终失败了,但我没有注意到错误是什么。相反,我决定重新创建该项目,但是当向我的解决方案添加新的共享点 Web 部件时,我收到一条错误,指出必须首先在服务器上安装 SharePoint。好吧,lah-di-dah,它已安装!那么现在怎么办?

最终卸载了VS2010,但这不是重点。 VS2010 真的需要 SharePoint 2010 才能工作吗?任何人都可以详细说明这一点。谢谢。

埃里克

Here is the scenario: My dev environment is a Windows 2003 virtual server, MOSS2007, VS 2008, SQL2005, .net Framework 3.5, Ajax 2.0.

We're in the process of upgrading user workstations to Win 7. So I decided to install VS 2010 alongside VS2008.

When I tried to open an existing VS2008 project that has custom web parts for the MOSS, it went through the upgrade wizard but at the end it failed but I did not note what the error was. Instead, I decided to recreate the project but when adding a new sharepoint webpart to my solution I received an error stating that SharePoint must be forst installed on the server. Well lah-di-dah, it is installed!!! So now what?

Ended up uninstalling VS2010, but that is not the point. Does VS2010 requires SharePoint 2010 to work, really? Can anyone elaborate on this. Thanks.

Eric

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

青衫负雪 2024-10-12 20:03:39

您尝试在新的 Windows 7 工作站上打开 Sharepoint 解决方案吗?我怀疑您是否在该工作站上安装了 Sharepoint,因此当错误消息显示未安装 Sharepoint 时,该错误消息可能是正确的。

但是,您可以使用 VS2010 进行一些 Sharepoint 2007 开发,如下所示: http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/bbced82a-a0e2-4a50-836a-3deb96c02de8
尽管 VS2010 开箱即用,但您可能仍然希望安装 WSPBuilder。

You tried to open up a Sharepoint solution on your new Windows 7 workstation? I doubt you've got Sharepoint installed on that workstation, so the error message might be correct when it's saying Sharepoint isn't installed.

But, you can use VS2010 to do some Sharepoint 2007 development, as written here: http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/bbced82a-a0e2-4a50-836a-3deb96c02de8
You still might want to have WSPBuilder installed though, even though VS2010 works pretty slick out of the box.

<逆流佳人身旁 2024-10-12 20:03:39

我重新安装了VS的两个版本,问题就解决了。 (但这不是最有效的方法)。

I've reinstalled both versions of VS and that soleved the problem. (not the most efficient method, however).

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