Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Move control of UseOpenKey to dir.props to mimic the Ecma key issue
Browse files Browse the repository at this point in the history
  • Loading branch information
joperezr committed Jan 28, 2016
1 parent 42ffafd commit 7f2c51b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 6 additions & 0 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@
-->
<UseECMAKey>false</UseECMAKey>

<!--
Full signing with Open key doesn't work with Portable Csc.
https://github.com/dotnet/roslyn/issues/8210
-->
<UseOpenKey>false</UseOpenKey>

<!--
Mono currently doesn't include VB targets for portable, notably /lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.VisualBasic.targets.
Fixed in https://github.com/mono/mono/pull/1726.
Expand Down
3 changes: 1 addition & 2 deletions src/System.Buffers/src/System.Buffers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<ProjectGuid>{2ADDB484-6F57-4D71-A3FE-A57EC6329A2B}</ProjectGuid>
<PackageTargetFramework>dotnet5.2</PackageTargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. See issue: https://github.com/dotnet/roslyn/issues/8210 -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'">true</UseOpenKey>
<UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<PackageTargetFramework>dotnet5.2</PackageTargetFramework>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. See issue: https://github.com/dotnet/roslyn/issues/8210 -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'">true</UseOpenKey>
<UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageTargetFramework>dotnet5.1</PackageTargetFramework>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. See issue: https://github.com/dotnet/roslyn/issues/8210 -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'">true</UseOpenKey>
<UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<PackageTargetFramework>dotnet5.1</PackageTargetFramework>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. See issue: https://github.com/dotnet/roslyn/issues/8210 -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'">true</UseOpenKey>
<UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down

0 comments on commit 7f2c51b

Please sign in to comment.