Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit c740bfa

Browse files
authored
Merge pull request #9100 from mono/xammac-font
[Windows] Fix build due to Xamarin.Mac reference
2 parents e8e929c + ee4e547 commit c740bfa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontChooserPanelWidget.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@
2929
using MonoDevelop.Components.AtkCocoaHelper;
3030
using Gtk;
3131
using System.Diagnostics;
32-
using AppKit;
33-
using Foundation;
3432
using MonoDevelop.Components;
3533
using Xwt.Drawing;
3634

35+
#if MAC
36+
using AppKit;
37+
using Foundation;
38+
#endif
39+
3740
namespace MonoDevelop.Ide.Fonts
3841
{
3942
public partial class FontChooserPanelWidget : Gtk.Bin

main/tests/MonoDevelop.Core.Tests/MonoDevelop.Core.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<Reference Include="Microsoft.CSharp" />
2121
<Reference Include="mscorlib" />
2222
<Reference Include="System.Net.Http" />
23+
<Reference Include="System.ComponentModel.Composition" />
2324
<Reference Include="System.Configuration" />
2425
<!-- when building with xbuild on Unix, $(MSBuildToolsPath) is like `$prefix/lib/mono/xbuild/*/bin`
2526
when building with msbuild on Unix, $(MSBuildToolsPath) is like `$prefix/lib/mono/msbuild/*/bin`

0 commit comments

Comments
 (0)