[longomatch] Use a common AssemblyInfo file



commit 19f636bbd7f1fa5233887ad2e20de19a083b0c69
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Mar 24 16:14:00 2015 +0100

    Use a common AssemblyInfo file

 {LongoMatch => AssemblyInfo}/AssemblyInfo.cs       |    3 +-
 {LongoMatch => AssemblyInfo}/AssemblyInfo.cs.in    |    3 +-
 LongoMatch.Addins/LongoMatch.Addins.csproj         |    3 +
 LongoMatch.Addins/Makefile.am                      |    3 +-
 LongoMatch.Core/LongoMatch.Core.csproj             |    3 +
 LongoMatch.Core/Makefile.am                        |    3 +-
 LongoMatch.DB/AssemblyInfo.cs                      |   21 --------
 LongoMatch.DB/LongoMatch.DB.csproj                 |    4 +-
 LongoMatch.DB/Makefile.am                          |    2 +-
 .../LongoMatch.Drawing.Cairo.csproj                |    3 +
 LongoMatch.Drawing.Cairo/Makefile.am               |    3 +-
 LongoMatch.Drawing/LongoMatch.Drawing.csproj       |    3 +
 LongoMatch.Drawing/Makefile.am                     |    3 +-
 LongoMatch.GUI.Helpers/AssemblyInfo.cs             |   44 -----------------
 .../LongoMatch.GUI.Helpers.csproj                  |    3 +
 LongoMatch.GUI.Helpers/Makefile.am                 |    3 +-
 LongoMatch.GUI.Multimedia/AssemblyInfo.cs.in       |   50 -------------------
 .../LongoMatch.GUI.Multimedia.csproj               |    3 +
 LongoMatch.GUI.Multimedia/Makefile.am              |    3 +-
 LongoMatch.GUI/LongoMatch.GUI.csproj               |    3 +
 LongoMatch.GUI/Makefile.am                         |    3 +-
 LongoMatch.Migration/Properties/AssemblyInfo.cs    |   51 --------------------
 LongoMatch.Multimedia/LongoMatch.Multimedia.csproj |    3 +
 LongoMatch.Multimedia/Makefile.am                  |    3 +-
 .../LongoMatch.Plugins.GStreamer.csproj            |    3 +
 LongoMatch.Plugins.GStreamer/Makefile.am           |    3 +-
 .../LongoMatch.Plugins.Stats.csproj                |    3 +
 LongoMatch.Plugins.Stats/Makefile.am               |    3 +-
 .../Properties/AssemblyInfo.cs                     |   39 ---------------
 LongoMatch.Plugins/LongoMatch.Plugins.csproj       |    3 +
 LongoMatch.Plugins/Makefile.am                     |    3 +-
 LongoMatch.Services/LongoMatch.Services.csproj     |    3 +
 LongoMatch.Services/Makefile.am                    |    3 +-
 LongoMatch/LongoMatch.csproj                       |    4 +-
 LongoMatch/Makefile.am                             |    2 +-
 configure.ac                                       |    2 +-
 tools/mdptomakefile.py                             |    2 +-
 37 files changed, 74 insertions(+), 225 deletions(-)
