Skip to content

Commit 21a1f45

Browse files
committed
Fix compile errors on .NET Framework.
1 parent f3e91f2 commit 21a1f45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generator/ServiceClientGeneratorLib/ServiceClientGeneratorLib.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,9 @@
738738
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
739739
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" />
740740
</ItemGroup>
741+
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
742+
<Reference Include="Microsoft.CSharp" />
743+
</ItemGroup>
741744
<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
742745
<PackageReference Include="System.CodeDom" Version="6.0.0" />
743746
</ItemGroup>

0 commit comments

Comments
 (0)