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/Microsoft.VisualC
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/Microsoft.VisualC')
-rw-r--r--mcs/class/Microsoft.VisualC/Assembly/AssemblyInfo.cs18
-rw-r--r--mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources1
2 files changed, 9 insertions, 10 deletions
diff --git a/mcs/class/Microsoft.VisualC/Assembly/AssemblyInfo.cs b/mcs/class/Microsoft.VisualC/Assembly/AssemblyInfo.cs
index 7cf6dad768e..3aef4df1386 100644
--- a/mcs/class/Microsoft.VisualC/Assembly/AssemblyInfo.cs
+++ b/mcs/class/Microsoft.VisualC/Assembly/AssemblyInfo.cs
@@ -33,16 +33,14 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
-#if (NET_2_0)
- [assembly: AssemblyVersion ("8.0.3600.0")]
-#elif (NET_1_1)
- [assembly: AssemblyVersion ("7.0.5000.0")]
- [assembly: SatelliteContractVersion ("7.0.5000.0")]
- [assembly: ComCompatibleVersion (7, 0, 3300, 0)]
- [assembly: TypeLibVersion (7, 1)]
-#else
- [assembly: AssemblyVersion ("7.0.3300.0")]
- [assembly: SatelliteContractVersion ("7.0.3300.0")]
+[assembly: AssemblyVersion (Consts.VsVersion)]
+#if (!NET_2_0)
+[assembly: SatelliteContractVersion (Consts.VsVersion)]
+#endif
+
+#if (ONLY_1_1)
+[assembly: ComCompatibleVersion (7, 0, 3300, 0)]
+[assembly: TypeLibVersion (7, 1)]
#endif
/* TODO COMPLETE INFORMATION
diff --git a/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources b/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources
index d59b42aabb5..edaee2929fd 100644
--- a/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources
+++ b/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources
@@ -1,4 +1,5 @@
Assembly/AssemblyInfo.cs
+../../build/common/Consts.cs
../../build/common/Locale.cs
Microsoft.VisualC/DebugInfoInPDBAttribute.cs
Microsoft.VisualC/DecoratedNameAttribute.cs