cleaned up, added basic scipting to build

This commit is contained in:
Dave Thomas 2017-07-22 00:48:25 +01:00
Родитель 58bfe799ff
Коммит 6d5b003c21
59 изменённых файлов: 321 добавлений и 3660 удалений

114
.gitignore поставляемый
Просмотреть файл

@ -6,13 +6,17 @@
*.user
*.sln.docstates
# Xamarin Studio / monodevelop user-specific
*.userprefs
*.dll.mdb
*.exe.mdb
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
x64/
build/
bld/
[Bb]in/
[Oo]bj/
@ -20,18 +24,8 @@ bld/
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
#NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
@ -51,12 +45,9 @@ dlldata.c
*.vssscc
.builds
*.pidb
*.svclog
*.log
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
@ -70,8 +61,8 @@ ipch/
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Other Visual Studio data
.vs/
# Guidance Automation Toolkit
*.gpState
@ -79,10 +70,6 @@ $tf/
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
@ -92,16 +79,8 @@ _TeamCity*
# NCrunch
*.ncrunch*
_NCrunch_*
.*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
@ -119,25 +98,21 @@ DocProject/Help/html
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
*.Publish.xml
# NuGet Packages Directory
packages/
## TODO: If the tool you use requires repositories.config uncomment the next line
#!packages/repositories.config
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
!packages/build/
# Enable nuget.exe in the .nuget folder (though normally executables are not tracked)
!.nuget/NuGet.exe
# Windows Azure Build Output
csx/
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# VSCode
.vscode/
# Others
sql/
*.Cache
@ -146,10 +121,9 @@ ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.[Pp]ublish.xml
*.pfx
*.publishsettings
node_modules/
# RIA/Silverlight projects
Generated_Code/
@ -162,15 +136,51 @@ UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
App_Data/*.mdf
App_Data/*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
#LightSwitch generated files
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml
*.userprefs
# =========================
# Windows detritus
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac desktop service store files
.DS_Store
# ===================================================
# Exclude F# project specific directories and files
# ===================================================
# NuGet Packages Directory
packages/
# Test results produced by build
TestResults.xml
# Nuget outputs
nuget/*.nupkg
release.cmd
release.sh
localpackages/
paket-files
*.orig
.paket/paket.exe
docsrc/content/license.md
docsrc/content/release-notes.md
.fake
docsrc/tools/FSharp.Formatting.svclog

9
build.cmd Normal file
Просмотреть файл

@ -0,0 +1,9 @@
@echo off
cls
.paket\paket.exe restore
if errorlevel 1 (
exit /b %errorlevel%
)
packages\FAKE\tools\FAKE.exe build.fsx %*

42
build.fsx Normal file
Просмотреть файл

@ -0,0 +1,42 @@
// include Fake libs
#r "./packages/FAKE/tools/FakeLib.dll"
open Fake
// Directories
let buildDir = "./build/"
let deployDir = "./deploy/"
// Filesets
let samples =
!! "/**/samples/**/*.csproj"
++ "/**/samples/**/*.fsproj"
// version info
let version = "0.1" // or retrieve from CI server
// Targets
Target "Clean" (fun _ ->
CleanDirs [buildDir; deployDir]
)
Target "Build" (fun _ ->
// compile all projects below src/app/
MSBuild "" "Build" ["Configuration", "Debug"] samples
|> Log "AppBuild-Output: "
)
Target "Deploy" (fun _ ->
!! (buildDir + "/**/*.*")
-- "*.zip"
|> Zip buildDir (deployDir + "ApplicationName." + version + ".zip")
)
// Build order
"Clean"
==> "Build"
==> "Deploy"
// start build
RunTargetOrDefault "Build"

20
build.sh Executable file
Просмотреть файл

@ -0,0 +1,20 @@
#!/bin/bash
if test "$OS" = "Windows_NT"
then
# use .Net
.paket/paket.exe restore
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi
packages/FAKE/tools/FAKE.exe $@ --fsiargs build.fsx
else
# use mono
mono .paket/paket.exe restore
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi
mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx
fi

Двоичные данные
buildCocoaTest.app/Contents/Info.plist Normal file

Двоичный файл не отображается.

Двоичные данные
buildCocoaTest.app/Contents/Resources/AppIcon.icns Normal file

Двоичный файл не отображается.

Двоичные данные
buildCocoaTest.app/Contents/Resources/Main.storyboardc/Info.plist Normal file

Двоичный файл не отображается.

Двоичные данные
buildCocoaTest.app/Contents/Resources/Main.storyboardc/MainMenu.nib сгенерированный Normal file

Двоичный файл не отображается.

Двоичные данные
buildCocoaTest.app/Contents/Resources/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib сгенерированный Normal file

Двоичный файл не отображается.

Двоичные данные
buildCocoaTest.app/Contents/Resources/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib сгенерированный Normal file

Двоичный файл не отображается.

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

@ -1,5 +1,5 @@
source https://www.nuget.org/api/v2
nuget FAKE
nuget ExtCore 0.8.45 restriction: >= net45
nuget FSharp.TypeProviders.StarterPack 1.1.3.88
nuget Unquote 3.1.1

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

@ -1,6 +1,7 @@
NUGET
remote: https://www.nuget.org/api/v2
ExtCore (0.8.45) - restriction: >= net45
FAKE (4.62.5)
FSharp.TypeProviders.StarterPack (1.1.3.88)
Unquote (3.1.1)
Xamarin.Android.Support.v4 (23.1.1) - restriction: >= monoandroid6.0

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

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

@ -1,4 +1,4 @@
namespace CocoaApp
namespace CocoaTest
open System
open Foundation
open AppKit

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

До

Ширина:  |  Высота:  |  Размер: 7.9 KiB

После

Ширина:  |  Высота:  |  Размер: 7.9 KiB

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

До

Ширина:  |  Высота:  |  Размер: 20 KiB

После

Ширина:  |  Высота:  |  Размер: 20 KiB

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

До

Ширина:  |  Высота:  |  Размер: 711 B

После

Ширина:  |  Высота:  |  Размер: 711 B

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

До

Ширина:  |  Высота:  |  Размер: 1.4 KiB

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

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

До

Ширина:  |  Высота:  |  Размер: 20 KiB

После

Ширина:  |  Высота:  |  Размер: 20 KiB

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

До

Ширина:  |  Высота:  |  Размер: 58 KiB

После

Ширина:  |  Высота:  |  Размер: 58 KiB

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

До

Ширина:  |  Высота:  |  Размер: 1.4 KiB

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

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

До

Ширина:  |  Высота:  |  Размер: 3.3 KiB

После

Ширина:  |  Высота:  |  Размер: 3.3 KiB

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

До

Ширина:  |  Высота:  |  Размер: 58 KiB

После

Ширина:  |  Высота:  |  Размер: 58 KiB

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

До

Ширина:  |  Высота:  |  Размер: 174 KiB

После

Ширина:  |  Высота:  |  Размер: 174 KiB

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

