简体   繁体   English

C#在我的项目中包含参考dll

[英]C# Including reference dll within my project

Referencing dll within my project is not too clear form me 我的项目中引用dll不太清楚

  1. When including dll Reference to my project does that mean that when moving the release .exe to another PCs will allow it to run ? 当包含dll Reference对我的项目的dll Reference是否意味着将版本.exe移动到另一台PC上时将允许它运行? or do I have to move the dll Reference too with my project ? 还是我也必须随项目一起移动dll Reference

  2. if Yes then what the best approche to do it ? 如果是,那么最好的方法是什么?

dll Reference is too ambiguous thinks im my mind please if someone can help me to understand it specifically the point above dll Reference太含糊了,请问我在想什么,请问有人可以帮助我特别地理解它吗?

thanks 谢谢

When including dll Reference to my project does that mean that when moving the release .exe to another PCs will allow it to run ? 当包含dll时,对我的项目的引用是否意味着将版本.exe移动到另一台PC上时将允许它运行?

No this was the old time but with .net one of the main goal was to avoid the dll hell 不,这是过去的时光,但使用.net的主要目标之一是避免dll地狱

or do I have to move the dll Reference too with my project ? 还是我也必须随项目一起移动dll参考?

yes you have to move all dll in your release folder after compiling was done 是的,编译完成后,您必须将所有dll移入发行文件夹中

if Yes then what the best approche to do it ? 如果是,那么最好的方法是什么?

the best approach it depends on what you are targetting you can just zip the release folder and copy it to your target machine I think it is the best one for you to get started 最好的方法取决于您的目标,您只需压缩发布文件夹并将其复制到目标计算机,我认为这是您入门的最佳方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM