|
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<!-- CRITICAL: Must be false for SolidWorks COM interop -->
|
|
<EmbedInteropTypes>false</EmbedInteropTypes>
|
|
<NoWarn>CA1416</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Reference the locally generated interop assemblies -->
|
|
<Reference Include="SolidWorks.Interop.sldworks">
|
|
<HintPath>lib\SolidWorks.Interop.sldworks.dll</HintPath>
|
|
<EmbedInteropTypes>false</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="SolidWorks.Interop.swconst">
|
|
<HintPath>lib\SolidWorks.Interop.swconst.dll</HintPath>
|
|
<EmbedInteropTypes>false</EmbedInteropTypes>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|