---
diff --git a/LongoMatch/AssemblyInfo.cs b/AssemblyInfo/AssemblyInfo.cs
similarity index 94%
rename from LongoMatch/AssemblyInfo.cs
rename to AssemblyInfo/AssemblyInfo.cs
index 37cdf35..7d4b23b 100644
--- a/LongoMatch/AssemblyInfo.cs
+++ b/AssemblyInfo/AssemblyInfo.cs
@@ -31,7 +31,7 @@ using System.Runtime.CompilerServices;
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("")]
 [assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Andoni Morales Alastruey")]
+[assembly: AssemblyCopyright("Andoni Morales Alastruey; Fluendo S.A.")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 
@@ -49,3 +49,4 @@ using System.Runtime.CompilerServices;
 // This is not required, if you don't want signing let these attributes like they're.
 [assembly: AssemblyDelaySign(false)]
 [assembly: AssemblyKeyFile("")]
+[assembly: InternalsVisibleTo("Tests")]
diff --git a/LongoMatch/AssemblyInfo.cs.in b/AssemblyInfo/AssemblyInfo.cs.in
similarity index 94%
rename from LongoMatch/AssemblyInfo.cs.in
rename to AssemblyInfo/AssemblyInfo.cs.in
index 6576b6f..b69045d 100644
--- a/LongoMatch/AssemblyInfo.cs.in
+++ b/AssemblyInfo/AssemblyInfo.cs.in
@@ -31,7 +31,7 @@ using System.Runtime.CompilerServices;
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("")]
 [assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Andoni Morales Alastruey")]
+[assembly: AssemblyCopyright("Andoni Morales Alastruey; Fluendo S.A.")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 
@@ -49,3 +49,4 @@ using System.Runtime.CompilerServices;
 // This is not required, if you don't want signing let these attributes like they're.
 [assembly: AssemblyDelaySign(false)]
 [assembly: AssemblyKeyFile("")]
+[assembly: InternalsVisibleTo("Tests")]
diff --git a/LongoMatch.Addins/LongoMatch.Addins.csproj b/LongoMatch.Addins/LongoMatch.Addins.csproj
index 86da607..61765ea 100644
--- a/LongoMatch.Addins/LongoMatch.Addins.csproj
+++ b/LongoMatch.Addins/LongoMatch.Addins.csproj
@@ -38,6 +38,9 @@
     <Compile Include="ConfigurablePlugin.cs" />
     <Compile Include="ExtensionPoints\IStatsUI.cs" />
     <Compile Include="ExtensionPoints\IGUIBackend.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="Mono.Addins, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
diff --git a/LongoMatch.Addins/Makefile.am b/LongoMatch.Addins/Makefile.am
index 11b3043..e911679 100644
--- a/LongoMatch.Addins/Makefile.am
+++ b/LongoMatch.Addins/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_ADDINS)
 
-SOURCES = AddinsManager.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       AddinsManager.cs \
        ConfigurablePlugin.cs \
        ExtensionPoints/IAnalisysDashboardsProvider.cs \
        ExtensionPoints/IConfigModifier.cs \
diff --git a/LongoMatch.Core/LongoMatch.Core.csproj b/LongoMatch.Core/LongoMatch.Core.csproj
index 3e0ede3..d403266 100644
--- a/LongoMatch.Core/LongoMatch.Core.csproj
+++ b/LongoMatch.Core/LongoMatch.Core.csproj
@@ -140,6 +140,9 @@
     <Compile Include="Common\Registry.cs" />
     <Compile Include="Common\Seeker.cs" />
     <Compile Include="Interfaces\GUI\IPlayerView.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Folder Include="Common\" />
diff --git a/LongoMatch.Core/Makefile.am b/LongoMatch.Core/Makefile.am
index cd02ddd..0f05682 100644
--- a/LongoMatch.Core/Makefile.am
+++ b/LongoMatch.Core/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_CORE)
 
-SOURCES = Common/Area.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Common/Area.cs \
        Common/CaptureSettings.cs \
        Common/Cloner.cs \
        Common/Color.cs \
diff --git a/LongoMatch.DB/LongoMatch.DB.csproj b/LongoMatch.DB/LongoMatch.DB.csproj
index 85139db..1f4d9b8 100644
--- a/LongoMatch.DB/LongoMatch.DB.csproj
+++ b/LongoMatch.DB/LongoMatch.DB.csproj
@@ -41,9 +41,11 @@
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <ItemGroup>
-    <Compile Include="AssemblyInfo.cs" />
     <Compile Include="CouchbaseStorage.cs" />
     <Compile Include="DocumentsSerializer.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\LongoMatch.Core\LongoMatch.Core.csproj">
diff --git a/LongoMatch.DB/Makefile.am b/LongoMatch.DB/Makefile.am
index 4439afc..1ee4340 100644
--- a/LongoMatch.DB/Makefile.am
+++ b/LongoMatch.DB/Makefile.am
@@ -3,7 +3,7 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_DB)
 
-SOURCES = AssemblyInfo.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
        CouchbaseStorage.cs \
        DocumentsSerializer.cs
 
diff --git a/LongoMatch.Drawing.Cairo/LongoMatch.Drawing.Cairo.csproj 
b/LongoMatch.Drawing.Cairo/LongoMatch.Drawing.Cairo.csproj
index 01a34fc..08ad9cd 100644
--- a/LongoMatch.Drawing.Cairo/LongoMatch.Drawing.Cairo.csproj
+++ b/LongoMatch.Drawing.Cairo/LongoMatch.Drawing.Cairo.csproj
@@ -30,6 +30,9 @@
     <Compile Include="WidgetWrapper.cs" />
     <Compile Include="Surface.cs" />
     <Compile Include="CairoContext.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="..\images\cursors\text">
