|
8 | 8 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
9 | 9 | <DefineConstants>$(DefineConstants);REGISTRY_ASSEMBLY</DefineConstants> |
10 | 10 | <IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netfx'">true</IsPartialFacadeAssembly> |
11 | | - <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetsWindows)' != 'true' AND '$(TargetGroup)' == 'netstandard'">SR.PlatformNotSupported_Registry</GeneratePlatformNotSupportedAssemblyMessage> |
| 11 | + <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(OSGroup)' == 'AnyOS' AND '$(TargetGroup)' == 'netstandard'">SR.PlatformNotSupported_Registry</GeneratePlatformNotSupportedAssemblyMessage> |
12 | 12 | <!-- |
13 | 13 | Temporarily necessary as this is only being built for UWP due to an unwanted dependency on it |
14 | 14 | https://github.com/dotnet/corefx/issues/15966 |
|
19 | 19 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" /> |
20 | 20 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" /> |
21 | 21 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Release|AnyCPU'" /> |
22 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp2.0-Unix-Debug|AnyCPU'" /> |
23 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp2.0-Unix-Release|AnyCPU'" /> |
24 | 22 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Windows_NT-Debug|AnyCPU'" /> |
25 | 23 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Windows_NT-Release|AnyCPU'" /> |
26 | 24 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" /> |
27 | 25 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Release|AnyCPU'" /> |
| 26 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Unix-Debug|AnyCPU'" /> |
| 27 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Unix-Release|AnyCPU'" /> |
28 | 28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Windows_NT-Debug|AnyCPU'" /> |
29 | 29 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Windows_NT-Release|AnyCPU'" /> |
30 | | - <ItemGroup Condition="$(TargetGroup.StartsWith('netcoreapp')) OR ('$(TargetGroup)' == 'netstandard' AND '$(TargetsWindows)' == 'true')"> |
| 30 | + <ItemGroup Condition="'$(TargetGroup)' != 'netfx' AND '$(OSGroup)' != 'AnyOS'"> |
31 | 31 | <Compile Include="$(CommonPath)\Interop\Windows\advapi32\Interop.RegistryOptions.cs"> |
32 | 32 | <Link>Common\Interop\Windows\Interop.RegistryOptions.cs</Link> |
33 | 33 | </Compile> |
|
44 | 44 | <Compile Include="System\Security\AccessControl\RegistryRights.cs" /> |
45 | 45 | <Compile Include="System\Security\AccessControl\RegistrySecurity.cs" /> |
46 | 46 | </ItemGroup> |
47 | | - <ItemGroup Condition="($(TargetGroup.StartsWith('netcoreapp')) OR '$(TargetGroup)' == 'netstandard') AND '$(TargetsWindows)' == 'true'"> |
| 47 | + <ItemGroup Condition="'$(TargetGroup)' != 'netfx' AND '$(TargetsWindows)' == 'true'"> |
48 | 48 | <Compile Include="$(CommonPath)\Interop\Windows\Interop.Libraries.cs"> |
49 | 49 | <Link>Common\Interop\Windows\Interop.Libraries.cs</Link> |
50 | 50 | </Compile> |
|
0 commit comments