利用Visual Studio 2005 Extensions for Windows SharePoint Services 3.0开发,部署时发现的一个怪现象
我在使用Visual Studio 2005 Extensions for Windows SharePoint Services 3.0开发WebPart时,发现有以下现象:
- 首先在Debug编译条件下,执行Deploy时,会出现以下错误:“The language-neutral solution package was not found.”
- 将编译条件切换为Release时,执行Deploy,会出现同样的错误。
- 将Visual Studio 2005关闭,然后重新打开,再次执行Deploy时,该错误就会消失,能够正确部署。
另外,补充一点:要部署的目标网站地址,在Project的属性的Debug页,“Start browser with URL”中设置。