Fix script file
This commit is contained in:
Родитель
f3cc170dbe
Коммит
1d306e3e79
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче