您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

99 行
4.3 KiB

  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>netstandard2.0;netstandard2.1;net5;</TargetFrameworks>
  4. <LangVersion>9.0</LangVersion>
  5. <Copyright>Copyright 2018.</Copyright>
  6. <Authors>SmallChi</Authors>
  7. <PackageId>JT808</PackageId>
  8. <Product>JT808</Product>
  9. <Description>JT808协议、GB808协议、道路运输车辆卫星定位系统-北斗兼容车载终端通讯协议(支持2013、2019版本)</Description>
  10. <PackageReleaseNotes>JT808协议、GB808协议、道路运输车辆卫星定位系统-北斗兼容车载终端通讯协议(支持2013、2019版本)</PackageReleaseNotes>
  11. <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
  12. <RepositoryUrl>https://github.com/SmallChi/JT808</RepositoryUrl>
  13. <PackageProjectUrl>https://github.com/SmallChi/JT808</PackageProjectUrl>
  14. <licenseUrl>https://github.com/SmallChi/JT808/blob/master/LICENSE</licenseUrl>
  15. <license>https://github.com/SmallChi/JT808/blob/master/LICENSE</license>
  16. <DocumentationFile>JT808.Protocol.xml</DocumentationFile>
  17. <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
  18. <Version>2.3.3</Version>
  19. <PackageLicenseFile>LICENSE</PackageLicenseFile>
  20. <AnalysisLevel>latest</AnalysisLevel>
  21. <EnableNETAnalyzers>true</EnableNETAnalyzers>
  22. <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
  23. </PropertyGroup>
  24. <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
  25. <Optimize>false</Optimize>
  26. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  27. </PropertyGroup>
  28. <ItemGroup>
  29. <Compile Remove="Formatters\MessageBodyFormatters\**" />
  30. <Compile Remove="Metadata\JT808LocationAttachProperties\**" />
  31. <EmbeddedResource Remove="Formatters\MessageBodyFormatters\**" />
  32. <EmbeddedResource Remove="Metadata\JT808LocationAttachProperties\**" />
  33. <None Remove="Formatters\MessageBodyFormatters\**" />
  34. <None Remove="Metadata\JT808LocationAttachProperties\**" />
  35. <None Include="..\..\LICENSE">
  36. <Pack>True</Pack>
  37. <PackagePath></PackagePath>
  38. </None>
  39. </ItemGroup>
  40. <ItemGroup>
  41. <Compile Remove="Formatters\JT808HeaderFormatter.cs" />
  42. <Compile Remove="Formatters\JT808HeaderPackageFormatter.cs" />
  43. <Compile Remove="Formatters\JT808PackageFormatter.cs" />
  44. <Compile Remove="Formatters\JT808SplitPackageBodiesFormatter.cs" />
  45. <Compile Remove="IJT808BufferedEntity.cs" />
  46. <Compile Remove="IJT808Properties.cs" />
  47. <Compile Remove="JT808BufferedEntityBase.cs" />
  48. <Compile Remove="JT808GlobalConfig.cs" />
  49. <Compile Remove="JT808MessageBodyFactory.cs" />
  50. <Compile Remove="Metadata\JT808TerminalLoginRequestProperty.cs" />
  51. <Compile Remove="Metadata\JT808UploadLocationRequestProperty.cs" />
  52. </ItemGroup>
  53. <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
  54. <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
  55. <PackageReference Include="System.Buffers" Version="4.5.1" />
  56. <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
  57. <PackageReference Include="System.Memory" Version="4.5.4" />
  58. <PackageReference Include="System.Reflection.Extensions" Version="4.3.0" />
  59. <PackageReference Include="System.Text.Json" Version="5.0.0" />
  60. </ItemGroup>
  61. <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
  62. <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
  63. <PackageReference Include="System.Text.Json" Version="5.0.0" />
  64. </ItemGroup>
  65. <ItemGroup Condition=" '$(TargetFramework)' == 'net5' ">
  66. </ItemGroup>
  67. <ItemGroup>
  68. <PackageReference Include="System.Text.Encoding.CodePages" Version="5.0.0" />
  69. <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
  70. </ItemGroup>
  71. <ItemGroup>
  72. <None Update="Extensions\JT808PackageExtensionsTemplate.tt">
  73. <Generator>TextTemplatingFileGenerator</Generator>
  74. <LastGenOutput>JT808PackageExtensionsTemplate.cs</LastGenOutput>
  75. </None>
  76. </ItemGroup>
  77. <ItemGroup>
  78. <Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
  79. </ItemGroup>
  80. <ItemGroup>
  81. <Compile Update="Extensions\JT808PackageExtensionsTemplate.cs">
  82. <DesignTime>True</DesignTime>
  83. <AutoGen>True</AutoGen>
  84. <DependentUpon>JT808PackageExtensionsTemplate.tt</DependentUpon>
  85. </Compile>
  86. </ItemGroup>
  87. </Project>