Una interesante herramienta para utilizar al momento de hacer el Deploy de componentes para SharePoint es SAFEControl Adder, la cual, afortunadamente es Gratuita!.
Instructions :
- (1) Use Visual Studio to develop your WebPart with required code (logic) & User Interface (UI) - as you would normally do.
- (2) Ensure you have a “Strong Name” assigned to your assembly (sn -> PublicKey)
- (3) Build the project in Visual Studio
- (3) Add the resultant DLL to the Global Assembly Cache (GAC) - using GACUTIL, or drag to C:\Windows\Assembly folder
- (4) Open Safe Control Adder
- (5) Choose the DLL from your project folder
- (6) Choose the [web.config] for your SharePoint instance :
- (7) Option : Create Backup. Will copy the existing [web.config] file, and save using date/time stamp
Option : IIS Reset. Following the update to the [web.config], SCA can perform the required re-start of Internet Information Services (IIS).
The program will add the necessary entry to the web.config folder.
**NOTE : In order to use the control within SharePoint, you must “provision” the WebPart within the WebParts gallery.
No hay comentarios.:
Publicar un comentario