Files
V2GProtocol_CSharp/V2GProtocol.csproj
chiDT e09c63080e Port to .NET Framework 4.8 with C# 9.0 compatibility
- Change target framework from net6.0 to net48 with LangVersion 9.0
- Remove nullable reference types for .NET Framework compatibility
- Replace Convert.FromHexString/ToHexString with custom implementations
- Fix switch pattern matching to use traditional case statements
- Replace range operators with LINQ Take/Skip and Array.Copy
- Replace Math.Log2 with Math.Log(p)/Math.Log(2) formula
- Fix Contains method calls to use ToLower() instead of StringComparison

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 20:02:22 +09:00

37 lines
1.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net48</TargetFramework>
<LangVersion>9.0</LangVersion>
<AssemblyName>V2GDecoder</AssemblyName>
</PropertyGroup>
<ItemGroup>
<None Update="Data\2025-05-01_15-23-10_L460_AVM_AA8_3_DC_Charging_LGIT_32KW_T2_20to100_SOC.pcapng">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\dump0.dump">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\dump2.dump">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\dump1.dump">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\encode0.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\encode1.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\encode2.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Data\Xml.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>