Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 8e82e4a

Browse files
committed
Fix signing
1 parent 6b38183 commit 8e82e4a

File tree

10 files changed

+29
-20
lines changed

10 files changed

+29
-20
lines changed

src/CredentialManagement/CredentialManagement.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<NuGetPackageImportStamp>
1515
</NuGetPackageImportStamp>
1616
<TargetFrameworkProfile />
17+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1718
</PropertyGroup>
1819
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1920
<DebugSymbols>true</DebugSymbols>
@@ -32,7 +33,7 @@
3233
<ErrorReport>prompt</ErrorReport>
3334
<WarningLevel>4</WarningLevel>
3435
</PropertyGroup>
35-
<PropertyGroup>
36+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
3637
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
3738
<SignAssembly>true</SignAssembly>
3839
<DelaySign>false</DelaySign>
@@ -52,7 +53,7 @@
5253
<Reference Include="System.Xml" />
5354
</ItemGroup>
5455
<ItemGroup>
55-
<None Include="..\..\script\Key.snk">
56+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
5657
<Link>Key.snk</Link>
5758
</None>
5859
<Compile Include="..\common\SolutionInfo.cs">

src/GitHub.Api/GitHub.Api.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<AssemblyName>GitHub.Api</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1415
</PropertyGroup>
1516
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1617
<DebugSymbols>true</DebugSymbols>
@@ -37,7 +38,7 @@
3738
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
3839
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
3940
</PropertyGroup>
40-
<PropertyGroup>
41+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4142
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4243
<SignAssembly>true</SignAssembly>
4344
<DelaySign>false</DelaySign>
@@ -55,7 +56,7 @@
5556
</ItemGroup>
5657
<ItemGroup>
5758
<Compile Include="SimpleCredentialStore.cs" />
58-
<None Include="..\..\script\Key.snk">
59+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
5960
<Link>Key.snk</Link>
6061
</None>
6162
<Compile Include="Properties\AssemblyInfo.cs" />

src/GitHub.App/GitHub.App.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
4646
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
4747
</PropertyGroup>
48-
<PropertyGroup>
48+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4949
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
5050
<SignAssembly>true</SignAssembly>
5151
<DelaySign>false</DelaySign>
@@ -117,7 +117,7 @@
117117
<Reference Include="WindowsBase" />
118118
</ItemGroup>
119119
<ItemGroup>
120-
<None Include="..\..\script\Key.snk">
120+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
121121
<Link>Key.snk</Link>
122122
</None>
123123
<Compile Include="Caches\ImageCache.cs" />

src/GitHub.Exports.Reactive/GitHub.Exports.Reactive.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<AssemblyName>GitHub.Exports.Reactive</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1415
</PropertyGroup>
1516
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1617
<DebugSymbols>true</DebugSymbols>
@@ -37,7 +38,7 @@
3738
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
3839
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
3940
</PropertyGroup>
40-
<PropertyGroup>
41+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4142
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4243
<SignAssembly>true</SignAssembly>
4344
<DelaySign>false</DelaySign>
@@ -104,7 +105,7 @@
104105
<Compile Include="ViewModels\IRepositoryForm.cs" />
105106
<Compile Include="ViewModels\IRepositoryPublishViewModel.cs" />
106107
<Compile Include="ViewModels\ITwoFactorDialogViewModel.cs" />
107-
<None Include="..\..\script\Key.snk">
108+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
108109
<Link>Key.snk</Link>
109110
</None>
110111
<Compile Include="Helpers\ExceptionHelper.cs" />

src/GitHub.Exports/GitHub.Exports.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<AssemblyName>GitHub.Exports</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1415
</PropertyGroup>
1516
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1617
<DebugSymbols>true</DebugSymbols>
@@ -37,7 +38,7 @@
3738
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
3839
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
3940
</PropertyGroup>
40-
<PropertyGroup>
41+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4142
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4243
<SignAssembly>true</SignAssembly>
4344
<DelaySign>false</DelaySign>
@@ -92,7 +93,7 @@
9293
<Reference Include="WindowsBase" />
9394
</ItemGroup>
9495
<ItemGroup>
95-
<None Include="..\..\script\Key.snk">
96+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
9697
<Link>Key.snk</Link>
9798
</None>
9899
<Compile Include="Info\ApplicationInfo.cs" />

