fel88 / DeepNestPort

DeepNest C# Port
MIT License
79 stars 34 forks source link

Instructions on running / building DeepNestPort #14

Closed DavidLeonardWenzel closed 3 years ago

DavidLeonardWenzel commented 3 years ago

Hey fel88, first of all, thank you for the great work on this port!

I was able to follow the instructions on compiling the minkowski dll, but wondered about how to proceed to get an actual executable of the nesting program shown in the images. Would it be possible to include instructions on how to run the program? I tried building using the DeepNestPort.sln in Visual Studio Code as well as running DeepNestPort/Program.cs, however, no launch.json or build or exe can be found.

fel88 commented 3 years ago

Hi, you must use Visual Studio (e.g. community edition) not VS Code to compile DeepNestPort.sln

DavidLeonardWenzel commented 3 years ago

Thank you for your answer! I was able to compile the port in Visual Studio after taking out all DXF references in the source, as I was unable to compile the separate DXF repository. Is my assumption correct that you need to clone and build the dxf import/export project separately? (https://github.com/IxMilia/Dxf)

fel88 commented 3 years ago

Thank you for your answer! I was able to compile the port in Visual Studio after taking out all DXF references in the source, as I was unable to compile the separate DXF repository.

IxMilia/Dxf is a nuget package. You should probably just restore the nuget packages to fix references. Try click right button to the DeepNestLib project in the Solution explorer tree and select 'Manage NuGet Packages' image

Then click to 'Restore" button in the upper right corner image

Also you can try 'dotnet restore' command in the 'Package manager console' image

Is my assumption correct that you need to clone and build the dxf import/export project separately? (https://github.com/IxMilia/Dxf)

No. You can use this way, but the best way is to restore the nuget package.