[longomatch] Use a custom dll config without libcesarplayer maps to use in MD



commit bf1c3ea8c46d18953fe5850e57bb6bb602b8c9e7
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Dec 24 13:12:20 2014 +0100

    Use a custom dll config without libcesarplayer maps to use in MD

 .../LongoMatch.GUI.Helpers.csproj                  |   12 ++++++------
 .../LongoMatch.GUI.Helpers.dll.config.mdp          |    5 +++++
 2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj 
b/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj
index c58efaa..dd2fb53 100644
--- a/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj
+++ b/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.csproj
@@ -18,6 +18,11 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <ConsolePause>false</ConsolePause>
+    <CustomCommands>
+      <CustomCommands>
+        <Command type="AfterBuild" command="cp ${ProjectDir}/LongoMatch.GUI.Helpers.dll.config.mdp 
${TargetDir}/LongoMatch.GUI.Helpers.dll.config" workingdir="${ProjectDir}" />
+      </CustomCommands>
+    </CustomCommands>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <Optimize>true</Optimize>
@@ -55,9 +60,4 @@
     </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <ItemGroup>
-    <None Include="LongoMatch.GUI.Helpers.dll.config">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-  </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.dll.config.mdp 
b/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.dll.config.mdp
new file mode 100644
index 0000000..8b77ce0
--- /dev/null
+++ b/LongoMatch.GUI.Helpers/LongoMatch.GUI.Helpers.dll.config.mdp
@@ -0,0 +1,5 @@
+<configuration>
+        <dllmap dll="libgtk-2.0.dll" target="libgtk-quartz-2.0.0.dylib"/>
+        <dllmap os="linux" dll="libgtk-2.0.dll" target="libgtk-x11-2.0.so.0"/>
+        <dllmap os="windows" dll="libgtk-2.0.dll" target="libgtk-win32-2.0-0.dll"/>
+</configuration>


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