在sharepoint中重新部署Web部件

时间:2014-04-12 13:31:10

标签: sharepoint deployment sharepoint-2010 web-parts

我有一个sharepoint项目,我的项目中有一个Web部件。

web部分包含一个自定义的http处理程序,我们可以将其称为

custonHttpHandler.ashx 

在我的代码中我通过javascript调用此文件,

在我的ashx文件中我有一个这样的代码

context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
context.Response.ContentType = "text/plain";
new CustomHandlerCore().ExecuteMethod(context);

CustomHandlerCore类位于我的sharepoint Web部件项目文件夹中。

现在我打包项目并通过powershell进行部署,但旧代码仍在运行。

我该怎么办?

0 个答案:

没有答案