Skip to main content
2 of 3
edited title
John John
  • 1
  • 49
  • 258
  • 603

How to generate a .wsp file for my Event Receiver using visual studio to be deployed inside my live environment

I have created an event receiver inside Visual Studio 2012. now i want to generate a .wsp file representing my solution to be deployed inside our live server. now i navigate to the following location inside my visual studio project

..\Documents\visual studio 2012\Projects\CustomerSitesER\CustomerSitesER\bin\Debug

and i found a .wsp file with the same name as my current solution. so i was planning to copy this file to our live server and do the deployment using (stsadm.exe -o addsolution & stsadm.exe -o deploysolution)... but i have noted that when i modify the feature elements.xml file inside VS 2012 , and i build the project the above .wsp modified date did not get changed,,, so not sure if simple coping this .wsp to live and do the deployment will include the modified elements.xml file? so can anyone adivce what is the best way to deploy a .wsp file from Dev to live environments?

John John
  • 1
  • 49
  • 258
  • 603