@ -1,24 +1,22 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhone</Platform>
<ProjectGuid>{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}</ProjectGuid>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{BE5015B3-3337-41D8-A301-FAF2831CF6D5}</ProjectGuid>
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{F2A71F9B-5D33-465A-A702-920D77279786}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>CocoaApp</RootNamespace>
<AssemblyName>cocoa_cs_test</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
<RootNamespace>CocoaTest</RootNamespace>
<AssemblyName>CocoaTest</AssemblyName>
<MonoMacResourcePrefix>Resources</MonoMacResourcePrefix>
<UseXamMacFullFramework>true</UseXamMacFullFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<OutputPath>bin\x86\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<EnableCodeSigning>false</EnableCodeSigning>
<CodeSigningKey>Mac Developer</CodeSigningKey>
<CreatePackage>false</CreatePackage>
@ -26,28 +24,29 @@
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<UseSGen>true</UseSGen>
<UseRefCounting>true</UseRefCounting>
<Profiling>true</Profiling>
<CodeSignEntitlements></CodeSignEntitlements>
<CodeSignResourceRules></CodeSignResourceRules>
<PlatformTarget>x86</PlatformTarget>
<HttpClientHandler></HttpClientHandler>
<LinkMode></LinkMode>
<XamMacArch></XamMacArch>
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
<MonoBundlingExtraArgs>-v -v -v -v</MonoBundlingExtraArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<OutputPath>bin\x86\Release</OutputPath>
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<EnableCodeSigning>true</EnableCodeSigning>
<CodeSigningKey>Developer ID Application</CodeSigningKey>
<EnableCodeSigning>false</EnableCodeSigning>
<CreatePackage>true</CreatePackage>
<EnablePackageSigning>false</EnablePackageSigning>
<IncludeMonoRuntime>true</IncludeMonoRuntime>
<UseSGen>true</UseSGen>
<UseRefCounting>true</UseRefCounting>
<LinkMode>SdkOnly</LinkMode>
<LinkMode>None</LinkMode>
<GenerateTailCalls>true</GenerateTailCalls>
<CodeSignEntitlements></CodeSignEntitlements>
<CodeSignResourceRules></CodeSignResourceRules>
<PlatformTarget>x86</PlatformTarget>
<HttpClientHandler></HttpClientHandler>
<XamMacArch></XamMacArch>
</PropertyGroup>
<ItemGroup>
@ -61,30 +60,27 @@
</Reference>
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\Contents.json" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-128.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-128%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-16.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-16%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-256.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-256%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-32.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-32%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-512.png" />
<ImageAsset Include="Assets.xcassets\AppIcons.appiconset\AppIcon-512%402x.png" />
<ImageAsset Include="Assets.xcassets\Contents.json" />
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-128.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-128%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-16.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-16%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-256.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-256%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-32.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-32%402x.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-512.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\AppIcon-512%402x.png" />
<ImageAsset Include="Assets.xcassets\Contents.json" />
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="Main.storyboard" />
</ItemGroup>
<ItemGroup>
<Compile Include="AppDelegate.fs" />
<Compile Include="ViewController.fs" />
<Compile Include="Main.fs" />
<InterfaceDefinition Include="Main.storyboard" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.FSharp.targets" />
</Project>

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

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>CocoaApp</string>
<string>CocoaTest</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.cocoaapp</string>
<string>com.companyname.CocoaTest</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>10.11</string>
<string>10.12</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -21,12 +21,12 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>NSHumanReadableCopyright</key>
<string>dave</string>
<string>${AuthorCopyright:HtmlEncode}</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcons.appiconset</string>
<string>Assets.xcassets/AppIcon.appiconset</string>
</dict>
</plist>

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

@ -1,4 +1,4 @@
namespace CocoaApp
namespace CocoaTest
open System
open AppKit

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

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

@ -11,8 +11,12 @@ type myViewController(handle) =
override x.ViewDidLoad () =
base.ViewDidLoad ()
// Do any additional setup after loading the view.
// Access the action, apply
x.OnButton <- Some(fun _ -> x.View.Window.BackgroundColor <- NSColor.Red)
//access button outlet
x.myButton.Title <- "test"
//access label outlet
x.myLabel.PlaceholderString <- "test"
override x.RepresentedObject
// Update the view, if already loaded.

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

