ThisIsNotRocketScience / GerberTools

Tools to load/edit/create/panelizer sets of gerber files
MIT License
716 stars 139 forks source link

Cannot build on Manjaro Linux #149

Open ShadeTechnik opened 1 year ago

ShadeTechnik commented 1 year ago

Probably a version/dependency thing but I have no idea.....

` $ ./build.sh

/tmp/tmp.XazLZRoLIi.zip 100%[=====================================================================================================================>] 226.04K --.-KB/s in 0.03s

2023-08-21 08:52:01 (7.26 MB/s) - ‘/tmp/tmp.XazLZRoLIi.zip’ saved [231470/231470]

/tmp/tmp.7NevDa2kF0.zip 100%[=====================================================================================================================>] 433.99K --.-KB/s in 0.05s

2023-08-21 08:52:02 (8.65 MB/s) - ‘/tmp/tmp.7NevDa2kF0.zip’ saved [444408/444408]

/tmp/tmp.lAIdpU08ek.zip 100%[=====================================================================================================================>] 2.95M --.-KB/s in 0.1s

2023-08-21 08:52:02 (29.8 MB/s) - ‘/tmp/tmp.lAIdpU08ek.zip’ saved [3090642/3090642]

/tmp/tmp.NRv2XdqNyS.zip 100%[=====================================================================================================================>] 34.22K --.-KB/s in 0s

2023-08-21 08:52:03 (198 MB/s) - ‘/tmp/tmp.NRv2XdqNyS.zip’ saved [35041/35041]

/tmp/tmp.zB2aegG9UP.zip 100%[=====================================================================================================================>] 261.80K --.-KB/s in 0.05s

2023-08-21 08:52:03 (5.32 MB/s) - ‘/tmp/tmp.zB2aegG9UP.zip’ saved [268087/268087]

/tmp/tmp.0Tcx3JG5z6.zip 100%[=====================================================================================================================>] 203.29K --.-KB/s in 0.04s

2023-08-21 08:52:04 (5.25 MB/s) - ‘/tmp/tmp.0Tcx3JG5z6.zip’ saved [208165/208165]

/tmp/tmp.pDQJnemlrf.zip 100%[=====================================================================================================================>] 37.18K --.-KB/s in 0s

2023-08-21 08:52:04 (211 MB/s) - ‘/tmp/tmp.pDQJnemlrf.zip’ saved [38070/38070]

/tmp/tmp.wlNAIt7aJZ.zip 100%[=====================================================================================================================>] 267.39K --.-KB/s in 0.04s

2023-08-21 08:52:05 (6.48 MB/s) - ‘/tmp/tmp.wlNAIt7aJZ.zip’ saved [273805/273805]

/tmp/tmp.UmVsMDcyqL.zip 100%[=====================================================================================================================>] 333.71K --.-KB/s in 0.04s

2023-08-21 08:52:05 (7.43 MB/s) - ‘/tmp/tmp.UmVsMDcyqL.zip’ saved [341719/341719]

xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0 Mono, Version 6.12.0.0 Copyright (C) 2005-2013 Various Mono authors

Build started 8/21/2023 8:52:05 AM.


/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln: warning : /home/justin/git/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring. /home/justin/git/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection Performance, Ignoring. Project "/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln" (default target(s)): Target ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Target Build: Project "/home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj" (default target(s)): Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Created directory "bin/Debug/" Created directory "obj/Debug/" Target GetFrameworkPaths: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0). Target ResolveAssemblyReferences: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../GerberProjects/packages/DotNetZip.1.13.8/lib/net40/DotNetZip.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} Considered target framework dir /usr/lib/mono/4.8-api/, assembly named 'DotNetZip' not found. Considered target framework dir /usr/lib/mono/4.8-api//Facades/, assembly named 'DotNetZip' not found. For searchpath {PkgConfig} Considered DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered 'DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/DotNetZip' as a file, but the file does not exist Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/DotNetZip.exe' as a file, but the file does not exist Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/DotNetZip.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../GerberProjects/packages/ExcelLibrary.1.2011.7.31/lib/ExcelLibrary.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} Considered target framework dir /usr/lib/mono/4.8-api/, assembly named 'ExcelLibrary' not found. Considered target framework dir /usr/lib/mono/4.8-api//Facades/, assembly named 'ExcelLibrary' not found. For searchpath {PkgConfig} Considered ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered 'ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/ExcelLibrary' as a file, but the file does not exist Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/ExcelLibrary.exe' as a file, but the file does not exist Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/ExcelLibrary.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../GerberProjects/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} Considered target framework dir /usr/lib/mono/4.8-api/, assembly named 'System.ValueTuple' not found. Considered target framework dir /usr/lib/mono/4.8-api//Facades/, assembly name 'System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' did not match the expected 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' (SpecificVersion=True) For searchpath {PkgConfig} Considered System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/System.ValueTuple' as a file, but the file does not exist Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/System.ValueTuple.exe' as a file, but the file does not exist Considered '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/System.ValueTuple.dll' as a file, but the file does not exist Target CopyFilesMarkedCopyLocal: Copying file from '/home/justin/git/GerberTools/GerberProjects/packages/Triangle.0.0.6-Beta3/lib/net45/Triangle.dll' to '/home/justin/git/GerberTools/GerberLibrary/bin/Debug/Triangle.dll' Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/Debug/GerberLibrary.dll "Artwork Related/BasicBounce.cs" "Artwork Related/SVGWriter.cs" Core/BillOfMaterials.cs Core/Bounds.cs Core/Enums.cs Core/ExcellonFile.cs "Artwork Related/FontSet.cs" "Artwork Related/GallifreyanFont.cs" Core/Gerber.cs "Artwork Related/GerberArtWriter.cs" Core/GerberMerger.cs "Artwork Related/GerberOutlineWriter.cs" Core/GerberPanel.cs Core/GerberSplitter.cs Core/GerberTransposer.cs Core/GraphicsInterface.cs Core/Helpers.cs Core/ImageCreator.cs Core/MacroExpressionEvaluator.cs Core/MathHelpers.cs Core/PackingAlgos/MaxRectPacker.cs Core/ParsedGerber.cs Core/PolyLineSet.cs Core/Primitives/GCodeCommand.cs Core/Primitives/GerberApertureMacro.cs Core/Primitives/GerberApertureMacroPart.cs Core/Primitives/GerberApertureType.cs Core/Primitives/GerberNumberFormat.cs Core/Primitives/PointD.cs Core/Primitives/PolyLine.cs Core/SickOfBeige.cs Deprecated/OldCNCRelated.cs EagleThings/BoardRenderer.cs EagleThings/eagle.cs EagleThings/LibraryLoader.cs External/clipper.cs Core/Factory.cs Properties/AssemblyInfo.cs Core/PackingAlgos/RectanglePacker.cs "Artwork Related/V3.cs" Core/Algorithms/QuadTree.cs obj/Debug/.NETFramework,Version=v4.8.AssemblyAttribute.cs /target:library /win32icon:favicon.ico /define:"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/4.8-api/System.dll /reference:/usr/lib/mono/4.8-api/System.Drawing.dll /reference:/usr/lib/mono/4.8-api/System.Windows.Forms.dll /reference:/usr/lib/mono/4.8-api/System.Xml.dll /reference:/usr/lib/mono/4.8-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.8-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.8-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.8-api/System.Data.dll /reference:/usr/lib/mono/4.8-api/System.Xml.Serialization.dll /reference:../GerberProjects/packages/Triangle.0.0.6-Beta3/lib/net45/Triangle.dll /reference:/usr/lib/mono/4.8-api/System.Core.dll /reference:/usr/lib/mono/4.8-api//mscorlib.dll /warn:4 Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved. Core/Gerber.cs(14,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?) Artwork Related/GerberOutlineWriter.cs(4,7): error CS0246: The type or namespace name 'QiHe' could not be found (are you missing a using directive or an assembly reference?) Core/GerberPanel.cs(13,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?) Core/ImageCreator.cs(13,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?) Core/SickOfBeige.cs(13,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?) Core/Primitives/PointD.cs(10,18): warning CS0659: 'PointD' overrides Object.Equals(object o) but does not override Object.GetHashCode() Core/Primitives/PointD.cs(10,18): warning CS0661: 'PointD' defines operator == or operator != but does not override Object.GetHashCode() Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj".-- FAILED Done building project "/home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj".-- FAILED Project "/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj" (default target(s)): Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Created directory "bin/Debug/" Created directory "obj/Debug/" Target GetFrameworkPaths: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0). Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/Debug/DirtyPCB_Base64Extractor.exe Program.cs Properties/AssemblyInfo.cs obj/Debug/.NETFramework,Version=v4.8.AssemblyAttribute.cs /target:exe /win32icon:favicon.ico /define:"DEBUG;TRACE" /nostdlib /platform:AnyCPU /reference:/usr/lib/mono/4.8-api/System.dll /reference:/usr/lib/mono/4.8-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.8-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.8-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.8-api/System.Data.dll /reference:/usr/lib/mono/4.8-api/System.Net.Http.dll /reference:/usr/lib/mono/4.8-api/System.Xml.dll /reference:/usr/lib/mono/4.8-api/System.Core.dll /reference:/usr/lib/mono/4.8-api//mscorlib.dll /warn:4 Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved. Target _CopyAppConfigFile: Copying file from '/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/App.config' to '/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/DirtyPCB_Base64Extractor.exe.config' Target DeployOutputFiles: Copying file from '/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/obj/Debug/DirtyPCB_Base64Extractor.pdb' to '/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/DirtyPCB_Base64Extractor.pdb' Copying file from '/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/obj/Debug/DirtyPCB_Base64Extractor.exe' to '/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/DirtyPCB_Base64Extractor.exe' Done building project "/home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj". /home/justin/git/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: error : /home/justin/git/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Task "MSBuild" execution -- FAILED Done building target "Build" in project "/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln".-- FAILED Done building project "/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln".-- FAILED

Build FAILED.

Warnings:

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln: warning : /home/justin/git/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring. /home/justin/git/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection Performance, Ignoring.

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) ->

/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0).

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' not resolved
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL' not resolved

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

Core/Primitives/PointD.cs(10,18): warning CS0659: 'PointD' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Core/Primitives/PointD.cs(10,18): warning CS0661: 'PointD' defines operator == or operator != but does not override Object.GetHashCode()

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/justin/git/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) ->

/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0).

Errors:

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/justin/git/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

Core/Gerber.cs(14,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?)
Artwork Related/GerberOutlineWriter.cs(4,7): error CS0246: The type or namespace name 'QiHe' could not be found (are you missing a using directive or an assembly reference?)
Core/GerberPanel.cs(13,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?)
Core/ImageCreator.cs(13,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?)
Core/SickOfBeige.cs(13,7): error CS0246: The type or namespace name 'Ionic' could not be found (are you missing a using directive or an assembly reference?)

/home/justin/git/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) ->

/home/justin/git/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: error : /home/justin/git/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  

 10 Warning(s)
 6 Error(s)

Time Elapsed 00:00:03.6874240

`