diff --git a/LongoMatch.Drawing.Cairo/Makefile.am b/LongoMatch.Drawing.Cairo/Makefile.am
index 7839b9a..ba03314 100644
--- a/LongoMatch.Drawing.Cairo/Makefile.am
+++ b/LongoMatch.Drawing.Cairo/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_DRAWING_CAIRO)
 
-SOURCES = CairoBackend.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       CairoBackend.cs \
        CairoContext.cs \
        Surface.cs \
        WidgetWrapper.cs
diff --git a/LongoMatch.Drawing/LongoMatch.Drawing.csproj b/LongoMatch.Drawing/LongoMatch.Drawing.csproj
index e1d725f..5905d62 100644
--- a/LongoMatch.Drawing/LongoMatch.Drawing.csproj
+++ b/LongoMatch.Drawing/LongoMatch.Drawing.csproj
@@ -70,6 +70,9 @@
     <Compile Include="CanvasObjects\CameraObject.cs" />
     <Compile Include="Widgets\CamerasTimeline.cs" />
     <Compile Include="Widgets\CamerasLabels.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/LongoMatch.Drawing/Makefile.am b/LongoMatch.Drawing/Makefile.am
index 30ee684..4e131e3 100644
--- a/LongoMatch.Drawing/Makefile.am
+++ b/LongoMatch.Drawing/Makefile.am
@@ -4,7 +4,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_DRAWING)
 
-SOURCES = Canvas.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Canvas.cs \
        CanvasObjects/BenchObject.cs \
        CanvasObjects/ButtonObject.cs \
        CanvasObjects/CameraObject.cs \
diff --git a/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj 
b/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj
index 2e3fa41..bf98105 100644
--- a/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj
+++ b/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj
@@ -36,6 +36,9 @@
     <Compile Include="Misc.cs" />
     <Compile Include="GtkGlue.cs" />
     <Compile Include="ExternalWindow.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/LongoMatch.GUI.Helpers/Makefile.am b/LongoMatch.GUI.Helpers/Makefile.am
index 0d54ee3..79f4f5c 100644
--- a/LongoMatch.GUI.Helpers/Makefile.am
+++ b/LongoMatch.GUI.Helpers/Makefile.am
@@ -4,7 +4,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_GUI_HELPERS)
 
-SOURCES = ExternalWindow.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       ExternalWindow.cs \
        FileChooserHelper.cs \
        GtkGlue.cs \
        MessagesHelpers.cs \
diff --git a/LongoMatch.GUI.Multimedia/LongoMatch.GUI.Multimedia.csproj 
b/LongoMatch.GUI.Multimedia/LongoMatch.GUI.Multimedia.csproj
index 6cb8e27..af37761 100644
--- a/LongoMatch.GUI.Multimedia/LongoMatch.GUI.Multimedia.csproj
+++ b/LongoMatch.GUI.Multimedia/LongoMatch.GUI.Multimedia.csproj
@@ -55,6 +55,9 @@
     <Compile Include="gtk-gui\LongoMatch.Gui.VideoWindow.cs" />
     <Compile Include="Gui\PlayerView.cs" />
     <Compile Include="gtk-gui\LongoMatch.Gui.PlayerView.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="gtk-gui\gui.stetic">
diff --git a/LongoMatch.GUI.Multimedia/Makefile.am b/LongoMatch.GUI.Multimedia/Makefile.am
index b9bb2e6..6a84f30 100644
--- a/LongoMatch.GUI.Multimedia/Makefile.am
+++ b/LongoMatch.GUI.Multimedia/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_GUI_MULTIMEDIA)
 
-SOURCES = Gui/CapturerBin.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Gui/CapturerBin.cs \
        Gui/PlayerCapturerBin.cs \
        Gui/PlayerView.cs \
        Gui/Utils/FramesCapturer.cs \
diff --git a/LongoMatch.GUI/LongoMatch.GUI.csproj b/LongoMatch.GUI/LongoMatch.GUI.csproj
index 62762b1..abb92f5 100644
--- a/LongoMatch.GUI/LongoMatch.GUI.csproj
+++ b/LongoMatch.GUI/LongoMatch.GUI.csproj
@@ -179,6 +179,9 @@
     <Compile Include="Gui\Dialog\ChooseOptionDialog.cs" />
     <Compile Include="gtk-gui\LongoMatch.Gui.Dialog.ChooseOptionDialog.cs" />
     <Compile Include="Gui\Dialog\BusyDialog.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="gtk-gui\gui.stetic">
