Skip to content

Commit eb1db9b

Browse files
committed
PublicSign .net only
1 parent cb6474a commit eb1db9b

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

csharp/PhoneNumbers.Extensions.Test/PhoneNumbers.Extensions.Test.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<PropertyGroup Condition="'$(APPVEYOR_PULL_REQUEST_NUMBER)' == ''">
1414
<SignAssembly>true</SignAssembly>
1515
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
16+
</PropertyGroup>
17+
18+
<PropertyGroup Condition="'($(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net9.0) And $(APPVEYOR_PULL_REQUEST_NUMBER)'">
1619
<PublicSign>true</PublicSign>
1720
</PropertyGroup>
1821

csharp/PhoneNumbers.Extensions/PhoneNumbers.Extensions.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
<PropertyGroup Condition="'$(APPVEYOR_PULL_REQUEST_NUMBER)' == ''">
3131
<SignAssembly>true</SignAssembly>
3232
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
33+
</PropertyGroup>
34+
35+
<PropertyGroup Condition="'($(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net9.0) And $(APPVEYOR_PULL_REQUEST_NUMBER)'">
3336
<PublicSign>true</PublicSign>
3437
</PropertyGroup>
3538

csharp/PhoneNumbers.Test/PhoneNumbers.Test.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<PropertyGroup Condition="'$(APPVEYOR_PULL_REQUEST_NUMBER)' == ''">
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
15+
</PropertyGroup>
16+
17+
<PropertyGroup Condition="'($(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net9.0) And $(APPVEYOR_PULL_REQUEST_NUMBER)'">
1518
<PublicSign>true</PublicSign>
1619
</PropertyGroup>
1720

csharp/PhoneNumbers/PhoneNumbers.csproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@
3232
<PropertyGroup Condition="'$(APPVEYOR_PULL_REQUEST_NUMBER)' == ''">
3333
<SignAssembly>true</SignAssembly>
3434
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
35-
<PublicSign>true</PublicSign>
3635
<DefineConstants>$(DefineConstants);SIGNED</DefineConstants>
3736
</PropertyGroup>
3837

38+
<PropertyGroup Condition="'($(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net9.0) And $(APPVEYOR_PULL_REQUEST_NUMBER)'">
39+
<PublicSign>true</PublicSign>
40+
</PropertyGroup>
41+
42+
3943
<ItemGroup>
4044
<EmbeddedResource Include="..\..\resources\*.xml" Exclude="..\..\resources\PhoneNumberMetadataForTesting.xml" />
4145
<EmbeddedResource Include="..\..\resources\timezones\map_data.txt" LinkBase="timezones" />

0 commit comments

Comments
 (0)