whitelynx commented 11 months ago

I'm having the same issue. (also on Manjaro Linux)

I was able to get rid of some of the issues by making a couple of changes to include DotNetZip (which apparently is the new drop-in replacement for Ionic.Zip) but I have no idea how to find QiHe.CodeLib.

Here's the changes I made:

diff --git a/GerberLibrary/GerberLibrary.csproj b/GerberLibrary/GerberLibrary.csproj
index c885beb..57ae871 100644
--- a/GerberLibrary/GerberLibrary.csproj
+++ b/GerberLibrary/GerberLibrary.csproj
@@ -89,6 +89,9 @@
     <Reference Include="Triangle, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL">
       <HintPath>..\GerberProjects\packages\Triangle.0.0.6-Beta3\lib\net45\Triangle.dll</HintPath>
     </Reference>
+    <Reference Include="DotNetZip, Version=1.16.0.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\GerberProjects\packages\DotNetZip.1.16.0\lib\net40\DotNetZip.dll</HintPath>
+    </Reference>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Artwork Related\BasicBounce.cs" />
diff --git a/build.sh b/build.sh
index 23cca53..ea5388a 100755
--- a/build.sh
+++ b/build.sh
@@ -30,6 +30,7 @@ nuget netDXF 0.9.3
 nuget GlmNet 0.5.1
 nuget DockPanelSuite 3.0.6
 nuget DockPanelSuite.ThemeVS2015 3.0.6
+nuget DotNetZip 1.16.0

 xbuild /p:Configuration=Debug GerberProjects/GerberProjects.sln

Even after these changes, we still get the QiHe.CodeLib error, as well as one that makes me think that maybe we're building on too new a version of .NET:

/home/whitelynx/Development/Other/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->

    /home/whitelynx/Development/Other/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: error : /home/whitelynx/Development/Other/GerberTools/GerberProjects/KicadPartsToCSV/KicadPartsToCSV.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.

Does anyone know where QiHe.CodeLib comes from? I don't see it on nuget.org or anywhere else that I've looked so far...