Skip to content

Commit a447042

Browse files
committed
chore: make Demo single-framework targeted to simplify running
1 parent 48a397b commit a447042

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

TonLibDotNet.Demo/TonLibDotNet.Demo.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
5+
<TargetFramework>net6.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<RootNamespace>TonLibDotNet</RootNamespace>
@@ -18,6 +18,11 @@
1818
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
1919
</ItemGroup>
2020

21+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
22+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
23+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
24+
</ItemGroup>
25+
2126
<ItemGroup>
2227
<ProjectReference Include="..\TonLibDotNet\TonLibDotNet.csproj" />
2328
</ItemGroup>

0 commit comments

Comments
 (0)