feat: convert OpenNest.Core to .NET 8 SDK-style project

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 13:21:16 -05:00
parent afca2068cc
commit 6ce81d99a7
2 changed files with 4 additions and 142 deletions

View File

@@ -1,113 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5A5FDE8D-F8DB-440E-866C-C4807E1686CF}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFramework>net8.0-windows</TargetFramework>
<RootNamespace>OpenNest</RootNamespace>
<AssemblyName>OpenNest.Core</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Drawing" />
<PackageReference Include="System.Drawing.Common" Version="8.0.10" />
</ItemGroup>
<ItemGroup>
<Compile Include="Align.cs" />
<Compile Include="AlignType.cs" />
<Compile Include="Math\Angle.cs" />
<Compile Include="CNC\KerfType.cs" />
<Compile Include="CNC\CodeType.cs" />
<Compile Include="CNC\LayerType.cs" />
<Compile Include="CNC\Mode.cs" />
<Compile Include="CutParameters.cs" />
<Compile Include="Drawing.cs" />
<Compile Include="Collections\DrawingCollection.cs" />
<Compile Include="Math\EvenOdd.cs" />
<Compile Include="Converters\ConvertGeometry.cs" />
<Compile Include="CNC\ArcMove.cs" />
<Compile Include="CNC\Comment.cs" />
<Compile Include="CNC\ICode.cs" />
<Compile Include="CNC\LinearMove.cs" />
<Compile Include="CNC\Motion.cs" />
<Compile Include="CNC\RapidMove.cs" />
<Compile Include="CNC\Feedrate.cs" />
<Compile Include="CNC\Kerf.cs" />
<Compile Include="CNC\SubProgramCall.cs" />
<Compile Include="Math\Generic.cs" />
<Compile Include="Geometry\Arc.cs" />
<Compile Include="Geometry\BoundingBox.cs" />
<Compile Include="Geometry\Box.cs" />
<Compile Include="Geometry\BoxSplitter.cs" />
<Compile Include="Geometry\Circle.cs" />
<Compile Include="Geometry\ConvexHull.cs" />
<Compile Include="Geometry\RotatingCalipers.cs" />
<Compile Include="Geometry\DefinedShape.cs" />
<Compile Include="Geometry\Entity.cs" />
<Compile Include="Geometry\EntityType.cs" />
<Compile Include="Helper.cs" />
<Compile Include="Geometry\IBoundable.cs" />
<Compile Include="Geometry\Layer.cs" />
<Compile Include="Geometry\Line.cs" />
<Compile Include="OffsetSide.cs" />
<Compile Include="Geometry\Polygon.cs" />
<Compile Include="RelativePosition.cs" />
<Compile Include="RotationType.cs" />
<Compile Include="Geometry\Shape.cs" />
<Compile Include="Geometry\Size.cs" />
<Compile Include="Math\Tolerance.cs" />
<Compile Include="Units.cs" />
<Compile Include="Geometry\Vector.cs" />
<Compile Include="IPostProcessor.cs" />
<Compile Include="NestConstraints.cs" />
<Compile Include="Sequence.cs" />
<Compile Include="SpecialLayers.cs" />
<Compile Include="Material.cs" />
<Compile Include="Converters\ConvertMode.cs" />
<Compile Include="Nest.cs" />
<Compile Include="Part.cs" />
<Compile Include="PushDirection.cs" />
<Compile Include="Collections\ObservableList.cs" />
<Compile Include="Plate.cs" />
<Compile Include="CNC\Program.cs" />
<Compile Include="Converters\ConvertProgram.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="DwgQty.cs" />
<Compile Include="Geometry\Spacing.cs" />
<Compile Include="Timing.cs" />
<Compile Include="TimingInfo.cs" />
<Compile Include="Math\Trigonometry.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>

View File

@@ -1,35 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OpenNest.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OpenNest.Core")]
[assembly: AssemblyCopyright("Copyright © AJ Isaacs 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("13d3c141-e430-4f27-9098-60d6f93e2a7b")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.4.0.0")]
[assembly: AssemblyFileVersion("0.4.0.0")]