How to Register and Use DLL files in ASP.NET 1.1

3.2k Views Asked by At

I have moved a couple of DLL files in the BIN folder but Visual Studio is not picking these up. Do I need to manually register them for 1.1?

I know in later frameworks, it is as easy as moving DLL files in the BIN folder but the same is not working for framework 1.1. Is there anything I am missing?

3

There are 3 best solutions below

6
On

You should reference the DLL in the project.

More info below;

http://msdn.microsoft.com/en-us/library/wkze6zky(v=vs.71).aspx

0
On

Running the MSI file and Restarting Visual Studio 2003 resolved the problem. ASPOSE.CELLS.DLL is 1.1 compatible so backward compatibility was not the issue.

0
On

You just need to declare your assemblies to your web.config just like the following:

<configuration>
  <system.web>
   <compilation>
      <assemblies>
         <add assembly="MyDll"/>
      </assemblies>
   </compilation>
  </system.web>

</configuration>

You'll have also to make sure that your dll are compiled for .NET 1.1. Or else, it won't work.

Hope this helps you. Let us know if it is still not working.