SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does MSBuild 2010 /t:Package switch package an existing SharePoint WebPart or build it first?

In other words can I do the following:

MSBuild /p:Configuration=Release /m MyWebPart.csproj
Then do something else like ILMerge and sign
MSBuild /p:Configuration=Release /m MyWebPart.csproj /t:Package

To package the ILMerged and signed Webpart to a WSP?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.