简体   繁体   中英

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). 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. However, I doubt this will be the case on a new system. Obviously, I know I'll need the .NET 4.5 framework. But for this other dependency, I don't see these dlls in my folder. 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. 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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