Tuesday 13 May 2014

Execute Class Libraray in SharePoint Server


1. Open Class Library
2. Build the solution
3.If you have and reference errors , solve the errors
4.If you want to get dlls from GAC
Go to Run
Type:
C:\windows\assembly\gac_msil
Now you can copy any dll.
5.Rebuild.After getting success.
6.Copy the source in to server , where you want to run this.
7.Open Command prompt. Run as Administrator
8.Go to your project folder and execute the exe. (If you want to change config files, change in server directly)
Ex: C:\Myproject>MyProject.exe