[英]Preparing for deploying a console application (assembly fundamentals)
(new to .NET) I've built a small console application that uses a 3rd party data access component for Oracle (assemblies: devart.data.dll and devart.data.oracle.dll). (.NET的新增功能)我已经构建了一个小型控制台应用程序,该应用程序使用Oracle的第三方数据访问组件(组件:devart.data.dll和devart.data.oracle.dll)。 I've been asked to gather environmental requirements for a new test server.
我被要求收集新测试服务器的环境要求。 On my local machine, I am able to simply copy the bin/debug or bin/release folder and my app just works.
在我的本地计算机上,我可以简单地复制bin / debug或bin / release文件夹,并且我的应用程序可以正常工作。 However, I doubt this will be the case on a new system.
但是,我怀疑新系统是否会出现这种情况。 Obviously, I know I'll need the .NET 4.5 framework.
显然,我知道我需要.NET 4.5框架。 But for this other dependency, I don't see these dlls in my folder.
但是对于这种其他依赖性,我在文件夹中看不到这些dll。 I'm not even sure how these were installed (I inherited this computer from a now-gone developer).
我什至不知道这些文件的安装方式(我是从已经不复存在的开发人员那里继承了这台计算机的)。
How do installations of 3rd party tools typically work with respect to deployments? 通常,第三方工具的安装如何与部署有关? How will I be able to say what's required and how to get it on the target machine?
我将如何说出什么要求以及如何在目标计算机上获得它? Any advice is much appreciated!
任何建议深表感谢!
Have you checked your project references to see if the dlls are referenced in the project. 您是否检查过项目引用,以查看项目中是否引用了dll。 If they are, you should be able to see the path they are located in. I'm guessing the dlls are on your network drive somewhere and your project is pointing to them.
如果它们是,您应该能够看到它们所在的路径。我猜这些dll在网络驱动器上的某个位置,并且您的项目正在指向它们。
You should be able to check all your references by right clicking on your project and selecting the "add reference" item on the menu. 通过右键单击项目并在菜单上选择“添加引用”项,您应该能够检查所有引用。 If the ddls are on your network drive, as long as the testing server has access to the file directory, you shouldn't need to worry about deploying the dlls.
如果ddls在您的网络驱动器上,则只要测试服务器可以访问文件目录,就不必担心部署dll。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.