How to use Third Party Dll in Visual Studio Web Part ?
Are you looking for information on web parts and its usage? Want to know how to use Third Party Dll in Visual Studio Web Part? Then read this thread to learn more about it.
I have added the following code on the Package.template.xml
<Assembly Location="ThirdParty.dll" DeploymentTarget="GlobalAssemblyCache">
<SafeControl Assembly="ThirdParty, Version=22.214.171.124, Culture=neutral, PublicKeyToken=3E1E8E3744A5C13F" Namespace="ThirdParty" TypeName="*" Safe="True"/>
& then added dll from advanced>existing assembly > from Gac-msil folder.
Even i am getting error, when i am deploy the wsp on other server, dll added correctly & safe control added in web config also. but web part doesn't appear, it is showing the "object reference not set to an instant of object" error.