@ -10,14 +10,12 @@ Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "SingleViewUniversal", "unif
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "singleview_tvOS", "unified\singleview_tvOS\singleview_tvOS.fsproj", "{00BF2AD3-867C-4A12-8AE6-907D4F02380F}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "CocoaApp", "CocoaApp\CocoaApp.fsproj", "{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}"
EndProject
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "WatchkitTest", "unified\WatchkitTest\WatchkitTest.fsproj", "{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fullTest", "unified\fullTest\fullTest.fsproj", "{A202739B-6E4E-4772-A2B6-2E427643FF15}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fsharp_masterdetail", "unified\MasterDetail\fsharp_masterdetail.fsproj", "{14BE2E7C-3220-4128-A8B2-45DCB985B844}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "CocoaTest", "CocoaTest\CocoaTest.fsproj", "{BE5015B3-3337-41D8-A301-FAF2831CF6D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
@ -62,38 +60,6 @@ Global
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.AppStore|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.AppStore|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|x86.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|x86.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|x86.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|x86.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhoneSimulator.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhoneSimulator.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhone.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.Build.0 = Debug|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.Build.0 = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
@ -126,6 +92,22 @@ Global
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.Build.0 = AppStore|iPhone
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Debug|x86.ActiveCfg = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Debug|x86.Build.0 = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Release|x86.ActiveCfg = Release|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Release|x86.Build.0 = Release|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Debug|iPhoneSimulator.Build.0 = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Release|iPhoneSimulator.Build.0 = Release|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Debug|iPhone.ActiveCfg = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Debug|iPhone.Build.0 = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Release|iPhone.ActiveCfg = Release|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Release|iPhone.Build.0 = Release|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Ad-Hoc|iPhone.ActiveCfg = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.Ad-Hoc|iPhone.Build.0 = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.AppStore|iPhone.ActiveCfg = Debug|x86
{BE5015B3-3337-41D8-A301-FAF2831CF6D5}.AppStore|iPhone.Build.0 = Debug|x86
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection

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

@ -109,16 +109,12 @@
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<Compile Include="ViewControllers.fs" />
<Compile Include="AppDelegate.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<ItemGroup>
<InterfaceDefinition Include="MainStoryboard.storyboard" />
<InterfaceDefinition Include="LaunchScreen.storyboard" />
</ItemGroup>

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

@ -95,19 +95,13 @@
<HintPath>..\..\..\src\Build\Debug\Xamarin.UIProvider.iOSRuntime.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Default-568h%402x.png" />
</ItemGroup>
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<Compile Include="SingleViewUniversalViewController.fs" />
<Compile Include="AppDelegate.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<ItemGroup>
<BundleResource Include="Resources\Default-568h%402x.png" />
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
<Compile Include="SingleViewUniversalViewController.fs" />
<Compile Include="AppDelegate.fs" />
<InterfaceDefinition Include="MainStoryboard_iPad.storyboard" />
<InterfaceDefinition Include="MainStoryboard_iPhone.storyboard" />
</ItemGroup>

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

@ -1,16 +0,0 @@
namespace WatchkitTest
open System
open UIKit
open Foundation
[<Register ("AppDelegate")>]
type AppDelegate () =
inherit UIApplicationDelegate ()
override val Window = null with get, set
// This method is invoked when the application is ready to run.
override this.FinishedLaunching (app, options) =
true

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

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>

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

@ -1,47 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>WatchkitTest</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.watchkittest</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>8.3</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIMainStoryboardFile~ipad</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>XSAppIconAssets</key>
<string>Resources/Images.xcassets/AppIcons.appiconset</string>
</dict>
</plist>

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

@ -1,82 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="6221" systemVersion="14A389" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="AgC-eL-Hgc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6213"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="3734"/>
</dependencies>
<scenes>
<!--Interface Controller-->
<scene sceneID="aou-V4-d1y">
<objects>
<controller id="AgC-eL-Hgc" customClass="InterfaceController" customModuleProvider="">
<items>
<switch width="1" alignment="left" value="YES" title="Switch" id="1">
<connections>
<action selector="mySwitch_switched:" destination="AgC-eL-Hgc" id="2"/>
</connections>
</switch>
</items>
<connections>
<outlet property="mySwitch" destination="1" id="name-outlet-1"/>
</connections>
</controller>
</objects>
<point key="canvasLocation" x="0.0" y="0.0"/>
</scene>
<!--Glance Interface Controller-->
<scene sceneID="BOz-TT-tkC">
<objects>
<glanceController spacing="0.0" id="0uZ-2p-rRc" customClass="GlanceController" customModuleProvider="">
<items>
<group alignment="left" id="t8f-Gd-c4y">
<items>
<dateLabel alignment="left" id="3">
<dateFormatterStyle key="dateStyle" none="YES" short="YES"/>
<dateFormatterStyle key="timeStyle" none="YES" short="YES"/>
</dateLabel>
</items>
</group>
<group alignment="left" id="uCw-4Q-Ouw">
<items>
<imageView alignment="center" id="0" image="bombs.png" verticalAlignment="center"/>
</items>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
</group>
</items>
<edgeInsets key="margins" left="0.0" right="0.0" top="0.0" bottom="14"/>
<connections>
<outlet property="myImage" destination="uCw-4Q-Ouw" id="name-outlet-uCw-4Q-Ouw"/>
<outlet property="myDate" destination="3" id="name-outlet-3"/>
</connections>
</glanceController>
</objects>
<point key="canvasLocation" x="0.0" y="263"/>
</scene>
<!--Static Notification Interface Controller-->
<scene sceneID="AEw-b0-oYE">
<objects>
<notificationController id="YCC-NB-fut">
<items>
<label alignment="left" text="Alert Label" id="XkS-y5-khE"/>
</items>
<notificationCategory key="notificationCategory" id="JfB-70-Muf"/>
<connections>
<outlet property="notificationAlertLabel" destination="XkS-y5-khE" id="49B-RR-99y"/>
<segue destination="gdX-wl-uQE" kind="relationship" relationship="dynamicNotificationInterface" id="fKh-qV-3T2"/>
</connections>
</notificationController>
</objects>
<point key="canvasLocation" x="231" y="0.0"/>
</scene>
<!--Notification Controller-->
<scene sceneID="KIl-fV-djm">
<objects>
<controller id="gdX-wl-uQE" customClass="NotificationController" customModuleProvider=""/>
</objects>
<point key="canvasLocation" x="462" y="0.0"/>
</scene>
</scenes>
<resources>
<image name="bombs.png" width="16" height="16"/>
</resources>
</document>

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

@ -1,9 +0,0 @@
namespace Test
open UIKit
module Main =
[<EntryPoint>]
let main args =
UIApplication.Main(args, null, "AppDelegate")
0

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

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204" />
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ" />
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE" />
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600" />
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" />
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder" />
</objects>
</scene>
</scenes>
</document>

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

@ -1,108 +0,0 @@
{
"images": [
{
"size": "29x29",
"scale": "1x",
"idiom": "iphone"
},
{
"size": "29x29",
"scale": "2x",
"idiom": "iphone"
},
{
"size": "29x29",
"scale": "3x",
"idiom": "iphone"
},
{
"size": "40x40",
"scale": "2x",
"idiom": "iphone"
},
{
"size": "40x40",
"scale": "3x",
"idiom": "iphone"
},
{
"size": "57x57",
"scale": "1x",
"idiom": "iphone"
},
{
"size": "57x57",
"scale": "2x",
"idiom": "iphone"
},
{
"size": "60x60",
"scale": "2x",
"idiom": "iphone"
},
{
"size": "60x60",
"scale": "3x",
"idiom": "iphone"
},
{
"size": "29x29",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "29x29",
"scale": "2x",
"idiom": "ipad"
},
{
"size": "40x40",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "40x40",
"scale": "2x",
"idiom": "ipad"
},
{
"size": "50x50",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "50x50",
"scale": "2x",
"idiom": "ipad"
},
{
"size": "72x72",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "72x72",
"scale": "2x",
"idiom": "ipad"
},
{
"size": "76x76",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "76x76",
"scale": "2x",
"idiom": "ipad"
},
{
"size": "120x120",
"scale": "1x",
"idiom": "car"
}
],
"info": {
"version": 1,
"author": "xcode"
}
}

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

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207" />
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1" />
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" />
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder" />
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="480" height="480" />
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 dave" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines"
minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
<rect key="frame" x="20" y="439" width="441" height="21" />
<fontDescription key="fontDescription" type="system" pointSize="17" />
<color key="textColor" cocoaTouchSystemColor="darkTextColor" />
<nil key="highlightedColor" />
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="WatchkitTest" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines"
minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43" />
<fontDescription key="fontDescription" type="boldSystem" pointSize="36" />
<color key="textColor" cocoaTouchSystemColor="darkTextColor" />
<nil key="highlightedColor" />
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" />
<constraints>
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC" />
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk" />
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l" />
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0" />
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9" />
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g" />
</constraints>
<nil key="simulatedStatusBarMetrics" />
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics" />
<point key="canvasLocation" x="548" y="455" />
</view>
</objects>
</document>

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

@ -1,32 +0,0 @@
namespace Xamarin.iOSProviders.UIProvider
open System
open System.Drawing
open Foundation
open UIKit
open Xamarin.iOSProviders
//view controller is generated from the type provider and embedded into the assembly here
type VCContainer = UIProvider<AbstractController=false>
[<Register ("ViewController")>]
type ViewController (handle:IntPtr) =
inherit UIViewController (handle)
override x.DidReceiveMemoryWarning () =
// Releases the view if it doesn't have a superview.
base.DidReceiveMemoryWarning ()
// Release any cached data, images, etc that aren't in use.
override x.ViewDidLoad () =
base.ViewDidLoad ()
// Perform any additional setup after loading the view, typically from a nib.
override x.ShouldAutorotateToInterfaceOrientation (toInterfaceOrientation) =
// Return true for supported orientations
if UIDevice.CurrentDevice.UserInterfaceIdiom = UIUserInterfaceIdiom.Phone then
toInterfaceOrientation <> UIInterfaceOrientation.PortraitUpsideDown
else
true

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

@ -1,119 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectGuid>{9D0AE0B1-5E14-4539-9F8C-50C20E003E36}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{F2A71F9B-5D33-465A-A702-920D77279786}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>WatchkitTest</RootNamespace>
<AssemblyName>WatchkitTest</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
<DefineConstants>DEBUG;ENABLE_TEST_CLOUD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>true</MtouchDebug>
<MtouchFastDev>true</MtouchFastDev>
<MtouchProfiling>true</MtouchProfiling>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchLink>None</MtouchLink>
<MtouchArch>i386</MtouchArch>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<GenerateTailCalls>true</GenerateTailCalls>
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<Optimize>true</Optimize>
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchLink>None</MtouchLink>
<MtouchArch>i386</MtouchArch>
<GenerateTailCalls>true</GenerateTailCalls>
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>bin\iPhone\Debug</OutputPath>
<DefineConstants>DEBUG;ENABLE_TEST_CLOUD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>true</MtouchDebug>
<MtouchProfiling>true</MtouchProfiling>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core" />
<Reference Include="Xamarin.iOS" />
<Reference Include="Xamarin.iOSProviders">
<HintPath>..\..\..\src\Xamarin.iOSProviders\bin\Debug\Xamarin.iOSProviders.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json" />
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="Resources\LaunchScreen.xib" />
<InterfaceDefinition Include="Main.storyboard" />
<InterfaceDefinition Include="Interface.storyboard" />
</ItemGroup>
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
<None Include="paket.references" />
</ItemGroup>
<ItemGroup>
<Compile Include="ViewController.fs" />
<Compile Include="AppDelegate.fs" />
<Compile Include="Main.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == 'Xamarin.iOS'">
<ItemGroup>
<Reference Include="Calabash">
<HintPath>..\..\..\packages\Xamarin.TestCloud.Agent\lib\Xamarin.iOS10\Calabash.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

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

@ -1 +0,0 @@
Xamarin.TestCloud.Agent

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

@ -107,15 +107,11 @@
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<Compile Include="fullTestViewController.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<ItemGroup>
<InterfaceDefinition Include="Main.storyboard" />
</ItemGroup>
</Project>

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

@ -1,34 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{CA719849-C680-4F03-A1F7-C6390FD74148}"
ProjectSection(SolutionItems) = preProject
..\..\..\paket.dependencies = ..\..\..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fullTest", "fullTest.fsproj", "{A202739B-6E4E-4772-A2B6-2E427643FF15}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Release|iPhoneSimulator = Release|iPhoneSimulator
Debug|iPhone = Debug|iPhone
Release|iPhone = Release|iPhone
Ad-Hoc|iPhone = Ad-Hoc|iPhone
AppStore|iPhone = AppStore|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.Build.0 = AppStore|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.ActiveCfg = Debug|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.Build.0 = Debug|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.ActiveCfg = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.Build.0 = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
EndGlobalSection
EndGlobal

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

@ -22,8 +22,6 @@
<MtouchDebug>true</MtouchDebug>
<MtouchFastDev>true</MtouchFastDev>
<MtouchProfiling>true</MtouchProfiling>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchFloat32>true</MtouchFloat32>
<CodesignEntitlements></CodesignEntitlements>
<MtouchLink>None</MtouchLink>
@ -38,8 +36,6 @@
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchUseLlvm>true</MtouchUseLlvm>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchFloat32>true</MtouchFloat32>
<MtouchEnableBitcode>true</MtouchEnableBitcode>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
@ -53,8 +49,6 @@
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchFloat32>true</MtouchFloat32>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchLink>None</MtouchLink>
@ -74,8 +68,6 @@
<MtouchDebug>true</MtouchDebug>
<MtouchFastDev>true</MtouchFastDev>
<MtouchProfiling>true</MtouchProfiling>
<MtouchUseSGen>true</MtouchUseSGen>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchFloat32>true</MtouchFloat32>
<CodesignEntitlements></CodesignEntitlements>
<MtouchLink>None</MtouchLink>
@ -92,6 +84,9 @@
<HintPath>..\..\..\src\Build\Debug\Xamarin.UIProvider.TVOSRuntime.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Assets.xcassets\App Icon &amp; Top Shelf Image.brandassets\Contents.json" />
<ImageAsset Include="Assets.xcassets\App Icon &amp; Top Shelf Image.brandassets\App Icon - Large.imagestack\Contents.json" />
@ -111,18 +106,9 @@
<ImageAsset Include="Assets.xcassets\App Icon &amp; Top Shelf Image.brandassets\Top Shelf Image.imageset\Contents.json" />
<ImageAsset Include="Assets.xcassets\LaunchImages.launchimage\Contents.json" />
<ImageAsset Include="Assets.xcassets\Contents.json" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="Main.storyboard" />
</ItemGroup>
<ItemGroup>
<Compile Include="ViewController.fs" />
<Compile Include="AppDelegate.fs" />
<Compile Include="Main.fs" />

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

@ -1,21 +0,0 @@
module DisposalIssue.AssemblyInfo
open System.Reflection
open System.Runtime.CompilerServices
[<assembly: AssemblyTitle("DisposalIssue")>]
[<assembly: AssemblyDescription("")>]
[<assembly: AssemblyConfiguration("")>]
[<assembly: AssemblyCompany("")>]
[<assembly: AssemblyProduct("")>]
[<assembly: AssemblyCopyright("dave")>]
[<assembly: AssemblyTrademark("")>]
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
[<assembly: AssemblyVersion("1.0.0.0")>]
//[<assembly: AssemblyDelaySign(false)>]
//[<assembly: AssemblyKeyFile("")>]
()

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

@ -1,88 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{03D202B0-123E-4397-BCA9-36129CBA8518}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>DisposalIssue</RootNamespace>
<AssemblyName>DisposalIssue</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<Tailcalls>false</Tailcalls>
<PlatformTarget>
</PlatformTarget>
<Externalconsole>true</Externalconsole>
<CustomCommands>
<CustomCommands>
<Command type="Execute" command="&quot;/Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop/bin/XamarinStudio.exe&quot;" workingdir="/Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop" />
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<PlatformTarget>
</PlatformTarget>
<ConsolePause>false</ConsolePause>
<Tailcalls>true</Tailcalls>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Numerics" />
<Reference Include="System.Drawing" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="ProvidedTypes-head.fsi" />
<Compile Include="ProvidedTypes-head.fs" />
<Compile Include="Script.fsx" />
<Compile Include="TestProvider.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets" />
<ItemGroup>
<None Include="paket.references" />
</ItemGroup>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.0.3')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\..\packages\Unquote\lib\net40\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3' Or $(TargetFrameworkVersion) == 'v4.7')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\..\packages\Unquote\lib\net45\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="($(TargetFrameworkIdentifier) == 'WindowsPhoneApp') Or ($(TargetFrameworkIdentifier) == '.NETCore') Or ($(TargetFrameworkIdentifier) == '.NETStandard' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v1.2' Or $(TargetFrameworkVersion) == 'v1.3' Or $(TargetFrameworkVersion) == 'v1.4' Or $(TargetFrameworkVersion) == 'v1.5' Or $(TargetFrameworkVersion) == 'v1.6' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == '.NETCoreApp' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v2.2' Or $(TargetFrameworkVersion) == 'v2.3' Or $(TargetFrameworkVersion) == 'v4.0.3' Or $(TargetFrameworkVersion) == 'v4.1' Or $(TargetFrameworkVersion) == 'v4.2' Or $(TargetFrameworkVersion) == 'v4.3' Or $(TargetFrameworkVersion) == 'v4.4' Or $(TargetFrameworkVersion) == 'v4.4W' Or $(TargetFrameworkVersion) == 'v5.0' Or $(TargetFrameworkVersion) == 'v5.1' Or $(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')) Or ($(TargetFrameworkIdentifier) == 'MonoTouch') Or ($(TargetFrameworkIdentifier) == 'Xamarin.iOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.Mac') Or ($(TargetFrameworkIdentifier) == 'WindowsPhone' And ($(TargetFrameworkVersion) == 'v8.0' Or $(TargetFrameworkVersion) == 'v8.1')) Or ($(TargetFrameworkProfile) == 'Profile7') Or ($(TargetFrameworkProfile) == 'Profile31') Or ($(TargetFrameworkProfile) == 'Profile32') Or ($(TargetFrameworkProfile) == 'Profile44') Or ($(TargetFrameworkProfile) == 'Profile49') Or ($(TargetFrameworkProfile) == 'Profile78') Or ($(TargetFrameworkProfile) == 'Profile84') Or ($(TargetFrameworkProfile) == 'Profile111') Or ($(TargetFrameworkProfile) == 'Profile151') Or ($(TargetFrameworkProfile) == 'Profile157') Or ($(TargetFrameworkProfile) == 'Profile259')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\..\packages\Unquote\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

