[tasque/xbuild] [xbuild] Set OutputPath of all Projects to build/bin/lib/tasque



commit 72bf3cd73b96a17d7c04efd0a1fa0a4063fd0703
Author: Antonius Riha <antoniusriha gmail com>
Date:   Mon Nov 19 17:04:39 2012 +0100

    [xbuild] Set OutputPath of all Projects to build/bin/lib/tasque
    
    so that tasque can be debugged from within MD

 src/Addins/Backends/Dummy/DummyBackend.csproj   |    1 +
 src/Addins/Backends/Rtm/RtmBackend.csproj       |    2 +
 src/Addins/Backends/Sqlite/SqliteBackend.csproj |   15 ++++++++---
 src/Gtk.Tasque/Gtk.Tasque.csproj                |    2 +
 src/Libraries/RtmNet/RtmNet.csproj              |    2 +
 src/libtasque/libtasque.csproj                  |    2 +
 src/tasque/tasque.csproj                        |   32 +++++++---------------
 7 files changed, 30 insertions(+), 26 deletions(-)
---
diff --git a/src/Addins/Backends/Dummy/DummyBackend.csproj b/src/Addins/Backends/Dummy/DummyBackend.csproj
index e478b1c..5cc41ee 100644
--- a/src/Addins/Backends/Dummy/DummyBackend.csproj
+++ b/src/Addins/Backends/Dummy/DummyBackend.csproj
@@ -23,6 +23,7 @@
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE;GTK</DefineConstants>
     <PlatformTarget>x86</PlatformTarget>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MonoMacDebug|AnyCPU' ">
     <DebugSymbols>True</DebugSymbols>
diff --git a/src/Addins/Backends/Rtm/RtmBackend.csproj b/src/Addins/Backends/Rtm/RtmBackend.csproj
index e50ac4d..3ba0aa3 100644
--- a/src/Addins/Backends/Rtm/RtmBackend.csproj
+++ b/src/Addins/Backends/Rtm/RtmBackend.csproj
@@ -23,12 +23,14 @@
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE;GTK</DefineConstants>
     <PlatformTarget>x86</PlatformTarget>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkRelease|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE;GTK</DefineConstants>
     <PlatformTarget>x86</PlatformTarget>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MonoMacDebug|AnyCPU' ">
     <DebugSymbols>True</DebugSymbols>
diff --git a/src/Addins/Backends/Sqlite/SqliteBackend.csproj b/src/Addins/Backends/Sqlite/SqliteBackend.csproj
index 66a1ca0..c474b8a 100644
--- a/src/Addins/Backends/Sqlite/SqliteBackend.csproj
+++ b/src/Addins/Backends/Sqlite/SqliteBackend.csproj
@@ -22,11 +22,13 @@
     <DebugType>full</DebugType>
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE;GTKLINUX</DefineConstants>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkLinuxRelease|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE;GTKLINUX</DefineConstants>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkWinDebug|AnyCPU' ">
     <DebugSymbols>True</DebugSymbols>
@@ -34,29 +36,34 @@
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE;GTKWIN</DefineConstants>
     <PlatformTarget>x86</PlatformTarget>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkWinRelease|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE;GTKWIN</DefineConstants>
     <PlatformTarget>x86</PlatformTarget>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MonoMacDebug|AnyCPU' ">
     <DebugSymbols>True</DebugSymbols>
     <DebugType>full</DebugType>
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE;OSX</DefineConstants>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MonoMacRelease|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE;OSX</DefineConstants>
+    <OutputPath>..\..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="Mono.Posix" />
     <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
       <Private>False</Private>
+      <Package>gtk-sharp-2.0</Package>
     </Reference>
     <Reference Include="System.Data" />
     <Reference Include="Mono.Data.Sqlite">
@@ -64,9 +71,11 @@
     </Reference>
     <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
       <Private>False</Private>
+      <Package>glib-sharp-2.0</Package>
     </Reference>
     <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
       <Private>False</Private>
+      <Package>gtk-sharp-2.0</Package>
     </Reference>
   </ItemGroup>
   <ItemGroup>
@@ -95,12 +104,10 @@
   </ItemGroup>
   <Import Project="..\..\..\..\build\X.Common.targets" />
   <Target Name="BeforeInstall" Condition=" '$(Configuration)' == 'GtkWinDebug' Or '$(Configuration)' == 'GtkWinRelease' ">
-    <CreateItem Include="..\..\..\..\winbin\sqlite3.dll"
-        AdditionalMetadata="InstallPath=$(PkgLibDir);InstallFileName=sqlite3.dll">
+    <CreateItem Include="..\..\..\..\winbin\sqlite3.dll" AdditionalMetadata="InstallPath=$(PkgLibDir);InstallFileName=sqlite3.dll">
       <Output TaskParameter="Include" ItemName="InstallFile" />
     </CreateItem>
-    <CreateItem Include="..\..\..\..\winbin\Mono.Data.Sqlite.dll"
-        AdditionalMetadata="InstallPath=$(PkgLibDir);InstallFileName=Mono.Data.Sqlite.dll">
+    <CreateItem Include="..\..\..\..\winbin\Mono.Data.Sqlite.dll" AdditionalMetadata="InstallPath=$(PkgLibDir);InstallFileName=Mono.Data.Sqlite.dll">
       <Output TaskParameter="Include" ItemName="InstallFile" />
     </CreateItem>
   </Target>
