Giter Site home page Giter Site logo

Comments (2)

davidmchapman avatar davidmchapman commented on August 20, 2024

If you are in Visual Studio, there are two ways you can do this in your solution. The first is to bring the packing service project into your solution and then make a project reference to it in the project you want to use it in. From there you can instantiate the service directly. The other option is to build the service dll and reference that from your project. Similar concept. Does that help or would you like to see an example?

from 3dcontainerpacking.

davidmchapman avatar davidmchapman commented on August 20, 2024

Basically what you need to do is open a solution that has the ContainerPacking project and then build that project. That will create a dll for the service in the bin directory of that project folder (somewhere on your hard drive). Find that dll and copy it to a place that makes more sense for bundling it into your project. Then, with your project open in VS, right click on your project in solution explorer and choose Add Reference. From there you want to browse to the location of the dll and select it. The dll is now referenced in your project and you can use the classes in its namespace. The container packing dll will show up in the references list of your project. In the properties of that reference, be sure to set Copy Local to true so that the dll is copied to the output directory when you build your project. Hopefully all that makes sense. If anything is unclear, you could probably Google some of those terms to find a more comprehensive how-to online.

from 3dcontainerpacking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.