diff --git a/LongoMatch.GUI/Makefile.am b/LongoMatch.GUI/Makefile.am
index c1e2c61..8597519 100644
--- a/LongoMatch.GUI/Makefile.am
+++ b/LongoMatch.GUI/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_GUI)
 
-SOURCES = Gui/Cairo.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Gui/Cairo.cs \
        Gui/Component/AnalysisComponent.cs \
        Gui/Component/BackgroundWidget.cs \
        Gui/Component/CategoryProperties.cs \
diff --git a/LongoMatch.Multimedia/LongoMatch.Multimedia.csproj 
b/LongoMatch.Multimedia/LongoMatch.Multimedia.csproj
index 8dff6a0..adc6564 100644
--- a/LongoMatch.Multimedia/LongoMatch.Multimedia.csproj
+++ b/LongoMatch.Multimedia/LongoMatch.Multimedia.csproj
@@ -49,6 +49,9 @@
     <Compile Include="Player\ObjectManager.cs" />
     <Compile Include="Utils\WindowHandle.cs" />
     <Compile Include="Utils\Devices.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Folder Include="Capturer\" />
diff --git a/LongoMatch.Multimedia/Makefile.am b/LongoMatch.Multimedia/Makefile.am
index b30a278..b37d293 100644
--- a/LongoMatch.Multimedia/Makefile.am
+++ b/LongoMatch.Multimedia/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_MULTIMEDIA)
 
-SOURCES = Capturer/FakeCapturer.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Capturer/FakeCapturer.cs \
        Capturer/GstCameraCapturer.cs \
        Capturer/LiveSourceTimer.cs \
        Capturer/ObjectManager.cs \
diff --git a/LongoMatch.Plugins.GStreamer/LongoMatch.Plugins.GStreamer.csproj 
b/LongoMatch.Plugins.GStreamer/LongoMatch.Plugins.GStreamer.csproj
index b4dad2e..036a24e 100644
--- a/LongoMatch.Plugins.GStreamer/LongoMatch.Plugins.GStreamer.csproj
+++ b/LongoMatch.Plugins.GStreamer/LongoMatch.Plugins.GStreamer.csproj
@@ -31,6 +31,9 @@
   <ItemGroup>
     <Compile Include="Assembly.cs" />
     <Compile Include="GStreamerRestricted.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
diff --git a/LongoMatch.Plugins.GStreamer/Makefile.am b/LongoMatch.Plugins.GStreamer/Makefile.am
index f7b4689..4ca01f9 100644
--- a/LongoMatch.Plugins.GStreamer/Makefile.am
+++ b/LongoMatch.Plugins.GStreamer/Makefile.am
@@ -4,7 +4,8 @@ INSTALL_DIR = $(pkglibdir)/plugins/LongoMatch.Plugins.GStreamer/
 
 LINK = $(REF_DEP_LONGOMATCH_PLUGINS_GSTREAMER)
 
-SOURCES = Assembly.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Assembly.cs \
        GStreamerRestricted.cs
 
 RESOURCES = 
diff --git a/LongoMatch.Plugins.Stats/LongoMatch.Plugins.Stats.csproj 
b/LongoMatch.Plugins.Stats/LongoMatch.Plugins.Stats.csproj
index 2e03955..cc1aabc 100644
--- a/LongoMatch.Plugins.Stats/LongoMatch.Plugins.Stats.csproj
+++ b/LongoMatch.Plugins.Stats/LongoMatch.Plugins.Stats.csproj
@@ -76,6 +76,9 @@
     <Compile Include="Stats\StatsDialog.cs" />
     <Compile Include="gtk-gui\LongoMatch.Plugins.Stats.GameViewer.cs" />
     <Compile Include="StatsUIPlugin.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="gtk-gui\gui.stetic">
diff --git a/LongoMatch.Plugins.Stats/Makefile.am b/LongoMatch.Plugins.Stats/Makefile.am
index 65ab9bc..1ec90dc 100644
--- a/LongoMatch.Plugins.Stats/Makefile.am
+++ b/LongoMatch.Plugins.Stats/Makefile.am
@@ -4,7 +4,8 @@ INSTALL_DIR = $(pkglibdir)/plugins
 
 LINK = $(REF_DEP_LONGOMATCH_PLUGINS_STATS)
 
-SOURCES = Stats/CategoriesViewer.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Stats/CategoriesViewer.cs \
        Stats/CategoryViewer.cs \
        Stats/GameViewer.cs \
        Stats/PangoTextMeasurer.cs \