diff --git a/src/Gtk.Tasque/Gtk.Tasque.csproj b/src/Gtk.Tasque/Gtk.Tasque.csproj
index d4092e2..bbb29ce 100644
--- a/src/Gtk.Tasque/Gtk.Tasque.csproj
+++ b/src/Gtk.Tasque/Gtk.Tasque.csproj
@@ -24,6 +24,7 @@
     <NotifySharp Condition=" '$(EnableNotifySharp)' == '' Or '$(EnableNotifySharp)' ">ENABLE_NOTIFY_SHARP</NotifySharp>
     <AppIndicator Condition=" '$(EnableAppIndicator)' == '' Or '$(EnableAppIndicator)' ">APPINDICATOR</AppIndicator>
     <DefineConstants>DEBUG;TRACE;LINUX;$(GtkSharp12);$(NotifySharp);$(AppIndicator)</DefineConstants>
+    <OutputPath>..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'LinuxRelease|AnyCPU' ">
     <DebugType>none</DebugType>
@@ -31,6 +32,7 @@
     <NotifySharp Condition=" '$(EnableNotifySharp)' == '' Or '$(EnableNotifySharp)' ">ENABLE_NOTIFY_SHARP</NotifySharp>
     <AppIndicator Condition=" '$(EnableAppIndicator)' == '' Or '$(EnableAppIndicator)' ">APPINDICATOR</AppIndicator>
     <DefineConstants>TRACE;LINUX;$(GtkSharp12);$(NotifySharp);$(AppIndicator)</DefineConstants>
+    <OutputPath>..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'WinDebug|AnyCPU' ">
     <DebugSymbols>True</DebugSymbols>
diff --git a/src/Libraries/RtmNet/RtmNet.csproj b/src/Libraries/RtmNet/RtmNet.csproj
index 4fae49c..1276928 100644
--- a/src/Libraries/RtmNet/RtmNet.csproj
+++ b/src/Libraries/RtmNet/RtmNet.csproj
@@ -22,11 +22,13 @@
     <DebugType>full</DebugType>
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <OutputPath>..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE</DefineConstants>
+    <OutputPath>..\..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/src/libtasque/libtasque.csproj b/src/libtasque/libtasque.csproj
index f648697..2ef9f6f 100644
--- a/src/libtasque/libtasque.csproj
+++ b/src/libtasque/libtasque.csproj
@@ -21,11 +21,13 @@
     <DebugType>full</DebugType>
     <Optimize>False</Optimize>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <OutputPath>..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE</DefineConstants>
+    <OutputPath>..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
diff --git a/src/tasque/tasque.csproj b/src/tasque/tasque.csproj
index 9c37fc5..64e37d6 100644
--- a/src/tasque/tasque.csproj
+++ b/src/tasque/tasque.csproj
@@ -21,16 +21,13 @@
     <DebugType>full</DebugType>
     <Optimize>False</Optimize>
     <DefineConstants>TRACE;DEBUG;LINUX</DefineConstants>
+    <OutputPath>..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkLinuxRelease|AnyCPU' ">
     <DebugType>none</DebugType>
     <Optimize>True</Optimize>
     <DefineConstants>TRACE;LINUX</DefineConstants>
-    <CustomCommands>
-      <CustomCommands>
-        <Command type="Execute" command="${SolutionDir}/build/bin/lib/tasque/Tasque.exe" />
-      </CustomCommands>
-    </CustomCommands>
+    <OutputPath>..\..\build\bin\lib\tasque</OutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkWinDebug|AnyCPU' ">
     <DebugSymbols>True</DebugSymbols>
@@ -78,22 +75,6 @@
       <Project>{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}</Project>
       <Name>libtasque</Name>
     </ProjectReference>
-    <ProjectReference Include="..\Addins\Backends\Dummy\DummyBackend.csproj">
-      <Project>{0F63E512-FD5A-482C-8389-6A0DBE1301CB}</Project>
-      <Name>DummyBackend</Name>
-    </ProjectReference>
-    <ProjectReference Include="..\Addins\Backends\Rtm\RtmBackend.csproj">
-      <Project>{CC8935CB-342C-4FDA-BAF1-24FA3EB53490}</Project>
-      <Name>RtmBackend</Name>
-    </ProjectReference>
-    <ProjectReference Include="..\Libraries\RtmNet\RtmNet.csproj">
-      <Project>{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}</Project>
-      <Name>RtmNet</Name>
-    </ProjectReference>
-    <ProjectReference Include="..\Addins\Backends\Sqlite\SqliteBackend.csproj">
-      <Project>{CCCC10A5-662D-4788-82D3-25689F3D4D4F}</Project>
-      <Name>SqliteBackend</Name>
-    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs" />
@@ -103,7 +84,9 @@
     </Compile>
   </ItemGroup>
   <ItemGroup>
-    <DistFile Include="Tasque.exe.config" />
+    <DistFile Include="Tasque.exe.config">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </DistFile>
   </ItemGroup>
   <ItemGroup>
     <Substitute Include="tasque.in" />
@@ -111,6 +94,11 @@
     <Substitute Include="Tasque.exe.Defines.config.in" />
   </ItemGroup>
   <ItemGroup>
+    <None Include="Tasque.exe.Defines.config">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
     <Folder Include="Properties\" />
   </ItemGroup>
   <Import Project="..\..\build\X.Common.targets" />



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