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

Till now I was doing Sharepoint development with Sharepoint server and Visual Studio on same machine.

Now there is a Sharepoint 2010 installed on my client machine with no Visual Studio installed.

I need to deploy a event reciever on it. I know I can deploy .wsp file using powershell.

But my problem is when we create a project in Visual Studio with Sharepoint event reciever template a Sharepoint Customization Wizard appers where it demands to validate the site url.

How do I get passed this?

So my question is it possible to develop an event reciever for a Sharepoint site without installing the Visual Studio on the same machine on which the Sharepoint is installed.

If yes, please suggest how this can be achieved.

share|improve this question
up vote 2 down vote accepted

If you're going to use the SharePoint Extensions for Visual Studio 2010 - it's a requirement to have VS and SP on the same box.

On the other hand - you can handcraft a WSP using a simple assembly project, writing the XML files manually, hacking a DDF file and run makecab. OR you can use WSPBuilder and tools like that.

share|improve this answer
Is there any option on any commands such that i can somehow alter the IP for which the WSP is developde.Because i have all the wsp an dont have much time to do all the code again. Or is it possible to code for a sharepoint site deployed on remote server with visual studion installed on my machine – Mohit Jan 13 '12 at 9:47

Normally SharePoint development environment will have - SharePoint 2010/MOSS + Visual Studio + SharePoint Designer. SQL Server can be in the same or different machine. This way, you could deploy custom web parts and tools from VS to SP sites directly and in the end, you will just need to backup and restore your SP site from DEV to PROD. I would advise this method of development.

In your case, you will have to do as @Wictor has suggested. You will have to create all files required for an event receiver manually in Visual Studio, when you dont have SharePoint installed.

share|improve this answer

Your Answer


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.