VS2010开发的WebPart部署到SharePoint 2010 页面出错

VS2010开发的WebPart部署到SharePoint 2010 页面出错

 Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp

Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment

Update-SPSolution –Identity SharePointProject2.wsp –LiteralPath c:\code\SharePointProject2\bin\debug\SharePointProject2.wspGACDeployment

Uninstall-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010

 

Remove-SPSolution –Identity SharePointProject2.wsp


主要是部署的时候没有把controltemplate下面的 .ascx文件复制到服务器下的layout的controltemplate

posted on 2012-01-19 15:15  SUNJUNLIN  阅读(381)  评论(0编辑  收藏  举报

导航