0

我已经在 BIN 文件夹中移动了几个 DLL 文件,但 Visual Studio 没有拾取这些文件。我需要为 1.1 手动注册它们吗?

我知道在以后的框架中,它就像在 BIN 文件夹中移动 DLL 文件一样简单,但对于框架 1.1 却不起作用。有什么我想念的吗?

4

3 回答 3

0

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.

于 2012-09-25T01:55:12.267 回答
0

您应该在项目中引用 DLL。

更多信息如下;

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

于 2012-08-08T14:34:24.347 回答
0

运行 MSI 文件并重新启动 Visual Studio 2003 解决了该问题。ASPOSE.CELLS.DLL 与 1.1 兼容,因此向后兼容性不是问题。

于 2012-08-08T16:12:22.437 回答