問題描述
在命令行上使用 VS2008 部署 SharePoint 失敗 (SharePoint deployment failure using VS2008 on the comannd line)
I am trying to implement a nightly build environment for our SharePoint solution that includes VS 2008 and VS 2008 extensions for Windows SharePoint Services 3.0 (version 1.2). When I deploy via the VS 2008 GUI it works fine. When I use the command line:
c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe SharePoint.sln /Deploy Release
I get the following error:
------ Deploy started: Project: SharePoint.Site, Configuration: Release Any CPU ------
------ Generate solution file and setup batch file ------
Creating solution ...
System.NotImplementedException
Error: The method or operation is not implemented.
Others seem to be having similar issues.
參考解法
方法 1:
VSeWSS 1.2 doesn't support command line builds. I would either try the CTP for VSeWSS 1.3 or a community tool like STSDev or WSPBuilder.