diff options
author | Robert Nordan <rpvn@robpvn.net> | 2013-10-11 14:10:50 +0400 |
---|---|---|
committer | Robert Nordan <rpvn@robpvn.net> | 2013-10-11 14:10:50 +0400 |
commit | e24eb5fc782ec08631638b0ff20494231fd3e08d (patch) | |
tree | 7465ae43de7d5613853f15b30677b7558d6c741b /Mono.Addins.Gui | |
parent | 6f529d73e4c1c626a8aed079728b61e0c51dc432 (diff) |
Made Conditional references in csproj file
Some requirements: Need to set MonoDevelop to build with xBuild (or use makefile to build)
In Monodevelop, due to a bug, all references will appear twice.
Diffstat (limited to 'Mono.Addins.Gui')
-rw-r--r-- | Mono.Addins.Gui/Mono.Addins.Gui.csproj | 67 |
1 files changed, 39 insertions, 28 deletions
diff --git a/Mono.Addins.Gui/Mono.Addins.Gui.csproj b/Mono.Addins.Gui/Mono.Addins.Gui.csproj index bf4f50a..e063d9c 100644 --- a/Mono.Addins.Gui/Mono.Addins.Gui.csproj +++ b/Mono.Addins.Gui/Mono.Addins.Gui.csproj @@ -9,51 +9,62 @@ <AssemblyName>Mono.Addins.Gui</AssemblyName> <SchemaVersion>2.0</SchemaVersion> <RootNamespace>Mono.Addins.Gui</RootNamespace> - <SignAssembly>True</SignAssembly> - <AssemblyOriginatorKeyFile>..\mono-addins.snk</AssemblyOriginatorKeyFile> - <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>True</DebugSymbols> + <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> - <Optimize>True</Optimize> + <Optimize>true</Optimize> <OutputPath>..\bin</OutputPath> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> - <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> - <ConsolePause>False</ConsolePause> - <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> + <ConsolePause>false</ConsolePause> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>..\mono-addins.snk</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>none</DebugType> - <Optimize>True</Optimize> + <Optimize>true</Optimize> <OutputPath>..\bin</OutputPath> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> - <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> - <ConsolePause>False</ConsolePause> - <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> + <ConsolePause>false</ConsolePause> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>..\mono-addins.snk</AssemblyOriginatorKeyFile> </PropertyGroup> - <ItemGroup> - <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugGTK3|AnyCPU' "> + <OutputPath>bin\DebugGTK3</OutputPath> + <DebugType>none</DebugType> + <WarningLevel>4</WarningLevel> + <Optimize>false</Optimize> + </PropertyGroup> + <ItemGroup Condition=" '$(Configuration)' == 'Debug' "> + <Reference Include="System" /> + <Reference Include="Mono.Posix" /> + <Reference Include="Mono.Cairo" /> + <Reference Include="System.Core" /> + <!-- GTK2 --> + <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"> + <Package>gtk-sharp-2.0</Package> </Reference> - <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> + <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"> + <Package>gtk-sharp-2.0</Package> </Reference> - <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> + <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"> + <Package>glib-sharp-2.0</Package> </Reference> - <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> + <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"> + <Package>gtk-sharp-2.0</Package> </Reference> - <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> + <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"> + <Package>gtk-sharp-2.0</Package> </Reference> - <Reference Include="System" /> - <Reference Include="Mono.Posix" /> - <Reference Include="Mono.Cairo" /> - <Reference Include="System.Core" /> + </ItemGroup> + <ItemGroup Condition=" '$(Configuration)' == 'DebugGTK3' "> + <!-- GTK2 --> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Mono.Addins\Mono.Addins.csproj"> @@ -181,4 +192,4 @@ </Properties> </MonoDevelop> </ProjectExtensions> -</Project>
\ No newline at end of file +</Project> |