如何使用 Visual Studio 2010 在 Vista 32 位基础上开发 Sharepoint 2010

发布于 2024-12-28 19:58:05 字数 272 浏览 0 评论 0原文

我的电脑是 Vista 32 位。我必须为 Sharepoint 2010 Foundation 开发自定义字段。当我尝试为 Sharepoint 2010 创建项目时,Visual Studio 显示消息,提示我需要安装 Sharepoint 2010。我在系统要求中了解到 Sharepoint 2010 有 64 位操作系统。

我可以使用外部 Sharepoint 2010 服务器开发自定义字段,还是可以在 Windows Vista 32 位上安装 Sharepoint 2010 Foundation?

I have PC with Vista 32-bit. I must develope custom field for Sharepoint 2010 Foundation. When I try to create project for Sharepoint 2010, Visual Studio show message that I need to instal Sharepoint 2010. I have read that Sharepoint 2010 has 64-bit OS in system requirements.

Can I develope custom field using external Sharepoint 2010 server or can I instal Sharepoint 2010 Foundation on Windows Vista 32-bit?

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

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

发布评论

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

评论(2

暗喜 2025-01-04 19:58:05

不可以,您将无法在 32 位计算机上开发 SharePoint 组件。您需要使用 64 位版本的 Windows,然后在 PC 上本地安装 SharePoint 2010 或使用也运行 64 位操作系统的虚拟机。

No, you will not be able to develop SharePoint components on a 32-bit machine. You would need to use a 64-bit version of Windows and then either install SharePoint 2010 locally on the PC or use a virtual machine also running a 64-bit operating system.

装纯掩盖桑 2025-01-04 19:58:05

据我所知,您无法在 Vista 64 位上执行此操作,但可以在 Windows 7 64 位上执行此操作,但我不一定推荐这样做。最好的选择是 Windows Server 64 位,我建议匹配您的生产环境。

如果这不可能,您可能无法使用 Visual Studio 2010 中内置的 SharePoint 2010 项目 - 尽管我有兴趣证明事实并非如此。

从好的方面来说,您仍然应该能够使用 Codeplex 上提供的名为 WSP Builder 的第三方 Visual Studio 扩展(http://wspbuilder.codeplex.com/releases/view/30858 - 确保您获得 2010 Extensions beta 版本)并使用 WSP Builder 项目为 SharePoint 进行开发。然后,您将能够创建用于部署到测试环境的 WSP。

唯一需要注意的是,您必须将必要的 DLL 从 SharePoint 服务器带到本地 PC,以便您可以将它们添加为项目的引用,以便您可以使用 SharePoint API。

总的来说,我建议为 SharePoint 获取合适的开发环境,因为与 WSP Builder 相比,Visual Studio 2010 项目非常棒。它还可以带来更好的开发和测试体验。

As far as I know you can't do it on Vista 64-bit but you can on Windows 7 64-bit though I don't necessarily recommend this. Your best bet would be on Windows Server 64-bit and I would recommend matching what ever your production environment is.

If this is not possible you may be out of luck with the SharePoint 2010 projects built into Visual Studio 2010 - though I'd be interested in being proven otherwise.

On the plus side you still should be able to use a third party Visual Studio extension called WSP Builder available on Codeplex (http://wspbuilder.codeplex.com/releases/view/30858 - make sure you get the 2010 Extensions beta version) and use the WSP Builder projects to develop for SharePoint. You will then be able to create WSPs for deploying to a test environment.

The only caveat to all of this is you will have to bring the necessary DLLs from a SharePoint server to your local PC so you may add them as references to your projects so that you may use the SharePoint API.

Overall I recommend getting a proper development environment for SharePoint because the Visual Studio 2010 projects are amazing compared to WSP Builder. It also makes for a much better development and testing experience.

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