Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornél Pál <kornelpal@gmail.com>2005-08-18 23:36:17 +0400
committerKornél Pál <kornelpal@gmail.com>2005-08-18 23:36:17 +0400
commit431f1b348535b3b3acc527a8457875b6c2f34254 (patch)
treed51033cea4970a03855b3ebbe2fe8b3028953d91 /mcs/class/Npgsql
parent1f1e167fb20e03728d2343f44e8bf7fdca9cd79a (diff)
Moved assembly version and assembly reference constants to a common Consts.cs file. Updated 2.0.3600.0 assembly versions to 2.0.0.0. Updated some old beta version numbers to recent ones. Fixed hard coded assembly references to use constants with the appropriate version number.
svn path=/trunk/mcs/; revision=48519
Diffstat (limited to 'mcs/class/Npgsql')
-rwxr-xr-xmcs/class/Npgsql/Npgsql.dll.sources1
-rw-r--r--mcs/class/Npgsql/Npgsql/AssemblyInfo.cs8
2 files changed, 2 insertions, 7 deletions
diff --git a/mcs/class/Npgsql/Npgsql.dll.sources b/mcs/class/Npgsql/Npgsql.dll.sources
index 50f2f4b339d..1608cf8712e 100755
--- a/mcs/class/Npgsql/Npgsql.dll.sources
+++ b/mcs/class/Npgsql/Npgsql.dll.sources
@@ -1,4 +1,5 @@
Npgsql/AssemblyInfo.cs
+../../build/common/Consts.cs
Npgsql/HashAlgorithm.cs
Npgsql/MD5.cs
Npgsql/MD5CryptoServiceProvider.cs
diff --git a/mcs/class/Npgsql/Npgsql/AssemblyInfo.cs b/mcs/class/Npgsql/Npgsql/AssemblyInfo.cs
index baf5971cbaf..92b3c259bea 100644
--- a/mcs/class/Npgsql/Npgsql/AssemblyInfo.cs
+++ b/mcs/class/Npgsql/Npgsql/AssemblyInfo.cs
@@ -48,13 +48,7 @@ using System.Runtime.CompilerServices;
// You can specify all values by your own or you can build default build and revision
// numbers with the '*' character (the default):
-#if (NET_2_0)
- [assembly: AssemblyVersion ("2.0.3600.0")]
-#elif (NET_1_1)
- [assembly: AssemblyVersion ("1.0.5000.0")]
-#else
- [assembly: AssemblyVersion ("1.0.3300.0")]
-#endif
+[assembly: AssemblyVersion (Consts.FxVersion)]
// The following attributes specify the key for the sign of your assembly. See the
// .NET Framework documentation for more information about signing.