src/GitHub.Extensions.Reactive/GitHub.Extensions.Reactive.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<RunCodeAnalysis>true</RunCodeAnalysis>
1717
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
1818
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
19+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>
@@ -42,7 +43,7 @@
4243
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
4344
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
4445
</PropertyGroup>
45-
<PropertyGroup>
46+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4647
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4748
<SignAssembly>true</SignAssembly>
4849
<DelaySign>false</DelaySign>
@@ -80,7 +81,7 @@
8081
<Reference Include="WindowsBase" />
8182
</ItemGroup>
8283
<ItemGroup>
83-
<None Include="..\..\script\Key.snk">
84+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
8485
<Link>Key.snk</Link>
8586
</None>
8687
<Compile Include="Properties\AssemblyInfo.cs" />

src/GitHub.Extensions/GitHub.Extensions.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<RunCodeAnalysis>true</RunCodeAnalysis>
1717
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
1818
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
19+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>
@@ -42,7 +43,7 @@
4243
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
4344
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
4445
</PropertyGroup>
45-
<PropertyGroup>
46+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4647
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4748
<SignAssembly>true</SignAssembly>
4849
<DelaySign>false</DelaySign>
@@ -68,7 +69,7 @@
6869
<Reference Include="System.Xml" />
6970
</ItemGroup>
7071
<ItemGroup>
71-
<None Include="..\..\script\Key.snk">
72+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
7273
<Link>Key.snk</Link>
7374
</None>
7475
<Compile Include="GitRepoExtensions.cs" />

src/GitHub.UI.Reactive/GitHub.UI.Reactive.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<RunCodeAnalysis>true</RunCodeAnalysis>
1818
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
1919
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
20+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
2021
</PropertyGroup>
2122
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2223
<DebugSymbols>true</DebugSymbols>
@@ -43,7 +44,7 @@
4344
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
4445
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
4546
</PropertyGroup>
46-
<PropertyGroup>
47+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4748
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4849
<SignAssembly>true</SignAssembly>
4950
<DelaySign>false</DelaySign>
@@ -91,7 +92,7 @@
9192
<Reference Include="WindowsBase" />
9293
</ItemGroup>
9394
<ItemGroup>
94-
<None Include="..\..\script\Key.snk">
95+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
9596
<Link>Key.snk</Link>
9697
</None>
9798
<Compile Include="Controls\SimpleViewUserControl.cs" />

src/GitHub.UI/GitHub.UI.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<FileAlignment>512</FileAlignment>
1414
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1515
<NuGetPackageImportStamp>6e7ecf50</NuGetPackageImportStamp>
16+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1617
</PropertyGroup>
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>
@@ -39,7 +40,7 @@
3940
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
4041
<CodeAnalysisRuleSet>..\..\script\GitHubVS.ruleset</CodeAnalysisRuleSet>
4142
</PropertyGroup>
42-
<PropertyGroup>
43+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
4344
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
4445
<SignAssembly>true</SignAssembly>
4546
<DelaySign>false</DelaySign>
@@ -63,7 +64,7 @@
6364
<Reference Include="WindowsBase" />
6465
</ItemGroup>
6566
<ItemGroup>
66-
<None Include="..\..\script\Key.snk">
67+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
6768
<Link>Key.snk</Link>
6869
</None>
6970
<Compile Include="Controls\GitHubProgressBar.cs" />

src/GitHub.VisualStudio/GitHub.VisualStudio.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<NuGetPackageImportStamp>
88
</NuGetPackageImportStamp>
99
<TargetFrameworkProfile />
10+
<BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType>
1011
</PropertyGroup>
1112
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1213
<PropertyGroup>
@@ -68,7 +69,7 @@
6869
<OutputPath>..\..\build\Release\</OutputPath>
6970
<DeployExtension>False</DeployExtension>
7071
</PropertyGroup>
71-
<PropertyGroup>
72+
<PropertyGroup Condition="$(Buildtype) == 'Internal'">
7273
<AssemblyOriginatorKeyFile>..\..\script\Key.snk</AssemblyOriginatorKeyFile>
7374
<SignAssembly>true</SignAssembly>
7475
<DelaySign>false</DelaySign>
@@ -205,7 +206,7 @@
205206
</COMReference>
206207
</ItemGroup>
207208
<ItemGroup>
208-
<None Include="..\..\script\Key.snk">
209+
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
209210
<Link>Key.snk</Link>
210211
</None>
211212
<Compile Include="Base\TeamExplorerGitRepoInfo.cs" />

0 commit comments

Comments
 (0)