Skip to content

Commit 6602c04

Browse files
committed
Strongly name the client and test assemblies
1 parent a737706 commit 6602c04

14 files changed

+76
-45
lines changed

DotNetSDataClient.snk

596 Bytes
Binary file not shown.

Saleslogix.SData.Client.Test/Saleslogix.SData.Client.Test_2_0.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
<AssemblyName>Saleslogix.SData.Client.Test</AssemblyName>
1313
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>
1820
<DebugType>full</DebugType>
1921
<Optimize>false</Optimize>
2022
<OutputPath>bin\Debug\Net20\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG;NET_2_0;SIMPLE_JSON_NO_LINQ_EXPRESSION</DefineConstants>
23+
<DefineConstants>DEBUG;TRACE;NET_2_0;SIMPLE_JSON_NO_LINQ_EXPRESSION</DefineConstants>
2224
<ErrorReport>prompt</ErrorReport>
2325
<WarningLevel>4</WarningLevel>
2426
</PropertyGroup>

Saleslogix.SData.Client.Test/Saleslogix.SData.Client.Test_3_5.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
<AssemblyName>Saleslogix.SData.Client.Test</AssemblyName>
1313
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>
1820
<DebugType>full</DebugType>
1921
<Optimize>false</Optimize>
2022
<OutputPath>bin\Debug\Net35\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG;NET_3_5</DefineConstants>
23+
<DefineConstants>DEBUG;TRACE;NET_3_5</DefineConstants>
2224
<ErrorReport>prompt</ErrorReport>
2325
<WarningLevel>4</WarningLevel>
2426
</PropertyGroup>

Saleslogix.SData.Client.Test/Saleslogix.SData.Client.Test_4_0.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
<AssemblyName>Saleslogix.SData.Client.Test</AssemblyName>
1313
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>
1820
<DebugType>full</DebugType>
1921
<Optimize>false</Optimize>
2022
<OutputPath>bin\Debug\Net40\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG;NET_4_0</DefineConstants>
23+
<DefineConstants>DEBUG;TRACE;NET_4_0</DefineConstants>
2224
<ErrorReport>prompt</ErrorReport>
2325
<WarningLevel>4</WarningLevel>
2426
</PropertyGroup>

Saleslogix.SData.Client.Test/Saleslogix.SData.Client.Test_NETFX.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
<FileAlignment>512</FileAlignment>
1414
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1515
<DefaultLanguage>en-US</DefaultLanguage>
16+
<SignAssembly>true</SignAssembly>
17+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1618
</PropertyGroup>
1719
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1820
<DebugSymbols>true</DebugSymbols>
1921
<DebugType>full</DebugType>
2022
<Optimize>false</Optimize>
2123
<OutputPath>bin\Debug\NetFX\</OutputPath>
22-
<DefineConstants>TRACE;DEBUG;NETFX_CORE</DefineConstants>
24+
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
2325
<ErrorReport>prompt</ErrorReport>
2426
<WarningLevel>4</WarningLevel>
2527
</PropertyGroup>
@@ -151,7 +153,7 @@
151153
<Reference Include="Moq.Silverlight">
152154
<HintPath>..\dependencies\Moq\Silverlight4\Moq.Silverlight.dll</HintPath>
153155
</Reference>
154-
<Reference Include="nunit.framework, Version=2.5.5.10112, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
156+
<Reference Include="nunit.framework">
155157
<SpecificVersion>False</SpecificVersion>
156158
<HintPath>..\dependencies\NUnit\nunit.framework.dll</HintPath>
157159
</Reference>

Saleslogix.SData.Client.Test/Saleslogix.SData.Client.Test_PCL.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
<AssemblyName>Saleslogix.SData.Client.Test</AssemblyName>
1313
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>
1820
<DebugType>full</DebugType>
1921
<Optimize>false</Optimize>
2022
<OutputPath>bin\Debug\Portable\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG;PCL</DefineConstants>
23+
<DefineConstants>DEBUG;TRACE;PCL</DefineConstants>
2224
<ErrorReport>prompt</ErrorReport>
2325
<WarningLevel>4</WarningLevel>
2426
<Prefer32Bit>false</Prefer32Bit>
@@ -33,6 +35,7 @@
3335
<Prefer32Bit>false</Prefer32Bit>
3436
</PropertyGroup>
3537
<ItemGroup>
38+
<Reference Include="Microsoft.CSharp" />
3639
<Reference Include="Moq">
3740
<HintPath>..\dependencies\Moq\NET40\Moq.dll</HintPath>
3841
</Reference>

Saleslogix.SData.Client.Test/Saleslogix.SData.Client.Test_SL5.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<SilverlightApplication>false</SilverlightApplication>
1818
<ValidateXaml>true</ValidateXaml>
1919
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
20+
<SignAssembly>true</SignAssembly>
21+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
2022
</PropertyGroup>
2123
<!-- This property group is only here to support building this project using the
2224
MSBuild 3.5 toolset. In order to work correctly with this older toolset, it needs
@@ -46,6 +48,7 @@
4648
<WarningLevel>4</WarningLevel>
4749
</PropertyGroup>
4850
<ItemGroup>
51+
<Reference Include="Microsoft.CSharp" />
4952
<Reference Include="Moq.Silverlight">
5053
<HintPath>..\dependencies\Moq\Silverlight4\Moq.Silverlight.dll</HintPath>
5154
</Reference>

