使用.net程序集通过C ++ / CLI使用dll.config fils托管C ++服务重定向程序集 [英] Redirection of the assemblies with dll.config fils of hosting C++ services using the .net assemblies though C++/CLI

查看:44
本文介绍了使用.net程序集通过C ++ / CLI使用dll.config fils托管C ++服务重定向程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在.net 4.6.1环境中,存在问题.net程序集和.net标准。


要解决这个问题,有没有办法使用.dll.config文件重定向程序集,特别是当C ++ exe托管的


时,通过C ++ / CLI二进制文件

In the .net 4.6.1 environment there are issues .net assemblies and with the .net standards .
To overcome this is there any way to redirect assemblies using the .dll.config files , specifically when
hosted by the C++ exe , through C++/CLI binaries

它可能是用于C ++ exe的dll.config文件或用于中间c#程序集的..dll.config


或任何其他解决方案。

It may be a dll.config file meant for the C++ exe or ..dll.config for the intermediate c# assembly
or any other solution .

推荐答案

Hi,

感谢您在这里发帖。

>>它可能是一个dll.config文件,用于C ++ exe或..dll.config用于中间c#assembly


或任何其他解决方案。

.NET Framework通过配置文件为开发人员和管理员提供了对应用程序运行方式的控制和灵活性。配置文件是可以根据需要更改的XML文件。

The .NET Framework, through configuration files, gives developers and administrators control and flexibility over the way applications run. Configuration files are XML files that can be changed as needed.

有关详细信息,请参阅以下文档。

For more information, you could refer to this document below.

https://docs.microsoft.com/en-us/dotnet/framework / configure-apps /

但是,在DLL中使用配置文件并非易事。您可以按照以下文档获取此信息。

However, using configuration files in DLL is not trivial. You could follow this document below to get this.

https://www.codeproject.com/tips/199441/dll-with-configuration-file

希望这可以帮助你。

最好的问候,

Baron Bi


这篇关于使用.net程序集通过C ++ / CLI使用dll.config fils托管C ++服务重定向程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