Разница между файлами не показана из-за своего большого размера Загрузить разницу

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

@ -1,376 +0,0 @@
// Copyright (c) Microsoft Corporation 2005-2012.
// This sample code is provided "as is" without warranty of any kind.
// We disclaim all warranties, either express or implied, including the
// warranties of merchantability and fitness for a particular purpose.
// This file contains a set of helper types and methods for providing types in an implementation
// of ITypeProvider.
//
// This code is a sample for use in conjunction with the F# 3.0 Developer Preview release of September 2011.
namespace FSharp.ProvidedTypes
open System
open System.Reflection
open System.Linq.Expressions
open Microsoft.FSharp.Core.CompilerServices
/// Represents an erased provided parameter
type internal ProvidedParameter =
inherit System.Reflection.ParameterInfo
new : parameterName: string * parameterType: Type * ?isOut:bool * ?optionalValue:obj -> ProvidedParameter
member IsParamArray : bool with get,set
/// Represents an erased provided constructor.
type internal ProvidedConstructor =
inherit System.Reflection.ConstructorInfo
/// Create a new provided constructor. It is not initially associated with any specific provided type definition.
new : parameters: ProvidedParameter list -> ProvidedConstructor
/// Add a 'System.Obsolete' attribute to this provided constructor
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided constructor, where the documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Set the quotation used to compute the implementation of invocations of this constructor.
member InvokeCode : (Quotations.Expr list -> Quotations.Expr) with set
/// Set the target and arguments of the base constructor call. Only used for generated types.
member BaseConstructorCall : (Quotations.Expr list -> ConstructorInfo * Quotations.Expr list) with set
/// Set a flag indicating that the constructor acts like an F# implicit constructor, so the
/// parameters of the constructor become fields and can be accessed using Expr.GlobalVar with the
/// same name.
member IsImplicitCtor : bool with set
/// Add definition location information to the provided constructor.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
member IsTypeInitializer : bool with get,set
type internal ProvidedMethod =
inherit System.Reflection.MethodInfo
/// Create a new provided method. It is not initially associated with any specific provided type definition.
new : methodName:string * parameters: ProvidedParameter list * returnType: Type -> ProvidedMethod
/// Add XML documentation information to this provided method
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
/// The documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
member AddMethodAttrs : attributes:MethodAttributes -> unit
/// Set the method attributes of the method. By default these are simple 'MethodAttributes.Public'
member SetMethodAttrs : attributes:MethodAttributes -> unit
/// Get or set a flag indicating if the property is static.
member IsStaticMethod : bool with get, set
/// Set the quotation used to compute the implementation of invocations of this method.
member InvokeCode : (Quotations.Expr list -> Quotations.Expr) with set
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
/// Represents an erased provided property.
type internal ProvidedProperty =
inherit System.Reflection.PropertyInfo
/// Create a new provided type. It is not initially associated with any specific provided type definition.
new : propertyName: string * propertyType: Type * ?parameters:ProvidedParameter list -> ProvidedProperty
/// Add a 'System.Obsolete' attribute to this provided property
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
/// The documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Get or set a flag indicating if the property is static.
member IsStatic : bool with set
/// Set the quotation used to compute the implementation of gets of this property.
member GetterCode : (Quotations.Expr list -> Quotations.Expr) with set
/// Set the function used to compute the implementation of sets of this property.
member SetterCode : (Quotations.Expr list -> Quotations.Expr) with set
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
/// Represents an erased provided property.
type internal ProvidedEvent =
inherit System.Reflection.EventInfo
/// Create a new provided type. It is not initially associated with any specific provided type definition.
new : propertyName: string * eventHandlerType: Type -> ProvidedEvent
/// Add XML documentation information to this provided constructor
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
/// The documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Get or set a flag indicating if the property is static.
member IsStatic : bool with set
/// Set the quotation used to compute the implementation of gets of this property.
member AdderCode : (Quotations.Expr list -> Quotations.Expr) with set
/// Set the function used to compute the implementation of sets of this property.
member RemoverCode : (Quotations.Expr list -> Quotations.Expr) with set
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
/// Represents an erased provided field.
type internal ProvidedLiteralField =
inherit System.Reflection.FieldInfo
/// Create a new provided field. It is not initially associated with any specific provided type definition.
new : fieldName: string * fieldType: Type * literalValue: obj -> ProvidedLiteralField
/// Add a 'System.Obsolete' attribute to this provided field
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided field
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided field, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided field, where the computation of the documentation is delayed until necessary
/// The documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Add definition location information to the provided field.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
/// Represents an erased provided field.
type internal ProvidedField =
inherit System.Reflection.FieldInfo
/// Create a new provided field. It is not initially associated with any specific provided type definition.
new : fieldName: string * fieldType: Type -> ProvidedField
/// Add a 'System.Obsolete' attribute to this provided field
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided field
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided field, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided field, where the computation of the documentation is delayed until necessary
/// The documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Add definition location information to the provided field definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
member SetFieldAttributes : attributes : FieldAttributes -> unit
/// Provides symbolic provided types
[<Class>]
type internal ProvidedTypeBuilder =
/// Like typ.MakeGenericType, but will also work with unit-annotated types
static member MakeGenericType: genericTypeDefinition: System.Type * genericArguments: System.Type list -> System.Type
/// Like methodInfo.MakeGenericMethod, but will also work with unit-annotated types and provided types
static member MakeGenericMethod: genericMethodDefinition: System.Reflection.MethodInfo * genericArguments: System.Type list -> MethodInfo
/// Helps create erased provided unit-of-measure annotations.
[<Class>]
type internal ProvidedMeasureBuilder =
/// The ProvidedMeasureBuilder for building measures.
static member Default : ProvidedMeasureBuilder
/// e.g. 1
member One : System.Type
/// e.g. m * kg
member Product : measure1: System.Type * measure1: System.Type -> System.Type
/// e.g. 1 / kg
member Inverse : denominator: System.Type -> System.Type
/// e.g. kg / m
member Ratio : numerator: System.Type * denominator: System.Type -> System.Type
/// e.g. m * m
member Square : ``measure``: System.Type -> System.Type
/// the SI unit from the F# core library, where the string is in capitals and US spelling, e.g. Meter
member SI : string -> System.Type
/// e.g. float<kg>, Vector<int, kg>
member AnnotateType : basic: System.Type * argument: System.Type list -> System.Type
/// Represents a provided static parameter.
type internal ProvidedStaticParameter =
inherit System.Reflection.ParameterInfo
new : parameterName: string * parameterType:Type * ?parameterDefaultValue:obj -> ProvidedStaticParameter
/// Add XML documentation information to this provided constructor
member AddXmlDoc : xmlDoc: string -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Represents a provided type definition.
type internal ProvidedTypeDefinition =
inherit System.Type
/// Create a new provided type definition in a namespace.
new : assembly: Assembly * namespaceName: string * className: string * baseType: Type option -> ProvidedTypeDefinition
/// Create a new provided type definition, to be located as a nested type in some type definition.
new : className : string * baseType: Type option -> ProvidedTypeDefinition
/// Add the given type as an implemented interface.
member AddInterfaceImplementation : interfaceType: Type -> unit
/// Add the given function as a set of on-demand computed interfaces.
member AddInterfaceImplementationsDelayed : interfacesFunction:(unit -> Type list)-> unit
/// Specifies that the given method body implements the given method declaration.
member DefineMethodOverride : methodInfoBody: ProvidedMethod * methodInfoDeclaration: MethodInfo -> unit
/// Add a 'System.Obsolete' attribute to this provided type definition
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
member AddXmlDoc : xmlDoc: string -> unit
/// Set the base type
member SetBaseType : Type -> unit
/// Set the base type to a lazily evaluated value
member SetBaseTypeDelayed : Lazy<Type option> -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary.
/// The documentation is only computed once.
member AddXmlDocDelayed : xmlDocFunction: (unit -> string) -> unit
/// Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary
/// The documentation is re-computed every time it is required.
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Set the attributes on the provided type. This fully replaces the default TypeAttributes.
member SetAttributes : System.Reflection.TypeAttributes -> unit
/// Reset the enclosing type (for generated nested types)
member ResetEnclosingType: enclosingType:System.Type -> unit
/// Add a method, property, nested type or other member to a ProvidedTypeDefinition
member AddMember : memberInfo:MemberInfo -> unit
/// Add a set of members to a ProvidedTypeDefinition
member AddMembers : memberInfos:list<#MemberInfo> -> unit
/// Add a member to a ProvidedTypeDefinition, delaying computation of the members until required by the compilation context.
member AddMemberDelayed : memberFunction:(unit -> #MemberInfo) -> unit
/// Add a set of members to a ProvidedTypeDefinition, delaying computation of the members until required by the compilation context.
member AddMembersDelayed : (unit -> list<#MemberInfo>) -> unit
/// Add the types of the generated assembly as generative types, where types in namespaces get hierarchically positioned as nested types.
member AddAssemblyTypesAsNestedTypesDelayed : assemblyFunction:(unit -> System.Reflection.Assembly) -> unit
// Parametric types
member DefineStaticParameters : parameters: ProvidedStaticParameter list * instantiationFunction: (string -> obj[] -> ProvidedTypeDefinition) -> unit
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
/// Suppress System.Object entries in intellisense menus in instances of this provided type
member HideObjectMethods : bool with set
/// Get or set a flag indicating if the ProvidedTypeDefinition is erased
member IsErased : bool with get,set
/// Get or set a flag indicating if the ProvidedTypeDefinition has type-relocation suppressed
[<Experimental("SuppressRelocation is a workaround and likely to be removed")>]
member SuppressRelocation : bool with get,set
/// A provided generated assembly
type ProvidedAssembly =
new : assemblyFileName:string -> ProvidedAssembly
/// <summary>
/// Emit the given provided type definitions as part of the assembly
/// and adjust the 'Assembly' property of all provided type definitions to return that
/// assembly.
///
/// The assembly is only emitted when the Assembly property on the root type is accessed for the first time.
/// The host F# compiler does this when processing a generative type declaration for the type.
/// </summary>
/// <param name="enclosingTypeNames">An optional path of type names to wrap the generated types. The generated types are then generated as nested types.</param>
member AddTypes : types : ProvidedTypeDefinition list -> unit
member AddNestedTypes : types : ProvidedTypeDefinition list * enclosingGeneratedTypeNames: string list -> unit
#if FX_NO_LOCAL_FILESYSTEM
#else
/// Register that a given file is a provided generated assembly
static member RegisterGenerated : fileName:string -> Assembly
#endif
/// A base type providing default implementations of type provider functionality when all provided
/// types are of type ProvidedTypeDefinition.
type TypeProviderForNamespaces =
/// Initializes a type provider to provide the types in the given namespace.
internal new : namespaceName:string * types: ProvidedTypeDefinition list -> TypeProviderForNamespaces
/// Initializes a type provider
internal new : unit -> TypeProviderForNamespaces
/// Add a namespace of provided types.
member internal AddNamespace : namespaceName:string * types: ProvidedTypeDefinition list -> unit
/// Invalidate the information provided by the provider
member Invalidate : unit -> unit
#if FX_NO_LOCAL_FILESYSTEM
#else
/// AssemblyResolve handler. Default implementation searches <assemblyname>.dll file in registered folders
abstract ResolveAssembly : System.ResolveEventArgs -> Assembly
default ResolveAssembly : System.ResolveEventArgs -> Assembly
/// Registers custom probing path that can be used for probing assemblies
member RegisterProbingFolder : folder : string -> unit
/// Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder
member RegisterRuntimeAssemblyLocationAsProbingFolder : cfg : Core.CompilerServices.TypeProviderConfig -> unit
#endif
interface ITypeProvider

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

@ -1,6 +0,0 @@
// Learn more about F# at http://fsharp.net. See the 'F# Tutorial' project
// for more guidance on F# programming.
#load "TestProvider.fs"
open DisposalIssue

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

@ -1,90 +0,0 @@
namespace DisposalIssue
open System
open System.IO
open System.Reflection
open FSharp.ProvidedTypes
open Microsoft.FSharp.Core.CompilerServices
open Microsoft.FSharp.Quotations
open Swensen.Unquote.Extensions
[<TypeProvider>]
type TestProvider(config: TypeProviderConfig) as this =
inherit TypeProviderForNamespaces()
do
let ns = "Test"
let asm = Assembly.GetExecutingAssembly()
let providedAssembly = ProvidedAssembly(Path.ChangeExtension(Path.GetTempFileName(), ".dll"))
let rootType = ProvidedTypeDefinition(asm, ns, "TestProvider", None, HideObjectMethods = true, IsErased = false)
let buildTypes typeName (parameterValues: obj []) =
//create the tests type
let testType = ProvidedTypeDefinition(asm, ns, typeName, Some(typeof<obj>), IsErased = false)
let ctor = ProvidedConstructor([], InvokeCode=fun _ -> <@@ () @@>)
testType.AddMember ctor
//create three provided fields, all of which imnplement IDisposable
let field1 = ProvidedField("Field1", typeof<System.Drawing.Brush>)
let field2 = ProvidedField("Field2", typeof<System.Drawing.Font>)
let field3 = ProvidedField("Field3", typeof<System.Drawing.Graphics>)
//set tyhe attributes as puvlic, just to simplify this example
field1.SetFieldAttributes FieldAttributes.Public
field2.SetFieldAttributes FieldAttributes.Public
field3.SetFieldAttributes FieldAttributes.Public
//Add fields to Test type
testType.AddMembers [field1;field2;field3]
//create a provided Method that will call dispose on all the fields
let disposer = ProvidedMethod("Dispose", [], typeof<Void>)
disposer.InvokeCode <- fun args -> let instance = args.[0]
let get = Expr.FieldGet(instance, field1)
let field = Expr.Coerce(get, typeof<obj>)
let works = <@@ if %%field <> null then
((%%field:obj) :?> IDisposable).Dispose() @@>
//works
let operators = Type.GetType("Microsoft.FSharp.Core.Operators, FSharp.Core")
let intrinsicFunctions = Type.GetType("Microsoft.FSharp.Core.LanguagePrimitives+IntrinsicFunctions, FSharp.Core")
let inequality = operators.GetMethod("op_Inequality")
let genineqtyped = ProvidedTypeBuilder.MakeGenericMethod(inequality, [typeof<obj>;typeof<obj>])
let unboxGenericMethod = intrinsicFunctions.GetMethod("UnboxGeneric")
let unboxGenericMethodTyped = ProvidedTypeBuilder.MakeGenericMethod(unboxGenericMethod, [typeof<IDisposable>])
let disposeMethod = typeof<IDisposable>.GetMethod("Dispose")
let coerceToObj = Expr.Coerce(get, typeof<obj>)
let guard = Expr.Call(genineqtyped, [coerceToObj; Expr.Value(null) ])
let trueblock = Expr.Call(Expr.Call(unboxGenericMethodTyped, [Expr.Coerce(get, typeof<obj>)]), disposeMethod, [])
let newAttempt = Expr.IfThenElse(guard, trueblock, <@@ () @@>)
let worksdecomp = works.Decompile()
let newdecomp = newAttempt.Decompile()
works
//add field disposer
testType.AddMember disposer
//pump types into the correct assembly
providedAssembly.AddTypes [testType]
//return our created types
testType
rootType.DefineStaticParameters([ProvidedStaticParameter("Dummy", typeof<string>)], buildTypes)
//add the root type provider and namespace
this.AddNamespace(ns, [rootType])
[<assembly:TypeProviderAssembly()>]
do()

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

@ -1 +0,0 @@
Unquote

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

@ -23,10 +23,10 @@ namespace DesignerTest
#nowarn "51" // address-of operator can occur in the code
#nowarn "1183" // unused 'this' reference
exception ReturnException4fe3d600ce1a4b6ea41bdb2d0b54ef7e of obj
exception ReturnNoneException4fe3d600ce1a4b6ea41bdb2d0b54ef7e
exception ReturnExceptione6c2ed7e70804bc5b7da7c94d0c521c2 of obj
exception ReturnNoneExceptione6c2ed7e70804bc5b7da7c94d0c521c2
[<AutoOpen>]
module FuncConvertFinalOverload4fe3d600ce1a4b6ea41bdb2d0b54ef7e =
module FuncConvertFinalOverloade6c2ed7e70804bc5b7da7c94d0c521c2 =
// This extension member adds to the FuncConvert type and is the last resort member in the method overloading rules.
type global.Microsoft.FSharp.Core.FuncConvert with
/// A utility function to convert function values from tupled to curried form

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

@ -1,15 +1,15 @@
#pragma warning disable 1591
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
// ------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: Android.Runtime.ResourceDesignerAttribute("cs_test.Resource", IsApplication=true)]
[assembly: global::Android.Runtime.ResourceDesignerAttribute("cs_test.Resource", IsApplication=true)]
namespace cs_test
{
@ -1432,8 +1432,8 @@ namespace cs_test
// aapt resource value: 0x7f0c0041
public const int action_bar = 2131492929;
// aapt resource value: 0x7f0c0018
public const int action_bar_activity_content = 2131492888;
// aapt resource value: 0x7f0c0000
public const int action_bar_activity_content = 2131492864;
// aapt resource value: 0x7f0c0040
public const int action_bar_container = 2131492928;
@ -1441,8 +1441,8 @@ namespace cs_test
// aapt resource value: 0x7f0c003c
public const int action_bar_root = 2131492924;
// aapt resource value: 0x7f0c0019
public const int action_bar_spinner = 2131492889;
// aapt resource value: 0x7f0c0001
public const int action_bar_spinner = 2131492865;
// aapt resource value: 0x7f0c0022
public const int action_bar_subtitle = 2131492898;
@ -1456,11 +1456,11 @@ namespace cs_test
// aapt resource value: 0x7f0c0056
public const int action_divider = 2131492950;
// aapt resource value: 0x7f0c001a
public const int action_menu_divider = 2131492890;
// aapt resource value: 0x7f0c0002
public const int action_menu_divider = 2131492866;
// aapt resource value: 0x7f0c001b
public const int action_menu_presenter = 2131492891;
// aapt resource value: 0x7f0c0003
public const int action_menu_presenter = 2131492867;
// aapt resource value: 0x7f0c003e
public const int action_mode_bar = 2131492926;
@ -1477,11 +1477,11 @@ namespace cs_test
// aapt resource value: 0x7f0c0030
public const int alertTitle = 2131492912;
// aapt resource value: 0x7f0c0014
public const int always = 2131492884;
// aapt resource value: 0x7f0c001b
public const int always = 2131492891;
// aapt resource value: 0x7f0c000f
public const int beginning = 2131492879;
// aapt resource value: 0x7f0c0018
public const int beginning = 2131492888;
// aapt resource value: 0x7f0c0062
public const int button1 = 2131492962;
@ -1498,8 +1498,8 @@ namespace cs_test
// aapt resource value: 0x7f0c0059
public const int chronometer = 2131492953;
// aapt resource value: 0x7f0c0016
public const int collapseActionView = 2131492886;
// aapt resource value: 0x7f0c001c
public const int collapseActionView = 2131492892;
// aapt resource value: 0x7f0c0031
public const int contentPanel = 2131492913;
@ -1516,14 +1516,14 @@ namespace cs_test
// aapt resource value: 0x7f0c0027
public const int default_activity_button = 2131492903;
// aapt resource value: 0x7f0c0009
public const int disableHome = 2131492873;
// aapt resource value: 0x7f0c000c
public const int disableHome = 2131492876;
// aapt resource value: 0x7f0c0043
public const int edit_query = 2131492931;
// aapt resource value: 0x7f0c0011
public const int end = 2131492881;
// aapt resource value: 0x7f0c0019
public const int end = 2131492889;
// aapt resource value: 0x7f0c005e
public const int end_padder = 2131492958;
@ -1534,17 +1534,17 @@ namespace cs_test
// aapt resource value: 0x7f0c0038
public const int expanded_menu = 2131492920;
// aapt resource value: 0x7f0c001c
public const int home = 2131492892;
// aapt resource value: 0x7f0c0004
public const int home = 2131492868;
// aapt resource value: 0x7f0c0006
public const int homeAsUp = 2131492870;
// aapt resource value: 0x7f0c000d
public const int homeAsUp = 2131492877;
// aapt resource value: 0x7f0c0029
public const int icon = 2131492905;
// aapt resource value: 0x7f0c0013
public const int ifRoom = 2131492883;
// aapt resource value: 0x7f0c001d
public const int ifRoom = 2131492893;
// aapt resource value: 0x7f0c0026
public const int image = 2131492902;
@ -1558,8 +1558,8 @@ namespace cs_test
// aapt resource value: 0x7f0c005b
public const int line3 = 2131492955;
// aapt resource value: 0x7f0c0001
public const int listMode = 2131492865;
// aapt resource value: 0x7f0c0009
public const int listMode = 2131492873;
// aapt resource value: 0x7f0c0028
public const int list_item = 2131492904;
@ -1567,11 +1567,11 @@ namespace cs_test
// aapt resource value: 0x7f0c0055
public const int media_actions = 2131492949;
// aapt resource value: 0x7f0c0010
public const int middle = 2131492880;
// aapt resource value: 0x7f0c001a
public const int middle = 2131492890;
// aapt resource value: 0x7f0c000d
public const int multiply = 2131492877;
// aapt resource value: 0x7f0c0013
public const int multiply = 2131492883;
// aapt resource value: 0x7f0c0050
public const int myButton = 2131492944;
@ -1579,29 +1579,29 @@ namespace cs_test
// aapt resource value: 0x7f0c0051
public const int myView = 2131492945;
// aapt resource value: 0x7f0c0012
public const int never = 2131492882;
// aapt resource value: 0x7f0c001e
public const int never = 2131492894;
// aapt resource value: 0x7f0c0003
public const int none = 2131492867;
// aapt resource value: 0x7f0c000e
public const int none = 2131492878;
// aapt resource value: 0x7f0c0000
public const int normal = 2131492864;
// aapt resource value: 0x7f0c000a
public const int normal = 2131492874;
// aapt resource value: 0x7f0c002d
public const int parentPanel = 2131492909;
// aapt resource value: 0x7f0c001d
public const int progress_circular = 2131492893;
// aapt resource value: 0x7f0c0005
public const int progress_circular = 2131492869;
// aapt resource value: 0x7f0c001e
public const int progress_horizontal = 2131492894;
// aapt resource value: 0x7f0c0006
public const int progress_horizontal = 2131492870;
// aapt resource value: 0x7f0c003b
public const int radio = 2131492923;
// aapt resource value: 0x7f0c000e
public const int screen = 2131492878;
// aapt resource value: 0x7f0c0014
public const int screen = 2131492884;
// aapt resource value: 0x7f0c0035
public const int scrollIndicatorDown = 2131492917;
@ -1651,14 +1651,14 @@ namespace cs_test
// aapt resource value: 0x7f0c003a
public const int shortcut = 2131492922;
// aapt resource value: 0x7f0c0008
public const int showCustom = 2131492872;
// aapt resource value: 0x7f0c000f
public const int showCustom = 2131492879;
// aapt resource value: 0x7f0c0005
public const int showHome = 2131492869;
// aapt resource value: 0x7f0c0010
public const int showHome = 2131492880;
// aapt resource value: 0x7f0c0007
public const int showTitle = 2131492871;
// aapt resource value: 0x7f0c0011
public const int showTitle = 2131492881;
// aapt resource value: 0x7f0c005f
public const int space1 = 2131492959;
@ -1666,17 +1666,17 @@ namespace cs_test
// aapt resource value: 0x7f0c002c
public const int spacer = 2131492908;
// aapt resource value: 0x7f0c001f
public const int split_action_bar = 2131492895;
// aapt resource value: 0x7f0c0007
public const int split_action_bar = 2131492871;
// aapt resource value: 0x7f0c000c
public const int src_atop = 2131492876;
// aapt resource value: 0x7f0c0015
public const int src_atop = 2131492885;
// aapt resource value: 0x7f0c000b
public const int src_in = 2131492875;
// aapt resource value: 0x7f0c0016
public const int src_in = 2131492886;
// aapt resource value: 0x7f0c000a
public const int src_over = 2131492874;
// aapt resource value: 0x7f0c0017
public const int src_over = 2131492887;
// aapt resource value: 0x7f0c0054
public const int status_bar_latest_event_content = 2131492948;
@ -1684,8 +1684,8 @@ namespace cs_test
// aapt resource value: 0x7f0c004c
public const int submit_area = 2131492940;
// aapt resource value: 0x7f0c0002
public const int tabMode = 2131492866;
// aapt resource value: 0x7f0c000b
public const int tabMode = 2131492875;
// aapt resource value: 0x7f0c0060
public const int tableLayout1 = 2131492960;
@ -1723,17 +1723,17 @@ namespace cs_test
// aapt resource value: 0x7f0c002e
public const int topPanel = 2131492910;
// aapt resource value: 0x7f0c0008
public const int up = 2131492872;
// aapt resource value: 0x7f0c0012
public const int useLogo = 2131492882;
// aapt resource value: 0x7f0c001f
public const int withText = 2131492895;
// aapt resource value: 0x7f0c0020
public const int up = 2131492896;
// aapt resource value: 0x7f0c0004
public const int useLogo = 2131492868;
// aapt resource value: 0x7f0c0015
public const int withText = 2131492885;
// aapt resource value: 0x7f0c0017
public const int wrap_content = 2131492887;
public const int wrap_content = 2131492896;
static Id()
{
@ -2935,8 +2935,7 @@ namespace cs_test
public partial class Styleable
{
public static int[] ActionBar = new int[]
{
public static int[] ActionBar = new int[] {
2130771969,
2130771971,
2130771972,
@ -3046,15 +3045,13 @@ namespace cs_test
// aapt resource value: 5
public const int ActionBar_titleTextStyle = 5;
public static int[] ActionBarLayout = new int[]
{
public static int[] ActionBarLayout = new int[] {
16842931};
// aapt resource value: 0
public const int ActionBarLayout_android_layout_gravity = 0;
public static int[] ActionMenuItemView = new int[]
{
public static int[] ActionMenuItemView = new int[] {
16843071};
// aapt resource value: 0
@ -3062,8 +3059,7 @@ namespace cs_test
public static int[] ActionMenuView;
public static int[] ActionMode = new int[]
{
public static int[] ActionMode = new int[] {
2130771969,
2130771975,
2130771976,
@ -3089,8 +3085,7 @@ namespace cs_test
// aapt resource value: 1
public const int ActionMode_titleTextStyle = 1;
public static int[] ActivityChooserView = new int[]
{
public static int[] ActivityChooserView = new int[] {
2130771997,
2130771998};
@ -3100,8 +3095,7 @@ namespace cs_test
// aapt resource value: 0
public const int ActivityChooserView_initialActivityCount = 0;
public static int[] AlertDialog = new int[]
{
public static int[] AlertDialog = new int[] {
16842994,
2130771999,
2130772000,
@ -3127,8 +3121,7 @@ namespace cs_test
// aapt resource value: 4
public const int AlertDialog_singleChoiceItemLayout = 4;
public static int[] AppCompatTextView = new int[]
{
public static int[] AppCompatTextView = new int[] {
16842804,
2130772004};
@ -3138,15 +3131,13 @@ namespace cs_test
// aapt resource value: 1
public const int AppCompatTextView_textAllCaps = 1;
public static int[] ButtonBarLayout = new int[]
{
public static int[] ButtonBarLayout = new int[] {
2130772005};
// aapt resource value: 0
public const int ButtonBarLayout_allowStacking = 0;
public static int[] CompoundButton = new int[]
{
public static int[] CompoundButton = new int[] {
16843015,
2130772006,
2130772007};
@ -3160,8 +3151,7 @@ namespace cs_test
// aapt resource value: 2
public const int CompoundButton_buttonTintMode = 2;
public static int[] DrawerArrowToggle = new int[]
{
public static int[] DrawerArrowToggle = new int[] {
2130772008,
2130772009,
2130772010,
@ -3195,8 +3185,7 @@ namespace cs_test
// aapt resource value: 7
public const int DrawerArrowToggle_thickness = 7;
public static int[] LinearLayoutCompat = new int[]
{
public static int[] LinearLayoutCompat = new int[] {
16842927,
16842948,
16843046,
@ -3234,8 +3223,7 @@ namespace cs_test
// aapt resource value: 7
public const int LinearLayoutCompat_showDividers = 7;
public static int[] LinearLayoutCompat_Layout = new int[]
{
public static int[] LinearLayoutCompat_Layout = new int[] {
16842931,
16842996,
16842997,
@ -3253,8 +3241,7 @@ namespace cs_test
// aapt resource value: 1
public const int LinearLayoutCompat_Layout_android_layout_width = 1;
public static int[] ListPopupWindow = new int[]
{
public static int[] ListPopupWindow = new int[] {
16843436,
16843437};
@ -3264,8 +3251,7 @@ namespace cs_test
// aapt resource value: 1
public const int ListPopupWindow_android_dropDownVerticalOffset = 1;
public static int[] MenuGroup = new int[]
{
public static int[] MenuGroup = new int[] {
16842766,
16842960,
16843156,
@ -3291,8 +3277,7 @@ namespace cs_test
// aapt resource value: 2
public const int MenuGroup_android_visible = 2;
public static int[] MenuItem = new int[]
{
public static int[] MenuItem = new int[] {
16842754,
16842766,
16842960,
@ -3362,8 +3347,7 @@ namespace cs_test
// aapt resource value: 13
public const int MenuItem_showAsAction = 13;
public static int[] MenuView = new int[]
{
public static int[] MenuView = new int[] {
16842926,
16843052,
16843053,
@ -3397,8 +3381,7 @@ namespace cs_test
// aapt resource value: 7
public const int MenuView_preserveIconSpacing = 7;
public static int[] PopupWindow = new int[]
{
public static int[] PopupWindow = new int[] {
16843126,
2130772024};
@ -3408,15 +3391,13 @@ namespace cs_test
// aapt resource value: 1
public const int PopupWindow_overlapAnchor = 1;
public static int[] PopupWindowBackgroundState = new int[]
{
public static int[] PopupWindowBackgroundState = new int[] {
2130772025};
// aapt resource value: 0
public const int PopupWindowBackgroundState_state_above_anchor = 0;
public static int[] SearchView = new int[]
{
public static int[] SearchView = new int[] {
16842970,
16843039,
16843296,
@ -3486,8 +3467,7 @@ namespace cs_test
// aapt resource value: 12
public const int SearchView_voiceIcon = 12;
public static int[] Spinner = new int[]
{
public static int[] Spinner = new int[] {
16843126,
16843131,
16843362,
@ -3505,8 +3485,7 @@ namespace cs_test
// aapt resource value: 3
public const int Spinner_popupTheme = 3;
public static int[] SwitchCompat = new int[]
{
public static int[] SwitchCompat = new int[] {
16843044,
16843045,
16843074,
@ -3548,8 +3527,7 @@ namespace cs_test
// aapt resource value: 3
public const int SwitchCompat_track = 3;
public static int[] TextAppearance = new int[]
{
public static int[] TextAppearance = new int[] {
16842901,
16842902,
16842903,
@ -3587,8 +3565,7 @@ namespace cs_test
// aapt resource value: 8
public const int TextAppearance_textAllCaps = 8;
public static int[] Theme = new int[]
{
public static int[] Theme = new int[] {
16842839,
16842926,
2130772046,
@ -4030,8 +4007,7 @@ namespace cs_test
// aapt resource value: 3
public const int Theme_windowNoTitle = 3;
public static int[] Toolbar = new int[]
{
public static int[] Toolbar = new int[] {
16842927,
16843072,
2130771971,
@ -4133,8 +4109,7 @@ namespace cs_test
// aapt resource value: 23
public const int Toolbar_titleTextColor = 23;
public static int[] View = new int[]
{
public static int[] View = new int[] {
16842752,
16842970,
2130772169,
@ -4156,8 +4131,7 @@ namespace cs_test
// aapt resource value: 4
public const int View_theme = 4;
public static int[] ViewBackgroundHelper = new int[]
{
public static int[] ViewBackgroundHelper = new int[] {
16842964,
2130772172,
2130772173};
@ -4171,8 +4145,7 @@ namespace cs_test
// aapt resource value: 2
public const int ViewBackgroundHelper_backgroundTintMode = 2;
public static int[] ViewStubCompat = new int[]
{
public static int[] ViewStubCompat = new int[] {
16842960,
16842994,
16842995};

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

@ -35,9 +35,9 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<StartAction>Program</StartAction>
<StartProgram>..\..\..\..\..\..\Applications\Visual Studio.app\Contents\Resources\lib\monodevelop\bin\VisualStudio.exe</StartProgram>
<StartProgram>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/VisualStudio.exe</StartProgram>
<StartArguments>--no-redirect</StartArguments>
<StartWorkingDirectory>..\..\..\..\..\..\Applications\Visual Studio.app\Contents\Resources\lib\monodevelop\bin\</StartWorkingDirectory>
<StartWorkingDirectory>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/</StartWorkingDirectory>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
@ -57,7 +57,7 @@
<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>
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.Designer.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" />
@ -115,7 +115,7 @@
</Reference>
</ItemGroup>
</When>
<When Condition="($(TargetFrameworkIdentifier) == 'WindowsPhoneApp') Or ($(TargetFrameworkIdentifier) == '.NETCore') Or ($(TargetFrameworkIdentifier) == '.NETStandard' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v1.2' Or $(TargetFrameworkVersion) == 'v1.3' Or $(TargetFrameworkVersion) == 'v1.4' Or $(TargetFrameworkVersion) == 'v1.5' Or $(TargetFrameworkVersion) == 'v1.6' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == '.NETCoreApp' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v2.2' Or $(TargetFrameworkVersion) == 'v2.3' Or $(TargetFrameworkVersion) == 'v4.0.3' Or $(TargetFrameworkVersion) == 'v4.1' Or $(TargetFrameworkVersion) == 'v4.2' Or $(TargetFrameworkVersion) == 'v4.3' Or $(TargetFrameworkVersion) == 'v4.4' Or $(TargetFrameworkVersion) == 'v4.4W' Or $(TargetFrameworkVersion) == 'v5.0' Or $(TargetFrameworkVersion) == 'v5.1' Or $(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')) Or ($(TargetFrameworkIdentifier) == 'MonoTouch') Or ($(TargetFrameworkIdentifier) == 'Xamarin.iOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.Mac') Or ($(TargetFrameworkIdentifier) == 'WindowsPhone' And ($(TargetFrameworkVersion) == 'v8.0' Or $(TargetFrameworkVersion) == 'v8.1')) Or ($(TargetFrameworkProfile) == 'Profile7') Or ($(TargetFrameworkProfile) == 'Profile31') Or ($(TargetFrameworkProfile) == 'Profile32') Or ($(TargetFrameworkProfile) == 'Profile44') Or ($(TargetFrameworkProfile) == 'Profile49') Or ($(TargetFrameworkProfile) == 'Profile78') Or ($(TargetFrameworkProfile) == 'Profile84') Or ($(TargetFrameworkProfile) == 'Profile111') Or ($(TargetFrameworkProfile) == 'Profile151') Or ($(TargetFrameworkProfile) == 'Profile157') Or ($(TargetFrameworkProfile) == 'Profile259')">
<When Condition="($(TargetFrameworkIdentifier) == 'WindowsPhoneApp') Or ($(TargetFrameworkIdentifier) == '.NETCore') Or ($(TargetFrameworkIdentifier) == '.NETStandard' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v1.2' Or $(TargetFrameworkVersion) == 'v1.3' Or $(TargetFrameworkVersion) == 'v1.4' Or $(TargetFrameworkVersion) == 'v1.5' Or $(TargetFrameworkVersion) == 'v1.6' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == '.NETCoreApp' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v2.2' Or $(TargetFrameworkVersion) == 'v2.3' Or $(TargetFrameworkVersion) == 'v4.0.3' Or $(TargetFrameworkVersion) == 'v4.1' Or $(TargetFrameworkVersion) == 'v4.2' Or $(TargetFrameworkVersion) == 'v4.3' Or $(TargetFrameworkVersion) == 'v4.4' Or $(TargetFrameworkVersion) == 'v4.4W' Or $(TargetFrameworkVersion) == 'v5.0' Or $(TargetFrameworkVersion) == 'v5.1' Or $(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')) Or ($(TargetFrameworkIdentifier) == 'MonoTouch') Or ($(TargetFrameworkIdentifier) == 'Xamarin.tvOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.watchOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.iOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.Mac') Or ($(TargetFrameworkIdentifier) == 'WindowsPhone' And ($(TargetFrameworkVersion) == 'v8.0' Or $(TargetFrameworkVersion) == 'v8.1')) Or ($(TargetFrameworkProfile) == 'Profile7') Or ($(TargetFrameworkProfile) == 'Profile31') Or ($(TargetFrameworkProfile) == 'Profile32') Or ($(TargetFrameworkProfile) == 'Profile44') Or ($(TargetFrameworkProfile) == 'Profile49') Or ($(TargetFrameworkProfile) == 'Profile78') Or ($(TargetFrameworkProfile) == 'Profile84') Or ($(TargetFrameworkProfile) == 'Profile111') Or ($(TargetFrameworkProfile) == 'Profile151') Or ($(TargetFrameworkProfile) == 'Profile157') Or ($(TargetFrameworkProfile) == 'Profile259')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\packages\Unquote\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\Unquote.dll</HintPath>