{"id":8116,"date":"2016-09-13T11:16:13","date_gmt":"2016-09-13T02:16:13","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=8116"},"modified":"2016-09-13T16:24:01","modified_gmt":"2016-09-13T07:24:01","slug":"xamarin-forms-%e3%83%93%e3%83%ab%e3%83%89%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/8116","title":{"rendered":"Xamarin.Forms \u30d3\u30eb\u30c9\u30e1\u30e2"},"content":{"rendered":"<p>\u4ee5\u524d\u3088\u308a\u61f8\u6848\u3060\u3063\u305f\u3001OSS \u306b\u306a\u3063\u305f Xamarin.Forms \u3092\u5f04\u308d\u3046\u3068\u601d\u3063\u3066\u30b3\u30fc\u30c9\u3092 DL \u3057\u3066\u3056\u3063\u3068\u76ee\u3092\u901a\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3002<\/p>\n<p>xamarin\/Xamarin.Forms: Xamarin.Forms official home<br \/>\n<a href=\"https:\/\/github.com\/xamarin\/xamarin.forms\">https:\/\/github.com\/xamarin\/xamarin.forms<\/a><\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2016\/09\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2016\/09\/image_thumb-22.png\" border=\"0\" alt=\"image\" title=\"image\" width=\"447\" height=\"777\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" \/><\/a><\/p>\n<p>\u305f\u304f\u3055\u3093\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308b\u304c\u3001\u809d\u306a\u3068\u3053\u308d\u306f\u3001<\/p>\n<ul>\n<li>Xamarin.Forms.Platform<\/li>\n<li>Xamarin.Forms.Core<\/li>\n<li>Xamarin.Forms.Pages<\/li>\n<li>Xamarin.Forms.Xaml<\/li>\n<li>Xamarin.Forms.Build.Tasks<\/li>\n<li>Xamarin.Forms.Xaml.Xamlc<\/li>\n<li>Xamarin.Forms.Xaml.Xamlg<\/li>\n<\/ul>\n<p>\u306a\u3068\u3053\u308d\u3067\u3059\u304b\u306d\u3002<\/p>\n<h2>Xamarin.Forms \u3092\u30d3\u30eb\u30c9\u3059\u308b<\/h2>\n<p>Makefile \u304c\u3042\u308b\u304c\u3001Windows \u4e0a\u3067\u306f\u52d5\u304d\u307e\u305b\u3093\u3002Linux \u4e0a\u3067\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>Ubuntu \u306b github \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066<\/li>\n<li><a href=\"http:\/\/www.mono-project.com\/docs\/getting-started\/install\/linux\/\">Install Mono on Linux | Mono<\/a> \u3092\u53c2\u7167\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n<ol>\n<li>mono-devel<\/li>\n<li>mono-complete<\/li>\n<li>referenceassemblies-pcl \u2026 \u3053\u308c\u304c\u306a\u3044\u3068\u3001\/usr\/lib\/mono\/xbuild-frameworks\/ \u304c\u7a7a\u304b\u3082\u3002<\/li>\n<\/ol>\n<\/li>\n<li>\u3042\u3068\u306f\u3001make \u3059\u308c\u3070 ok. *.dll \u306f \u5404\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e bin\/Release \u7b49\u306e\u4e0b\u306b\u3067\u304d\u308b\u306e\u3067\u3001\u3042\u3068\u3067\u304b\u304d\u96c6\u3081\u308b\uff1f<\/li>\n<\/ol>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\n$ ls -la \/usr\/lib\/mono\/xbuild-frameworks\/\r\ntotal 16\r\ndrwxr-xr-x  4 root root 4096 Sep 13 01:19 .\r\ndrwxr-xr-x 16 root root 4096 Aug 29 02:26 ..\r\ndrwxr-xr-x 11 root root 4096 Aug 29 02:20 .NETFramework\r\ndrwxr-xr-x  5 root root 4096 Sep 13 01:20 .NETPortable\r\n<\/pre>\n<p>\u30d3\u30eb\u30c9\u6642\u306b PCL \u3092\u53c2\u7167\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u982d\u304c . \u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067 ls \u2013a \u3092\u4ed8\u3051\u306a\u3044\u3068\u78ba\u8a8d\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u7f60\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001\u51fa\u6765\u4e0a\u304c\u3063\u305f *.dll \u3092 Xamarin.Forms \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u3082\u306e\u3068\u5dee\u3057\u66ff\u3048\u3066\u3084\u308c\u3070\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u306a\u3002\u305f\u3076\u3093\u3001\u30ed\u30fc\u30ab\u30eb\u306e nuget \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u3063\u3066\u3001\u305d\u3053\u304b\u3089\u9069\u5f53\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>Xamarin.Forms.Xaml.Xamlg \u304c *.g.cs \u3092\u4f5c\u6210\u3059\u308b<\/h2>\n<p>\u3044\u304f\u3064\u304b\u898b\u3066\u3044\u304f\u3068\u3001\u7d50\u69cb\u9762\u767d\u3044\u3082\u306e\u304c\u307f\u3064\u304b\u308a\u307e\u3059\u3002XAML \u3092\u4f7f\u3046\u3068\u3001\u30b3\u30fc\u30c9\u30d3\u30cf\u30a4\u30f3\u30c9\u306e\u5bfe\u8c61\u3068\u3057\u3066\u3001*.g.cs \u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002XAML \u3067\u66f8\u304b\u308c\u3066\u3044\u305f x:Class \u3068\u304b x:Name \u3068\u304b\u306f\u3001\u3053\u306e\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3055\u308c\u308b\u3093\u3067\u3059\u3088\u306d\u3002\u3067\u3082\u3063\u3066\u3001\u3053\u308c\u304c C# \u306a\u3086\u3048\u306b\u3001F# \u306e XAML \u304c\u4f7f\u3048\u306a\u304f\u3066\u30bf\u30a4\u30d7\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3067 XAML \u3092\u4f5c\u3063\u305f\u308a\u3059\u308b\u3093\u3067\u3059\u304c\u3001F# \u306e\u30d3\u30eb\u30c9\u6642\u306e DLL \u3068 Xamarin \u3067\u5b9f\u884c\u3059\u308b\u3068\u304d\u306e DLL \u304c\u7570\u306a\u308b\u304b\u3089\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3001\u3068\u3044\u3046\u5909\u306a\u72b6\u614b\u306b\u9665\u3063\u3066\u3044\u308b\u8a33\u3067\u3059\u304c\uff08\u3053\u306e\u5909\u306a\u72b6\u614b\u306f\u3001\u4ee5\u524d\u8abf\u67fb\u3057\u305f\u3068\u304d\u3088\u308a\u3082\u5206\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u5225\u306e\u6a5f\u4f1a\u306b\u89e3\u8aac\u3092\uff09\u3001\u306a\u3089\u3070\u3001*.g.fs \u3092\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3059\u308c\u3070\u3088\u3044\u308f\u3051\u3067\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001Xamarin.Forms \u306e XAML \u306b\u5bfe\u3057\u3066\u30b3\u30fc\u30c9\u30d3\u30cf\u30a4\u30f3\u30c9\u306e F# \u30b3\u30fc\u30c9\u3092\u4f5c\u308b\u3088\u3046\u306b\u3067\u304d\u308b\u306e\u3067\u3001XAML \u3092\u6271\u3046 F# \u304c\u66f8\u3051\u307e\u3059\u3088\u306d\u3002\u307e\u3042\u3001\u73fe\u72b6\u306e F# \u306e\u5834\u5408\u306f PCL \u306e\u554f\u984c\u304c\u3042\u3063\u3066\u69cb\u6210\u304c\u3084\u3084\u3053\u3057\u304f\u306a\u308b\u306e\u3067\u3001.NET Core \u7248\u306e Xamarin \u304c\u51fa\u3066\u6765\u305f\u3068\u304d\u306b\u3082\u3046\u3061\u3087\u3063\u3068\u7a81\u3063\u8fbc\u3093\u3060\u307b\u3046\u304c\u3044\u3044\u6c17\u3082\u3057\u307e\u3059\u304c\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u4ee5\u524d\u3064\u304f\u3066\u3044\u305f\u3001<a href=\"https:\/\/github.com\/moonmile\/XFormsPreviewer\">moonmile\/XFormsPreviewer<\/a> \u306f\u3001\u52d5\u7684\u306b XAML \u3092\u30ed\u30fc\u30c9\u3057\u3066\u3001XAML \u306e\u30bf\u30b0\u304b\u3089\u76f4\u63a5 x:Name \u3092\u30d0\u30a4\u30f3\u30c9\u3059\u308b\u65b9\u6cd5\u306a\u306e\u3067\u3001\u30bf\u30a4\u30d7\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3068\u3082\u30b3\u30fc\u30c9\u30d3\u30cf\u30a4\u30f3\u30c9\u306e *.g.cs \u65b9\u5f0f\u3068\u3082\u9055\u3044\u307e\u3059\u3002\u3053\u306e\u3042\u305f\u308a\u306f\u3001\u72b6\u6cc1\u306b\u3042\u308f\u305b\u3066\u3044\u308d\u3044\u308d\u306a\u65b9\u6cd5\u304c\u3042\u3063\u305f\u307b\u3046\u3044\u3044\u306e\u3067\u3002<\/p>\n<p>\u3067\u3082\u3063\u3066\u3001\u3082\u3046\u5c11\u3057\u3001Xamarin.Forms.Xaml.Xamlg \u3092\u773a\u3081\u3066\u307f\u3066\u3001F# \u30b3\u30fc\u30c9\u306b\u30b3\u30f3\u30d0\u30fc\u30c8\u3067\u304d\u308b\u304b\u8a66\u3057\u3066\u307f\u307e\u3059\u304b\u3002\u3068\u3044\u3046\u3068\u3053\u308d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u3088\u308a\u61f8\u6848\u3060\u3063\u305f\u3001OSS \u306b\u306a\u3063\u305f Xamarin.Forms \u3092\u5f04\u308d\u3046\u3068\u601d\u3063\u3066\u30b3\u30fc\u30c9\u3092 DL \u3057\u3066\u3056\u3063\u3068\u76ee\u3092\u901a\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3002 xamarin\/Xamarin.Forms: Xamarin.Forms officia &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/8116\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[62],"tags":[],"class_list":["post-8116","post","type-post","status-publish","format-standard","hentry","category-xamarin"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/8116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=8116"}],"version-history":[{"count":4,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/8116\/revisions"}],"predecessor-version":[{"id":8120,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/8116\/revisions\/8120"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=8116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=8116"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=8116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}