This is a new warning, introduced in net7.0, that disallows lowercase class names. Our spark_crypto.prod branch currently uses protoc v3.19.1, which is incompatible with this new warning, as it generates classes with lowercase names. We can re-enable the warning when we upgrade protoc to 3.21.12 (this has been done in the api server branch).
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<Authors>Blue Trading Systems</Authors>
|
|
<Company>Blue Trading Systems</Company>
|
|
<Description />
|
|
<PackageId>Spark_API</PackageId>
|
|
<Product>Spark</Product>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<Platforms>x64</Platforms>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<WarningsAsErrors />
|
|
<NoWarn>8981</NoWarn>
|
|
<Version>$(major).$(minor).$(patch)</Version>
|
|
<Version Condition="'$(version)'=='..'">0.0.0</Version>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../spark_core/spark_core.csproj" />
|
|
<PackageReference Include="Google.Protobuf" Version="3.21.4" />
|
|
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
|
|
<PackageReference Include="System.Reactive" Version="5.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Proto3 Include="**/*.proto" />
|
|
<Proto3 Include="../../lib/api/*.proto" />
|
|
<Proto3 Include="../../lib/api/analytics/*.proto" />
|
|
<Proto3 Include="../../lib/api/domain/*.proto" />
|
|
<Proto3 Include="../../lib/api/services/*.proto" />
|
|
<Proto3 Include="../../lib/md/protos/co2.proto" />
|
|
<Proto3 Include="../../lib/domain_model/Security.proto" />
|
|
<Proto3 Include="../../lib/sparkproto/SparkProtos.proto" />
|
|
<Proto3 Update="../../lib/api/services/OutOfProcessURLListener.proto">
|
|
</Proto3>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Proto2
|
|
Include="../../lib/config/protos/*.proto"
|
|
Exclude="../../lib/config/protos/system.proto" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|