Convert from .NET Framework 4.8 legacy csproj to .NET 8 SDK-style. Add ComHelper class for COM Running Object Table access, replacing Marshal.GetActiveObject which is not available in .NET Core. Add EF Core and System.Configuration.ConfigurationManager packages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<OutputType>WinExe</OutputType>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<Nullable>disable</Nullable>
|
|
<RootNamespace>ExportDXF</RootNamespace>
|
|
<AssemblyName>ExportDXF</AssemblyName>
|
|
<ApplicationIcon />
|
|
<StartupObject />
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.11" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.11">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="SolidWorks.Interop.sldworks">
|
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.sldworks.dll</HintPath>
|
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="SolidWorks.Interop.swconst">
|
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.swconst.dll</HintPath>
|
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\EtchBendLines\EtchBendLines\EtchBendLines.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="Templates\Blank.drwdot">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
|
|
</Project>
|