Skip to content

Commit

Permalink
use correct framework
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperk81 committed Dec 4, 2023
1 parent 4de0855 commit 0cb7fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
<TargetPlatformMinVersion>7.0</TargetPlatformMinVersion>
<TargetFrameworks>netframework4.7.2;netcoreapp7.0-windows$(TargetPlatformVersion)</TargetFrameworks>
<TargetFrameworks>netframework4.7.2;net7.0-windows$(TargetPlatformVersion)</TargetFrameworks>
<Platforms>AnyCPU</Platforms>
<LangVersion>11.0</LangVersion>
<Version>2.12.2.0</Version>
Expand Down
4 changes: 2 additions & 2 deletions TTSHelperLibrary/TTSHelperLibrary.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup Condition="$(TargetFramework.StartsWith('netframework'))">
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
<Reference Include="System.Speech" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))">
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<PackageReference Include="System.Speech" Version="7.0.0"/>
</ItemGroup>

Expand Down

0 comments on commit 0cb7fb8

Please sign in to comment.