This commit is contained in:
Dave Thomas 2017-06-26 20:49:07 +01:00
Родитель f3cc170dbe
Коммит 1d306e3e79
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1,7 +1,7 @@
#I "/Developer/MonoTouch/usr/lib/mono/2.1"
#r "/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.dll"
#r "/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.Client.dll"
#r "packages/ExtCore.0.8.45/lib/net45/ExtCore.dll"
#r "../packages/ExtCore.0.8.45/lib/net45/ExtCore.dll"
#r "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll"
#r "System.xml.Linq"
#load "ProvidedTypes.fs"
@ -16,7 +16,7 @@ open System.Net
open System.Linq
open ProviderImplementation
open ProviderImplementation.ProvidedTypes
open Xamarin.iOSProviders
open Xamarin.UIProviders
let (/) a b = Path.Combine(a, b)
let outputFolder = __SOURCE_DIRECTORY__ / "bin" / "Debug"
@ -24,7 +24,7 @@ let workingFolder = __SOURCE_DIRECTORY__ / "../../samples/StoryBoards/"
let assemblyName = "iOSDesignerTypeProvider.exe"
let runtimeAssembly = outputFolder / assemblyName
let config = [|box false;box true;box true |]
let generated = Debug.generate workingFolder runtimeAssembly (fun cfg -> new iOSDesignerProvider(cfg)) config
let generated = Debug.generate workingFolder runtimeAssembly (fun cfg -> new DesignTime.iOSDesignerProvider(cfg)) config
let output = Debug.prettyPrint false false 10 100 generated
printfn "%s" output