All csprojs should be on the same version. At the very least, it is a sensible default.
25 lines
709 B
XML
25 lines
709 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<Choose>
|
|
<When Condition="'$(UseProjectRefs)' == 'true'">
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\cs\Bts.Spark.Core\Bts.Spark.Core.csproj" />
|
|
<ProjectReference Include="..\Bts.Net\Bts.Net.csproj" />
|
|
</ItemGroup>
|
|
</When>
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<PackageReference Include="Bts.Spark.Core" Version="$(SparkVersion)" />
|
|
<PackageReference Include="Bts.Net" Version="$(SparkVersion)" />
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
|
|
</Project>
|