Creating a solution that deploys to selected WebApplications but copies the assembly to GAC

后端 未结 4 1969
抹茶落季
抹茶落季 2021-01-06 09:23

Using VisualStudio 2010 to create a SharePoint2010 solution, I want to deploy my solution to selected WebApplications (not to all). I can do this, by switching Assembly Depl

4条回答
  •  离开以前
    2021-01-06 09:48

    Ok, now I got it: SharePoint will ask for a WebApplication to deploy to as soon as the WSP contains a SafeControl element. So if you add a dummy web part to the VS project or directly add a SafeControl element to the package in VS, the WSP will not be automatically globally deployed.

提交回复
热议问题