All csprojs should be on the same version. At the very least, it is a sensible default.
35 lines
1.0 KiB
XML
35 lines
1.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Google.Protobuf" Version="3.24.3" />
|
|
<PackageReference Include="YaccLexTools" Version="1.2.3" />
|
|
</ItemGroup>
|
|
|
|
<Choose>
|
|
<When Condition="'$(UseProjectRefs)' == 'true'">
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ExpressionCore\ExpressionCore.csproj" />
|
|
<ProjectReference Include="..\..\cs\Bts.Spark.Core\Bts.Spark.Core.csproj" />
|
|
</ItemGroup>
|
|
</When>
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<PackageReference Include="ExpressionCore" Version="$(SparkVersion)" />
|
|
<PackageReference Include="Bts.Spark.Core" Version="$(SparkVersion)" />
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
|
|
<ItemGroup>
|
|
<Scanner Include="BooleanExpressionTokens.lex" />
|
|
<Parser Include="BooleanExpressionGrammar.y" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|