Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Add StrongName to all projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed Mar 19, 2010
1 parent 6512259 commit a715de0
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 58 deletions.
11 changes: 2 additions & 9 deletions MongoDB.GridFS.Tests/AssemblyInfo.cs
@@ -1,6 +1,5 @@
using System.Reflection;
using System.Runtime.CompilerServices;

using System.Reflection;

// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.

Expand All @@ -18,9 +17,3 @@
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.*")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
5 changes: 5 additions & 0 deletions MongoDB.GridFS.Tests/MongoDB.GridFS.Tests.csproj
Expand Up @@ -10,6 +10,8 @@
<AssemblyName>MongoDB.GridFS.Tests</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<RootNamespace>MongoDB.GridFS.Tests</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\StrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -45,6 +47,9 @@
<None Include="..\MongoDB.Net-Tests\App.config">
<Link>App.config</Link>
</None>
<None Include="..\StrongName.snk">
<Link>StrongName.snk</Link>
</None>
<None Include="MongoDB.GridFS.Tests.csproj" />
</ItemGroup>
<ItemGroup>
Expand Down
11 changes: 2 additions & 9 deletions MongoDB.GridFS/AssemblyInfo.cs
@@ -1,6 +1,5 @@
using System.Reflection;
using System.Runtime.CompilerServices;

using System.Reflection;

// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.

Expand All @@ -18,9 +17,3 @@
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.*")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
7 changes: 7 additions & 0 deletions MongoDB.GridFS/MongoDB.GridFS.csproj
Expand Up @@ -10,6 +10,8 @@
<AssemblyName>MongoDB.GridFS</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<RootNamespace>MongoDB.GridFS</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\StrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -45,5 +47,10 @@
<Name>MongoDB.Driver</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\StrongName.snk">
<Link>StrongName.snk</Link>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
5 changes: 5 additions & 0 deletions MongoDB.Linq.Tests/MongoDB.Linq.Tests.csproj
Expand Up @@ -12,6 +12,8 @@
<AssemblyName>MongoDB.Linq.Tests</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\StrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -75,6 +77,9 @@
<None Include="..\MongoDB.Net-Tests\App.config">
<Link>App.config</Link>
</None>
<None Include="..\StrongName.snk">
<Link>StrongName.snk</Link>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
19 changes: 19 additions & 0 deletions MongoDB.Linq/AssemblyInfo.cs
@@ -0,0 +1,19 @@
using System.Reflection;

// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.

[assembly: AssemblyTitle("MongoDB.Linq")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.*")]
9 changes: 8 additions & 1 deletion MongoDB.Linq/MongoDB.Linq.csproj
Expand Up @@ -12,6 +12,8 @@
<AssemblyName>MongoDB.Linq</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\StrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -45,6 +47,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="ExpressionTreeVisitor.cs" />
<Compile Include="MongoDocumentQuery.cs" />
<Compile Include="IMongoQuery.cs" />
Expand All @@ -53,14 +56,18 @@
<Compile Include="MongoQuery.cs" />
<Compile Include="MongoQueryProvider.cs" />
<Compile Include="MongoQueryTranslator.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MongoDBDriver\MongoDB.Driver.csproj">
<Project>{B125BBA6-BFFD-44FA-9254-9B1754CD8AF3}</Project>
<Name>MongoDB.Driver</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\StrongName.snk">
<Link>StrongName.snk</Link>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
36 changes: 0 additions & 36 deletions MongoDB.Linq/Properties/AssemblyInfo.cs

This file was deleted.

5 changes: 5 additions & 0 deletions MongoDB.Net-Tests/MongoDB.Driver.Tests.csproj
Expand Up @@ -34,6 +34,8 @@
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\StrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -98,6 +100,9 @@
<Compile Include="TestMongo.cs" />
<Compile Include="IO\TestMsgMessage.cs" />
<Compile Include="TestB.cs" />
<None Include="..\StrongName.snk">
<Link>StrongName.snk</Link>
</None>
<None Include="App.config" />
<None Include="test-data\tests.charreads.txt" />
<None Include="test-data\tests.reads.txt" />
Expand Down
3 changes: 0 additions & 3 deletions MongoDBDriver/AssemblyInfo.cs
Expand Up @@ -24,9 +24,6 @@
// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]

[assembly: System.Runtime.InteropServices.ComVisible(false)]
[assembly: CLSCompliantAttribute(true)]

Expand Down
7 changes: 7 additions & 0 deletions MongoDBDriver/MongoDB.Driver.csproj
Expand Up @@ -35,6 +35,8 @@
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<RootNamespace>MongoDB.Driver</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\StrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -180,5 +182,10 @@
<Visible>False</Visible>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="..\StrongName.snk">
<Link>StrongName.snk</Link>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
Binary file added StrongName.snk
Binary file not shown.

0 comments on commit a715de0

Please sign in to comment.