I have developed a web part and deployed it on my server using this guide:
Now I’ve modified my webpart and I’m not able to update it on the server. Do you have any guide to advise?
Furthermore, is the guide that I followed correct or is there a more efficient way to deploy and update custom web part on the server?
Thanks a lot
The guide you are following is for deploying a solution file to a server. While you are creating the webpart in your development environment, I wouldn’t bother packaging it up each time.
Your most common development path will probably be (the “manual” way):
gacutil /i "path/to/mywebpart.dll"IISRESETcommandIt is important to note that your solution already took care of registering your webpart as a safecontrol in the web.config.
When you are ready to deploy to QA or Production, you would build a release copy of your DLL and then package it up into the solution.
If you have Visual Studio 2008, I would also recommend the Visual Studio extensions for WSS 3.0. It gives you a couple templates that are very useful and allows you to write, package, and deploy a webpart in solution file all from within Visual Studio.
/sites/SiteCollection/_catalogs/wp.