Hello everyone,
this is the first of some patches written while doing some work with
DbLinq and PostgreSQL from Mono.

The attached patch simply explicitly links to the DbLinq.snk key file
from each project to let MonoDevelop known how to sign the compiled
assemblies, otherwise the compilation will fail as somewhere a full
signed assembly name is referenced.


On a side (and hopefully not inflammable) note, I've used git-svn to
work disconnected from the official SVN trunk, as I'm often offline and
it makes working without touching the trunk simpler. Any chance of
migrating to a distributed SCM (Mercurial or GIT, essentially)?

-- 
Emanuele Aina
Studio Associato Di Nunzio e Di Gregorio
http://dndg.it/
Via Maria Vittoria, 2
10123 Torino - Italy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

>From c2c269b11dbe55a2a5e73c717352aa8732589a9b Mon Sep 17 00:00:00 2001
From: Emanuele Aina <[email protected]>
Date: Mon, 6 Jul 2009 22:47:12 +0200
Subject: [PATCH 1/7] Setup assembly signature to make MonoDevelop happy

---
 src/DbLinq.Firebird/DbLinq.Firebird.csproj     |    2 ++
 src/DbLinq.Ingres/DbLinq.Ingres.csproj         |    2 ++
 src/DbLinq.MySql/DbLinq.MySql.csproj           |    2 ++
 src/DbLinq.Oracle/DbLinq.Oracle.csproj         |    2 ++
 src/DbLinq.PostgreSql/DbLinq.PostgreSql.csproj |    2 ++
 src/DbLinq.Sqlite/DbLinq.Sqlite.csproj         |    2 ++
 src/DbMetal/DbMetal.csproj                     |    2 ++
 7 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/DbLinq.Firebird/DbLinq.Firebird.csproj b/src/DbLinq.Firebird/DbLinq.Firebird.csproj
index 0f07401..5187b84 100644
--- a/src/DbLinq.Firebird/DbLinq.Firebird.csproj
+++ b/src/DbLinq.Firebird/DbLinq.Firebird.csproj
@@ -23,6 +23,8 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
diff --git a/src/DbLinq.Ingres/DbLinq.Ingres.csproj b/src/DbLinq.Ingres/DbLinq.Ingres.csproj
index 41f4112..009be6b 100644
--- a/src/DbLinq.Ingres/DbLinq.Ingres.csproj
+++ b/src/DbLinq.Ingres/DbLinq.Ingres.csproj
@@ -23,6 +23,8 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
diff --git a/src/DbLinq.MySql/DbLinq.MySql.csproj b/src/DbLinq.MySql/DbLinq.MySql.csproj
index 670c6e2..1e6bbd1 100644
--- a/src/DbLinq.MySql/DbLinq.MySql.csproj
+++ b/src/DbLinq.MySql/DbLinq.MySql.csproj
@@ -23,6 +23,8 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
diff --git a/src/DbLinq.Oracle/DbLinq.Oracle.csproj b/src/DbLinq.Oracle/DbLinq.Oracle.csproj
index d866d95..fea9e4f 100644
--- a/src/DbLinq.Oracle/DbLinq.Oracle.csproj
+++ b/src/DbLinq.Oracle/DbLinq.Oracle.csproj
@@ -23,6 +23,8 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
diff --git a/src/DbLinq.PostgreSql/DbLinq.PostgreSql.csproj b/src/DbLinq.PostgreSql/DbLinq.PostgreSql.csproj
index 8b520e7..607515e 100644
--- a/src/DbLinq.PostgreSql/DbLinq.PostgreSql.csproj
+++ b/src/DbLinq.PostgreSql/DbLinq.PostgreSql.csproj
@@ -23,6 +23,8 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
diff --git a/src/DbLinq.Sqlite/DbLinq.Sqlite.csproj b/src/DbLinq.Sqlite/DbLinq.Sqlite.csproj
index ab0a1e2..6c8ddce 100644
--- a/src/DbLinq.Sqlite/DbLinq.Sqlite.csproj
+++ b/src/DbLinq.Sqlite/DbLinq.Sqlite.csproj
@@ -23,6 +23,8 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
diff --git a/src/DbMetal/DbMetal.csproj b/src/DbMetal/DbMetal.csproj
index 0d6d887..7afbc6e 100644
--- a/src/DbMetal/DbMetal.csproj
+++ b/src/DbMetal/DbMetal.csproj
@@ -36,6 +36,8 @@
     <DefineConstants>TRACE;DEBUG</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyKeyFile>..\DbLinq.snk</AssemblyKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
-- 
1.6.3.3

Reply via email to