Skip to content

Commit

Permalink
Fix net35 build on command line
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed Feb 26, 2018
1 parent aba6a0e commit 990bb73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/TimeZoneConverter/TimeZoneConverter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<EmbeddedResource Include="Data\*" />
</ItemGroup>

<PropertyGroup>
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35'">$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net45'">
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
</ItemGroup>
Expand Down

0 comments on commit 990bb73

Please sign in to comment.