I am working on sharepoint webpart and i will be develo开发者_运维问答ping webpart on my local machine that has visual studio.net on windows XP. My sharepoint is installed on another web server. how would i deploy from my local machine? what kind of rights do i need?
Basically you will create it as a Feature and deploy it as a solution package. I have outlined the process in a two-part blog post here:
http://codersbarn.com/?tag=/webpart
By default, SharePoint Web applications are only allowed to run with a very restrictive trust level of WSS_Minimal. If we want to have our Web Part deployed to the bin folder, then in order for it to run we must do one of two things: either set the trust level to WSS_Medium or WSS_Full in the web.config, or create a custom CAS policy that will allow this assembly's managed code to run.
精彩评论