简体   繁体   English

Visual Studio 2010 中的 WSPBuilder 用于 Sharepoint 2007 中的解决方案

[英]WSPBuilder in Visual Studio 2010 for solution in Sharepoint 2007

I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part.我已经为 Visual Studio 2010 安装了 WSPBuilder 扩展,我正在寻找如何为我的 web 部件创建部署 package 的演练。 Can anyone point me to a good resource?谁能指点我一个好的资源? Everything I find seems to be directed towards VS 2008 and it creates the folder structure differently.我发现的一切似乎都是针对 VS 2008 的,它以不同的方式创建文件夹结构。

Thanks!谢谢!

The documentation you have found already should be close enough - the hive folder is named "SharePointRoot" instead of "12", but aside from that it's all the same for basic usage.您已经找到的文档应该足够接近 - hive 文件夹被命名为“SharePointRoot”而不是“12”,但除此之外,基本用法都相同。

Developing for SharePoint without having SharePoint on the dev box is going to be fairly painful whatever method you use though.无论您使用哪种方法,在没有 SharePoint 的情况下为 SharePoint 进行开发都会相当痛苦。 I have a PowerShell script that deploys a WSP on another server so I can use the same development environment for 2007 and 2010 - it works but is a lot slower than the local copy to GAC or hive when making small changes.我有一个 PowerShell 脚本,该脚本在另一台服务器上部署 WSP,因此我可以在 2007 年和 2010 年使用相同的开发环境 - 它可以工作,但在进行小的更改时比本地复制到 GAC 或 hive 慢很多。 The error you are getting with VS2008 can probably be fixed by running visual studio as administrator.您在 VS2008 中遇到的错误可能可以通过以管理员身份运行 Visual Studio 来修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2010是否支持Sharepoint 2007开发? - Will Visual Studio 2010 support Sharepoint 2007 development? 在Visual Studio中调试Sharepoint 2010的自定义解决方案 - Debug a custom solution for Sharepoint 2010 in visual studio 在Visual Studio 2013中创建Sharepoint 2010解决方案 - Creating a Sharepoint 2010 Solution in Visual Studio 2013 将Sharepoint 2007解决方案转换为2010年 - Converting Sharepoint 2007 solution to 2010 在Visual Studio 2010中添加Web引用以指向Sharepoint 2007站点 - Adding a web reference in Visual Studio 2010 to point to a Sharepoint 2007 site 如何使用Visual Studio 2008开发SharePoint 2007解决方案? - How to Develop SharePoint 2007 solution using Visual Studio 2008..? 尝试部署SharePoint 2010解决方案包时出错 - SharePoint 2010 - Visual Studio 2010 - Error when trying to deploy SharePoint 2010 solution package - SharePoint 2010 - Visual Studio 2010 通过Visual Studio在SharePoint 2010上调试已部署解决方案的逻辑 - Debugging the logic of a deployed solution on SharePoint 2010 through Visual Studio 使用Visual Studio 2010 beta 2创建WSS 3.0或SharePoint 2007项目 - Create a WSS 3.0 or SharePoint 2007 project using Visual Studio 2010 beta 2 Visual Studio 2010中的Sharepoint开发 - Sharepoint Development in Visual Studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM