使用 Visual Studio 2008 进行 Sharepoint 2003 开发?

发布于 2024-07-07 15:33:19 字数 166 浏览 8 评论 0原文

有人有使用 Visual Studio 2008 开发 Sharepoint 2003 的经验吗?

由于 Vista 问题,我需要升级到 VS2008,但需要支持 Sharepoint 2003 Web 部件。 Web 部件都非常简单。 我可以使用 VS2008 支持这些 Web 部件吗?

Does anyone have experience with developing for Sharepoint 2003 using Visual Studio 2008?

I need to upgrade to VS2008 because of Vista issues but need to support Sharepoint 2003 webparts. The webparts are all pretty simple. Will I be able to support those webparts using VS2008?

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

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

发布评论

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

评论(3

捶死心动 2024-07-14 15:33:19

AFAIK VS2008 只允许您开箱即用地构建 .NET 2.0/3.0,但是...

我有 VS2005 项目使用 MSBEE 为 WSSv2/SPS2003 生成 .NET 1.1 程序集,为 WSSv3/MOSS2007 生成 .NET 2.0,我认为这在 VS2008 中也是可能的。

您将需要使用 MSBEE
http://www.codeplex.com/Wiki/View.aspx?ProjectName= MSBee

通过 Visual Studio 2008 使用 .NET 1.1

您还需要掌握一些 MSBUILD 忍者动作,以保持 1 步构建过程并保持理智
http://brennan.offwhite.net/blog /2006/11/30/7-steps-to-msbuild/

我将在接下来的几周内升级到 VS2008,并将在这里发布更新。

AFAIK VS2008 only allows you to build .NET 2.0/3.0 out of the box, but...

I have VS2005 projects spitting out .NET 1.1 assemblies for WSSv2/SPS2003 and .NET 2.0 for WSSv3/MOSS2007 using MSBEE and I would think that this is possible in VS2008 also.

You will need to use MSBEE
http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSBee

Working with .NET 1.1 with Visual Studio 2008

You will also need to master some MSBUILD ninja moves to keep a 1 step build process and keep yourself sane
http://brennan.offwhite.net/blog/2006/11/30/7-steps-to-msbuild/

I will be upgrading to VS2008 in the next few weeks and will post an update here.

神魇的王 2024-07-14 15:33:19

我使用 vs2008 创建了 .net 2.0 程序集,并与 sharepoint 2007 库链接,然后部署在 sharepoint 服务器上。 您将无法使用 vs2008 开箱即用地创建 .net 1.1 程序集 - 因此,如果您需要以 .net 1.1 为目标,您最好的选择是坚持使用虚拟服务器设置。

在 vista(或 xp)上开发 sharepoint 具有挑战性,因为除非远程连接到 server2k3,否则无法逐行调试。 我对sharepoint开发者的建议是在vista上安装虚拟服务器,然后在带有sharepoint的虚拟服务器上安装vstudio。 如果你打算这样做,你可以坚持使用当前版本的 Visual Studio,然后调试比在 Vista 中容易得多。

根据您的公司是否有 msdn 订阅,如果您必须购买虚拟服务器许可证等,这可能会更昂贵......但在我看来,为了使开发更容易,这是非常值得的。

I've created .net 2.0 assemblies using vs2008, and linked with sharepoint 2007 libraries and then deployed on sharepoint servers. You won't be able to create .net 1.1 assemblies with vs2008 out of the box - so if you need to target .net 1.1 your best bet is to stick with a virtual server setup.

Developing for sharepoint on vista (or xp for that matter) is challenging because you can't debug line by line unless you attach remotely to server2k3. My recommendation for sharepoint developers is to install virtual server on vista, and then install vstudio on the virtual server with sharepoint. If you are going to do this, you can stick with your current version of visual studio, and then debugging is much easier than from vista.

Depending on whether your company has an msdn subscription, this can be more costly if you have to buy a virtual server license, etc... but it is well worth it to make development easier, in my opinion.

素年丶 2024-07-14 15:33:19

SharePoint 2003 构建于.NET 1.1 之上,只有 Visual Studio 2003 支持它。 我建议您不要使用其他任何东西。

我建议您使用 SharePoint 2003 和 Visual Studio 2003 创建虚拟机并在 VM 内开发所有内容。 如果您正在为客户开发一个项目,您可以使用这台计算机作为客户环境的副本,那么这种方法会很有帮助。

SharePoint 2003 is built on top of .NET 1.1 and only Visual Studio 2003 supports it. I would recommend you not to use anything else.

I would advise you to create a virtual machine with SharePoint 2003 and Visual Studio 2003 and develop everything inside VM. This approach can be helpful if you are working on a project for a customer you can use this machine as replica of your customers environment.

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