diff --git a/LongoMatch.Plugins/LongoMatch.Plugins.csproj b/LongoMatch.Plugins/LongoMatch.Plugins.csproj
index d1bbaf8..e5e6499 100644
--- a/LongoMatch.Plugins/LongoMatch.Plugins.csproj
+++ b/LongoMatch.Plugins/LongoMatch.Plugins.csproj
@@ -29,6 +29,9 @@
     <Compile Include="Assembly.cs" />
     <Compile Include="CSVExporter.cs" />
     <Compile Include="SystemDashboards.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/LongoMatch.Plugins/Makefile.am b/LongoMatch.Plugins/Makefile.am
index 506ff14..2e85bf4 100644
--- a/LongoMatch.Plugins/Makefile.am
+++ b/LongoMatch.Plugins/Makefile.am
@@ -4,7 +4,8 @@ INSTALL_DIR = $(pkglibdir)/plugins
 
 LINK = $(REF_DEP_LONGOMATCH_PLUGINS)
 
-SOURCES = Assembly.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Assembly.cs \
        CSVExporter.cs \
        SystemDashboards.cs
 
diff --git a/LongoMatch.Services/LongoMatch.Services.csproj b/LongoMatch.Services/LongoMatch.Services.csproj
index e0868d2..677c502 100644
--- a/LongoMatch.Services/LongoMatch.Services.csproj
+++ b/LongoMatch.Services/LongoMatch.Services.csproj
@@ -41,6 +41,9 @@
     <Compile Include="Services\FileDB.cs" />
     <Compile Include="Services\FileStorage.cs" />
     <Compile Include="Services\PlayerController.cs" />
+    <Compile Include="..\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Folder Include="..\" />
diff --git a/LongoMatch.Services/Makefile.am b/LongoMatch.Services/Makefile.am
index 4f8dce0..c1931d8 100644
--- a/LongoMatch.Services/Makefile.am
+++ b/LongoMatch.Services/Makefile.am
@@ -3,7 +3,8 @@ TARGET = library
 
 LINK = $(REF_DEP_LONGOMATCH_SERVICES)
 
-SOURCES = Services/CoreServices.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
+       Services/CoreServices.cs \
        Services/DataBaseManager.cs \
        Services/EventsManager.cs \
        Services/FileDB.cs \
diff --git a/LongoMatch/LongoMatch.csproj b/LongoMatch/LongoMatch.csproj
index 1e86839..ee470f2 100644
--- a/LongoMatch/LongoMatch.csproj
+++ b/LongoMatch/LongoMatch.csproj
@@ -39,8 +39,10 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="Main.cs" />
-    <Compile Include="AssemblyInfo.cs" />
     <Compile Include="GtkOSXApplication.cs" />
+    <Compile Include="..\AssemblyInfo\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
diff --git a/LongoMatch/Makefile.am b/LongoMatch/Makefile.am
index 7879793..71c2a34 100644
--- a/LongoMatch/Makefile.am
+++ b/LongoMatch/Makefile.am
@@ -2,7 +2,7 @@ ASSEMBLY = LongoMatch
 TARGET = exe
 LINK = $(REF_DEP_LONGOMATCH)
 
-SOURCES = AssemblyInfo.cs \
+SOURCES = ../AssemblyInfo/AssemblyInfo.cs \
        GtkOSXApplication.cs \
        Main.cs
 
diff --git a/configure.ac b/configure.ac
index ab6dacb..0efc3b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,7 @@ pkgconfig/longomatch-gui.pc
 pkgconfig/longomatch-gui-helpers.pc
 pkgconfig/longomatch-oxyplot.pc
 
+AssemblyInfo/AssemblyInfo.cs
 LongoMatch.Addins/Makefile
 LongoMatch.DB/Makefile
 LongoMatch.Core/Makefile
@@ -171,7 +172,6 @@ LongoMatch.Services/Makefile
 LongoMatch/Makefile
 LongoMatch/longomatch
 LongoMatch/longomatch.desktop.in
-LongoMatch/AssemblyInfo.cs
 Tests/Makefile
 tools/deb-pkg.sh
 
diff --git a/tools/mdptomakefile.py b/tools/mdptomakefile.py
index ec4d552..8ebeff0 100755
--- a/tools/mdptomakefile.py
+++ b/tools/mdptomakefile.py
@@ -28,7 +28,7 @@ def mdptoam(mdp):
         except:
             assembly = "library"
         try:
-            files = re.findall('<Compile Include="([^"]*)" />', l)
+            files = re.findall('<Compile Include="([^"]*)"*', l)
             files = [x.replace('\\', '/') for x in files]
         except:
             files = []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]