feat: convert OpenNest.Engine to .NET 8 SDK-style project
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,84 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<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')" />
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<TargetFramework>net8.0-windows</TargetFramework>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProjectGuid>{0083B9CC-54AD-4085-A30D-56BC6834B71A}</ProjectGuid>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>OpenNest</RootNamespace>
|
<RootNamespace>OpenNest</RootNamespace>
|
||||||
<AssemblyName>OpenNest.Engine</AssemblyName>
|
<AssemblyName>OpenNest.Engine</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>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<ProjectReference Include="..\OpenNest.Core\OpenNest.Core.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="BestCombination.cs" />
|
|
||||||
<Compile Include="BestFit\PairCandidate.cs" />
|
|
||||||
<Compile Include="BestFit\BestFitResult.cs" />
|
|
||||||
<Compile Include="BestFit\IBestFitStrategy.cs" />
|
|
||||||
<Compile Include="BestFit\PairEvaluator.cs" />
|
|
||||||
<Compile Include="BestFit\BestFitFilter.cs" />
|
|
||||||
<Compile Include="BestFit\BestFitFinder.cs" />
|
|
||||||
<Compile Include="BestFit\RotationSlideStrategy.cs" />
|
|
||||||
<Compile Include="BestFit\Tiling\TileResult.cs" />
|
|
||||||
<Compile Include="BestFit\Tiling\TileEvaluator.cs" />
|
|
||||||
<Compile Include="CirclePacking\Bin.cs" />
|
|
||||||
<Compile Include="CirclePacking\FillEndEven.cs" />
|
|
||||||
<Compile Include="CirclePacking\FillEndOdd.cs" />
|
|
||||||
<Compile Include="CirclePacking\FillEngine.cs" />
|
|
||||||
<Compile Include="CirclePacking\Item.cs" />
|
|
||||||
<Compile Include="FillLinear.cs" />
|
|
||||||
<Compile Include="NestDirection.cs" />
|
|
||||||
<Compile Include="NestEngine.cs" />
|
|
||||||
<Compile Include="NestItem.cs" />
|
|
||||||
<Compile Include="Pattern.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="RectanglePacking\Bin.cs" />
|
|
||||||
<Compile Include="RectanglePacking\FillBestFit.cs" />
|
|
||||||
<Compile Include="RectanglePacking\FillEngine.cs" />
|
|
||||||
<Compile Include="RectanglePacking\Item.cs" />
|
|
||||||
<Compile Include="RectanglePacking\PackBottomLeft.cs" />
|
|
||||||
<Compile Include="RectanglePacking\PackEngine.cs" />
|
|
||||||
<Compile Include="RectanglePacking\FillNoRotation.cs" />
|
|
||||||
<Compile Include="RectanglePacking\FillSameRotation.cs" />
|
|
||||||
<Compile Include="RectanglePacking\PackFirstFitDecreasing.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\OpenNest.Core\OpenNest.Core.csproj">
|
|
||||||
<Project>{5a5fde8d-f8db-440e-866c-c4807e1686cf}</Project>
|
|
||||||
<Name>OpenNest.Core</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</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>
|
||||||
@@ -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.Engine")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("OpenNest.Engine")]
|
|
||||||
[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("50013ca9-b047-41f5-b519-72e523902b53")]
|
|
||||||
|
|
||||||
// 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.1.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("0.1.0.0")]
|
|
||||||
Reference in New Issue
Block a user