Phase 11 complete: - ArgParser.cs: CLI parsing extracted from Program.cs (pure static method) - Program.cs: no static state; Scarica/Invia take explicit InputArgs param - Program.cs: try/finally with connected flag — fixes connection leak on exception - Program.cs: PrintErrors helper surfaces CncResult.Errors on every failure - AesCrypt.cs: deleted (dead code, zero references) - NcProgramManager.csproj: AesCrypt.cs → ArgParser.cs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
155 lines
No EOL
7.4 KiB
XML
Executable file
155 lines
No EOL
7.4 KiB
XML
Executable file
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{1032188B-3321-42B2-87ED-343BF718CAF5}</ProjectGuid>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>NcProgramManager</RootNamespace>
|
|
<AssemblyName>NcProgramManager</AssemblyName>
|
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<Deterministic>true</Deterministic>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignManifests>false</SignManifests>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
<HintPath>packages\Microsoft.Bcl.AsyncInterfaces.7.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
<HintPath>packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Net.Http" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="ArgParser.cs" />
|
|
<Compile Include="FanucProgram.cs" />
|
|
<Compile Include="InputArgs.cs" />
|
|
<Compile Include="fwlib32.cs" />
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Cnc\ICncMachine.cs" />
|
|
<Compile Include="Cnc\IFanucMachine.cs" />
|
|
<Compile Include="Cnc\Fanuc\FanucCapabilities.cs" />
|
|
<Compile Include="Cnc\Fanuc\FanucConnectionConfig.cs" />
|
|
<Compile Include="Cnc\Fanuc\FanucDialect.cs" />
|
|
<Compile Include="Cnc\Fanuc\FanucDialectDetector.cs" />
|
|
<Compile Include="Cnc\Fanuc\FanucErrorTranslator.cs" />
|
|
<Compile Include="Cnc\Fanuc\FanucMachine.cs" />
|
|
<Compile Include="Cnc\Fanuc\FocasDialectFactory.cs" />
|
|
<Compile Include="Cnc\Fanuc\IFocasDialect.cs" />
|
|
<Compile Include="Cnc\Fanuc\IsoProgramFormatter.cs" />
|
|
<Compile Include="Cnc\Fanuc\LegacyFocasDialect.cs" />
|
|
<Compile Include="Cnc\Fanuc\ModernFocasDialect.cs" />
|
|
<Compile Include="Cnc\Models\CncError.cs" />
|
|
<Compile Include="Cnc\Models\CncManufacturer.cs" />
|
|
<Compile Include="Cnc\Models\CncProgram.cs" />
|
|
<Compile Include="Cnc\Models\CncResult.cs" />
|
|
<Compile Include="Cnc\Models\ConnectionState.cs" />
|
|
<Compile Include="Cnc\Models\MachineMode.cs" />
|
|
<Compile Include="Cnc\Models\MachineSnapshot.cs" />
|
|
<Compile Include="Cnc\Models\MotionState.cs" />
|
|
<Compile Include="Cnc\Models\RunState.cs" />
|
|
<Compile Include="Cnc\Models\ValidationSeverity.cs" />
|
|
<Compile Include="Cnc\Models\ValidationError.cs" />
|
|
<Compile Include="Cnc\Models\ValidationResult.cs" />
|
|
<Compile Include="Cnc\INcProgramValidator.cs" />
|
|
<Compile Include="Cnc\NcProgramValidator.cs" />
|
|
<Compile Include="Cnc\CncMachineFactory.cs" />
|
|
<Compile Include="Cnc\Heidenhain\HeidenhainConnectionConfig.cs" />
|
|
<Compile Include="Cnc\Heidenhain\ILsv2Client.cs" />
|
|
<Compile Include="Cnc\Heidenhain\Lsv2Client.cs" />
|
|
<Compile Include="Cnc\Heidenhain\HeidenhainMachine.cs" />
|
|
<Compile Include="Cnc\Siemens\SiemensConnectionConfig.cs" />
|
|
<Compile Include="Cnc\Siemens\ISiemensFtpClient.cs" />
|
|
<Compile Include="Cnc\Siemens\SiemensFtpClient.cs" />
|
|
<Compile Include="Cnc\Siemens\SiemensMachine.cs" />
|
|
<Compile Include="Cnc\Mitsubishi\MitsubishiConnectionConfig.cs" />
|
|
<Compile Include="Cnc\Mitsubishi\IMitsubishiFtpClient.cs" />
|
|
<Compile Include="Cnc\Mitsubishi\MitsubishiFtpClient.cs" />
|
|
<Compile Include="Cnc\Mitsubishi\MitsubishiMachine.cs" />
|
|
<Compile Include="Licensing\IMachineFingerprint.cs" />
|
|
<Compile Include="Licensing\ILicenseValidator.cs" />
|
|
<Compile Include="Licensing\LicenseFile.cs" />
|
|
<Compile Include="Licensing\MachineFingerprint.cs" />
|
|
<Compile Include="Licensing\LicenseValidator.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="App.config" />
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Cnc\Fanuc\libs\Fwlib32.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Cnc\Fanuc\libs\fwlibe1.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Cnc\Fanuc\libs\fwlibNCG.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 e x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
</Project> |