Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am working on a test environment where is installed Windows Server 2008 R2, SharePoint Foundation 2010 and Visual Studio 2010.

I have developed and debugged a new Event Receiver for a Document List using a solution configured as "sandboxed solution".

Now I am ready to deploy my custom Event Receiver, but how? Do you known a guide or a list of steps compatible with this environment?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Once you have packaged your solution as James has stated you will find the resulting WSP file in the relevant folder (Release or Debug) in the \bin folder within your project structure.

This is the file which needs to be uploaded to the solution gallery within your target site collection. Once it is uploaded into this gallery use the ribbon to activate it, then just check that your features are activated. Web scoped features will need to be activated via the UI.

That should be all that is required.

share|improve this answer
    
Thank you both, I did it! :) This is a very nice feature of SharePoint 2010. Thank you. –  Drake Sep 9 '10 at 13:11

In Visual Studio 2010 you should just be able to right click the project in the solution explorer and click "Package", and deploy the resulting WSP file to your live environment.

If you are testing your solution, pressing F5 should deploy it straight into your development environment for testing.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.