return only major version for FreeBSD so it is consistent with rid. Fix net45 build
authorTomas Weinfurt <toweinfurt@microsoft.com>
Wed, 20 Sep 2017 22:23:31 +0000 (15:23 -0700)
committerTomas Weinfurt <toweinfurt@microsoft.com>
Wed, 20 Sep 2017 22:23:31 +0000 (15:23 -0700)
commitf43d4653d6e8f71c56231fd1c0348b118f92e8f1
treeb9ce6a41abf8aac7580d75495c04333c156f34ec
parentbdd6888b5208916557a8f9f65d2b14a04fc78075
return only major version for FreeBSD so it is consistent with rid. Fix net45 build

Commit migrated from https://github.com/dotnet/core-setup/commit/b8a2d3c3c81bc9a3087c425080d1270bd7c5b16a
src/installer/corehost/common/pal.unix.cpp
src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj
src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Native/PlatformApis.cs
src/installer/managed/Microsoft.DotNet.PlatformAbstractions/RuntimeEnvironment.cs