Saleslogix.SData.Client/Properties/AssemblyInfo.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@
2525
// You can specify all the values or you can default the Build and Revision Numbers
2626
// by using the '*' as shown below:
2727

28-
[assembly: AssemblyVersion("2.0.0.1530")]
29-
[assembly: AssemblyFileVersion("2.0.0.1530")]
28+
[assembly: AssemblyVersion("2.0.0.1531")]
29+
[assembly: AssemblyFileVersion("2.0.0.1531")]
3030
[assembly: NeutralResourcesLanguage("en-US")]
3131
[assembly: AssemblyInformationalVersion("2.0")]
32-
[assembly: InternalsVisibleTo("Saleslogix.SData.Client.Test")]
32+
[assembly: InternalsVisibleTo("Saleslogix.SData.Client.Test, PublicKey=" +
33+
"00240000048000009400000006020000002400005253413100040000010001004f6d7cc2aca5bf" +
34+
"a8d454d328b17b843b6e660947a1b16f179307ff46cba02baef4670c51eba6a98e724b95e43719" +
35+
"ba64860cfbc229fc25234cfcfdf25f65df85eb8b0c6bad0aa6fa5b9bf945ef5062aa131ba5939d" +
36+
"170c2a059860a64281f71cd8662f816f1fe0e7263c701408a55c30923ee0620ab622ec7f6fbf73" +
37+
"dfb01894")]

Saleslogix.SData.Client/Saleslogix.SData.Client_2_0.csproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,28 @@
1212
<AssemblyName>Saleslogix.SData.Client</AssemblyName>
1313
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>
1820
<DebugType>full</DebugType>
1921
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\Net20\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG;NET_2_0;SIMPLE_JSON_NO_LINQ_EXPRESSION</DefineConstants>
22+
<OutputPath>..\bin\Debug\Net20\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE;NET_2_0;SIMPLE_JSON_NO_LINQ_EXPRESSION</DefineConstants>
2224
<ErrorReport>prompt</ErrorReport>
2325
<WarningLevel>4</WarningLevel>
24-
<DocumentationFile>bin\Debug\Net20\Saleslogix.SData.Client.xml</DocumentationFile>
26+
<DocumentationFile>..\bin\Debug\Net20\Saleslogix.SData.Client.xml</DocumentationFile>
2527
<NoWarn>1591</NoWarn>
2628
</PropertyGroup>
2729
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2830
<DebugType>pdbonly</DebugType>
2931
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\Net20\</OutputPath>
32+
<OutputPath>..\bin\Release\Net20\</OutputPath>
3133
<DefineConstants>TRACE;NET_2_0;SIMPLE_JSON_NO_LINQ_EXPRESSION</DefineConstants>
3234
<ErrorReport>prompt</ErrorReport>
3335
<WarningLevel>4</WarningLevel>
34-
<DocumentationFile>bin\Release\Net20\Saleslogix.SData.Client.xml</DocumentationFile>
36+
<DocumentationFile>..\bin\Release\Net20\Saleslogix.SData.Client.xml</DocumentationFile>
3537
<NoWarn>1591</NoWarn>
3638
</PropertyGroup>
3739
<ItemGroup>

Saleslogix.SData.Client/Saleslogix.SData.Client_3_5.csproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,28 @@
1313
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
16+
<SignAssembly>true</SignAssembly>
17+
<AssemblyOriginatorKeyFile>..\DotNetSDataClient.snk</AssemblyOriginatorKeyFile>
1618
</PropertyGroup>
1719
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1820
<DebugSymbols>true</DebugSymbols>
1921
<DebugType>full</DebugType>
2022
<Optimize>false</Optimize>
21-
<OutputPath>bin\Debug\Net35\</OutputPath>
22-
<DefineConstants>TRACE;DEBUG;NET_3_5</DefineConstants>
23+
<OutputPath>..\bin\Debug\Net35\</OutputPath>
24+
<DefineConstants>DEBUG;TRACE;NET_3_5</DefineConstants>
2325
<ErrorReport>prompt</ErrorReport>
2426
<WarningLevel>4</WarningLevel>
25-
<DocumentationFile>bin\Debug\Net35\Saleslogix.SData.Client.xml</DocumentationFile>
27+
<DocumentationFile>..\bin\Debug\Net35\Saleslogix.SData.Client.xml</DocumentationFile>
2628
<NoWarn>1591</NoWarn>
2729
</PropertyGroup>
2830
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2931
<DebugType>pdbonly</DebugType>
3032
<Optimize>true</Optimize>
31-
<OutputPath>bin\Release\Net35\</OutputPath>
33+
<OutputPath>..\bin\Release\Net35\</OutputPath>
3234
<DefineConstants>TRACE;NET_3_5</DefineConstants>
3335
<ErrorReport>prompt</ErrorReport>
3436
<WarningLevel>4</WarningLevel>
35-
<DocumentationFile>bin\Release\Net35\Saleslogix.SData.Client.xml</DocumentationFile>
37+
<DocumentationFile>..\bin\Release\Net35\Saleslogix.SData.Client.xml</DocumentationFile>
3638
<NoWarn>1591</NoWarn>
3739
</PropertyGroup>
3840
<ItemGroup>

0 commit comments

Comments
 (0)