From ba86f2800dac7a3345068b6e706723957715beaa Mon Sep 17 00:00:00 2001 From: nosami Date: Fri, 10 Nov 2017 15:56:07 +0000 Subject: [PATCH] Remove MacDev reference --- src/Xamarin.iOSProviders/MacParsing.fs | 17 +++++++---------- .../Xamarin.UIProvider.DesignTime.fsproj | 3 --- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/Xamarin.iOSProviders/MacParsing.fs b/src/Xamarin.iOSProviders/MacParsing.fs index 7dc713b..ecca5eb 100644 --- a/src/Xamarin.iOSProviders/MacParsing.fs +++ b/src/Xamarin.iOSProviders/MacParsing.fs @@ -1,9 +1,6 @@ namespace Xamarin.UIProviders.DesignTime -open System open System.IO -open System.Xml open System.Xml.Linq -open System.Linq [] module XmlHelpers = @@ -58,11 +55,11 @@ module Mac = |> Seq.choose (actionMapping tryLookup) |> Seq.toList - return {XmlType = vc.Name.LocalName - CustomClass = customClass.Value - Outlets = outlets - Actions = actions - View = None } } + return { XmlType = vc.Name.LocalName + CustomClass = customClass.Value + Outlets = outlets + Actions = actions + View = None } } let scenesFromXDoc (xdoc:XDocument) = let tryLookup = createIdLookup xdoc @@ -71,7 +68,7 @@ module Mac = vcElement |> Seq.choose (viewControllerMapping tryLookup) |> Seq.map (fun vc -> {ViewController=vc})) - + let scenesFromStoryBoardFileName (sb:string) = - let xdoc = XDocument.Load(new StreamReader(sb, true)) + let xdoc = XDocument.Load sb scenesFromXDoc xdoc \ No newline at end of file diff --git a/src/Xamarin.iOSProviders/Xamarin.UIProvider.DesignTime.fsproj b/src/Xamarin.iOSProviders/Xamarin.UIProvider.DesignTime.fsproj index a3340ef..d211bc4 100644 --- a/src/Xamarin.iOSProviders/Xamarin.UIProvider.DesignTime.fsproj +++ b/src/Xamarin.iOSProviders/Xamarin.UIProvider.DesignTime.fsproj @@ -51,9 +51,6 @@ /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.Client.dll - - /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.MacDev/MonoDevelop.MacDev.dll - /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.Designer.dll