MSBuild: fix the solution build (except audit and sample projects)

This commit makes it possible to build any project of the gtk-sharp.sln
from an IDE (except audit and sample projects, which require a bit more
work).

This doesn't mean that autotools is deprecated, but just that it is more
comfortable to use an IDE when working on gtk-sharp because it will
offer better auto-completion, and will stop highlight misleading
semantic errors, from now on.
This commit is contained in:
Andrés G. Aragoneses 2013-10-24 12:57:42 +02:00 committed by Bertrand Lorentz
parent efdf6463bb
commit 10546e2ffa
6 changed files with 50 additions and 3 deletions

View File

@ -229,5 +229,17 @@
<Project>{3BF1D531-8840-4F15-8066-A9788D8C398B}</Project>
<Name>glib</Name>
</ProjectReference>
<ProjectReference Include="..\gio\gio.csproj">
<Project>{1C3BB17B-336D-432A-8952-4E979BC90867}</Project>
<Name>gio</Name>
</ProjectReference>
<ProjectReference Include="..\cairo\cairo.csproj">
<Project>{364577DB-9728-4951-AC2C-EDF7A6FCC09D}</Project>
<Name>cairo</Name>
</ProjectReference>
<ProjectReference Include="..\pango\pango.csproj">
<Project>{FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}</Project>
<Name>pango</Name>
</ProjectReference>
</ItemGroup>
</Project>

View File

@ -21,6 +21,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
@ -30,11 +31,11 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AppInfoAdapter.cs" />
<Compile Include="DBusInterfaceVTable.cs" />
<Compile Include="IFile.cs" />
<Compile Include="FileAdapter.cs" />
<Compile Include="FileEnumerator.cs" />
@ -366,6 +367,7 @@
<Compile Include="generated\IInitable.cs" />
<Compile Include="generated\ILoadableIcon.cs" />
<Compile Include="generated\IMount.cs" />
<Compile Include="generated\SocketSourceFunc.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\glib\glib.csproj">
@ -373,4 +375,7 @@
<Name>glib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
</Project>

View File

@ -926,6 +926,16 @@
<Compile Include="generated\ICellLayout.cs" />
<Compile Include="generated\IEditable.cs" />
<Compile Include="generated\IFileChooser.cs" />
<Compile Include="generated\IToolShell.cs" />
<Compile Include="generated\ITreeDragDest.cs" />
<Compile Include="generated\ITreeDragSource.cs" />
<Compile Include="generated\ITreeModel.cs" />
<Compile Include="generated\ITreeSortable.cs" />
<Compile Include="generated\IOrientable.cs" />
<Compile Include="generated\IPrintOperationPreview.cs" />
<Compile Include="generated\IRecentChooser.cs" />
<Compile Include="generated\IScrollable.cs" />
<Compile Include="generated\IStyleProvider.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
@ -947,5 +957,13 @@
<Project>{364577DB-9728-4951-AC2C-EDF7A6FCC09D}</Project>
<Name>cairo</Name>
</ProjectReference>
<ProjectReference Include="..\gio\gio.csproj">
<Project>{1C3BB17B-336D-432A-8952-4E979BC90867}</Project>
<Name>gio</Name>
</ProjectReference>
<ProjectReference Include="..\pango\pango.csproj">
<Project>{FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}</Project>
<Name>pango</Name>
</ProjectReference>
</ItemGroup>
</Project>

View File

@ -21,6 +21,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
@ -30,6 +31,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
@ -187,4 +189,14 @@
<Compile Include="generated\Win32MetricsInfo.cs" />
<Compile Include="generated\WrapMode.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\glib\glib.csproj">
<Project>{3BF1D531-8840-4F15-8066-A9788D8C398B}</Project>
<Name>glib</Name>
</ProjectReference>
<ProjectReference Include="..\cairo\cairo.csproj">
<Project>{364577DB-9728-4951-AC2C-EDF7A6FCC09D}</Project>
<Name>cairo</Name>
</ProjectReference>
</ItemGroup>
</Project>

View File

@ -10,7 +10,7 @@ namespace GtkSamples {
using Gtk;
public class TreeViewDemo {
public class ManagedTreeViewDemo {
private static ListStore store = null;
private class Pair {

View File

@ -9,7 +9,7 @@ namespace GtkSamples {
using Gtk;
using System;
public class ButtonApp {
public class ButtonAppSubclass {
public static int Main (string[] args)
{