in development systen i was kept all my DLLs in GAC now i want to deploy all those DLLs onto product

Posted by Saidireddyj under SharePoint on 1/27/2011 | Points: 10 | Views : 1041 | Status : [Member] | Replies : 3
in development systen i was kept all my DLLs in GAC now i want to deploy all those DLLs onto product sever BIN folder is it possible > if yes tell me briefly?

thanks & Regards
Saidi




Responses

Posted by: Karthikanbarasan on: 1/28/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Yes u can do it actually... this is pretty straight forward... u can move the dlls to productyion server and install in GAC again... else u can use a small tool to do it automatically... check for the below code snippet which overcome ur requirement

Public Sub GacInstall(ByVal AssemblyPath As String)

Dim instance As System.EnterpriseServices.Internal.Publish
instance = New System.EnterpriseServices.Internal.Publish
instance.GacInstall(AssemblyPath)
End Sub


strQuerystring = "Specify full path of dll"
GacInstall(strQuerystring)


Thanks
Karthik
www.f5Debug.net

Saidireddyj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saidireddyj on: 1/28/2011 [Member] Starter | Points: 25

Up
0
Down
hi karthik,
u r saying that again we need to keep in gac of production server thats ok.
is there possibility to keep in bin folder of production or not? that posssibility is available or not?


thanks & Regards
Saidi

Saidireddyj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/28/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi Saidi,

Im not getting ur question... if u want to keep the dlls in any folder(including bin) and register into the gac.... if im not upto ur questions reply back in brief abt ur requirement

Thanks
Karthik
www.f5Debug.net

Saidireddyj, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response