Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add StrongName to all projects.

  • Loading branch information...
commit a715de00caea1651633fe38bd80f318cd826dfb5 1 parent 6512259
@lanwin lanwin authored
View
11 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.
@@ -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("")]
View
5 MongoDB.GridFS.Tests/MongoDB.GridFS.Tests.csproj
@@ -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>
@@ -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>
View
11 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.
@@ -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("")]
View
7 MongoDB.GridFS/MongoDB.GridFS.csproj
@@ -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>
@@ -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>
View
5 MongoDB.Linq.Tests/MongoDB.Linq.Tests.csproj
@@ -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>
@@ -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.
View
19 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.*")]
View
9 MongoDB.Linq/MongoDB.Linq.csproj
@@ -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>
@@ -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" />
@@ -53,7 +56,6 @@
<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">
@@ -61,6 +63,11 @@
<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.
View
36 MongoDB.Linq/Properties/AssemblyInfo.cs
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("MongoDB.Linq")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MongoDB.Linq")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("443b51f7-36c7-434b-9d50-2a22a2d9be44")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
View
5 MongoDB.Net-Tests/MongoDB.Driver.Tests.csproj
@@ -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>
@@ -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" />
View
3  MongoDBDriver/AssemblyInfo.cs
@@ -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)]
View
7 MongoDBDriver/MongoDB.Driver.csproj
@@ -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>
@@ -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>
View
BIN  StrongName.snk
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.