NETFramework4.0 的DLL可以不配置config文件吗
现状:我写的一个DLL文件要到别的程序里调用,EXE文件是Delphi写的,可我的DLL运行时需要一个APP.CONFIG里面内容为<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
</configuration>
提示报这个错
Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
需要结果:
1、APP.CONFIG放到哪才能支持DLL运行。
2、不配置APP.CONFIG运行DLL。
以上两种结果均可,希望高人指点,在线急等。