[英]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.