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
Add condition to only use open sign key when in a windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
joperezr committed Jan 27, 2016
1 parent ec57c6a commit 59e97f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/System.Buffers/src/System.Buffers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<ProjectGuid>{2ADDB484-6F57-4D71-A3FE-A57EC6329A2B}</ProjectGuid>
<PackageTargetFramework>dotnet5.2</PackageTargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseOpenKey>true</UseOpenKey>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'>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,7 +7,8 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<PackageTargetFramework>dotnet5.2</PackageTargetFramework>
<UseOpenKey>true</UseOpenKey>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'">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,7 +8,8 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageTargetFramework>dotnet5.1</PackageTargetFramework>
<UseOpenKey>true</UseOpenKey>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'>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,7 +7,8 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<PackageTargetFramework>dotnet5.1</PackageTargetFramework>
<UseOpenKey>true</UseOpenKey>
<!-- Disable Open Key on cross plat since Roslyn doesn't support it yet. -->
<UseOpenKey Condition="'$(OsEnvironment)'=='Windows_NT'>true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down

0 comments on commit 59e97f3

Please sign in to comment.