Remove MacDev reference
This commit is contained in:
Родитель
2e017b63f7
Коммит
ba86f2800d
|
@ -1,9 +1,6 @@
|
|||
namespace Xamarin.UIProviders.DesignTime
|
||||
open System
|
||||
open System.IO
|
||||
open System.Xml
|
||||
open System.Xml.Linq
|
||||
open System.Linq
|
||||
|
||||
[<AutoOpen>]
|
||||
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
|
|
@ -51,9 +51,6 @@
|
|||
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="MonoDevelop.MacDev">
|
||||
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.MacDev/MonoDevelop.MacDev.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Designer">
|
||||
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.Designer.dll</HintPath>
|
||||
</Reference>
|
||||
|
|
Загрузка…
Ссылка в новой задаче