Can I install VS 2010 on a separate development server or does it have to be installed on a sharepoint server to develop webparts?
2 Answers
Not to be mean, but this question has been asked and answered many times on this forum and on other places on the Internet. A quick Google search would have answered your question.
If you want to use the SharePoint tooling in Visual Studio 2010 you must have SharePoint installed locally. Instructions on how to setup a development environment for SharePoint 2010 can be found here.
I'm not certain what you meant by, "or does it have to be installed on a sharepoint server" but installing Visual Studio on your SharePoint production server and doing development there is a very bad idea.
You can, you have two options
- Develop on Windows 7. You can install SharePoint locally (use the free version) and develop against that. Or you can develop on Windows 2008 using the free version as well.
- All you need is the SharePoint dll, so you can import that into your project on another server and develop against it. This will quickly become a pain in the butt as you'll need to copy the solution file over to your SharePoint server to test it, and this scenario also makes debugging much more difficult.
HTH