{"id":6115,"date":"2014-08-11T17:50:10","date_gmt":"2014-08-11T08:50:10","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=6115"},"modified":"2014-08-11T17:53:03","modified_gmt":"2014-08-11T08:53:03","slug":"pcl%e5%af%be%e5%bf%9c%e3%81%aetypeprovider%e3%82%92%e4%bd%9c-%e3%82%8c%e3%82%8b%e3%81%ae%e3%81%8b%e3%81%aa%ef%bc%9f%e3%81%ae%e5%b7%bb","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/6115","title":{"rendered":"PCL\u5bfe\u5fdc\u306eTypeProvider\u3092\u4f5c&#8230;\u308c\u308b\u306e\u304b\u306a\uff1f\u306e\u5dfb"},"content":{"rendered":"<p>Xamarin.Forms \u306e TypeProvider \u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u304c\u65ad\u5ff5\u3057\u305f\u306e\u5dfb | Moonmile Solutions Blog<br \/><a href=\"http:\/\/www.moonmile.net\/blog\/archives\/6104\">http:\/\/www.moonmile.net\/blog\/archives\/6104<\/a><\/p>\n<p>\u306e\u7d9a\u304d\u3067\u3059\u3002<a href=\"http:\/\/fsharp.github.io\/FSharp.Data\/\">FSharp.Data<\/a> \u3060\u3068 PCL \u3067\u52d5\u3044\u3066\u3044\u308b\u3088\u3093\u3001\u3068\u3044\u3046\u8a71\u3068\u3002 <a href=\"https:\/\/twitter.com\/ReedCopsey\">@Reed Copsey, Jr.<\/a> \u3055\u3093\u304c\u72ec\u81ea\u3060\u3051\u3069 Xamarin.Forms \u3082\u52d5\u3044\u305f\u3088\uff08\u307e\u3060\u5909\u306a\u30d0\u30b0\u3067\u4fee\u6b63\u4e2d\u3060\u305d\u3046\u3067\u3059\u304c\uff09\u3068\u3046\u3053\u3068\u3067\u3001\u9031\u672b\u306b FSharp.Data \u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u9003\u308c\u308b\u624b\u6bb5\u3068\u3057\u3066\u306f\u3001<\/p>\n<p>f# &#8211; FS2024 Static linking error when PCL project use by TypeProvider &#8211; Stack Overflow<br \/><a href=\"http:\/\/stackoverflow.com\/questions\/25175031\/fs2024-static-linking-error-when-pcl-project-use-by-typeprovider\/25194727#25194727\">http:\/\/stackoverflow.com\/questions\/25175031\/fs2024-static-linking-error-when-pcl-project-use-by-typeprovider\/25194727#25194727<\/a><\/p>\n<p>\u306a\u98a8\u306b\u30ea\u30d5\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\u3060\u3051\u3069\u3001\u305d\u3082\u305d\u3082 Native \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092 Android \u306b\u76f4\u63a5\u6301\u3063\u3066\u3044\u304f\u306e\u3082\u5909\u306a\u8a71\u3060\u3057\u3001\u5371\u3046\u3044\u70b9\u304c\u3042\u308b\u306e\u3067\u3001\u3067\u304d\u308b\u3053\u3068\u306a\u3089\u3070 PCL \u3067\u6301\u3063\u3066\u3044\u304d\u305f\u3044\u3002\u305d\u3053\u3067\u3001FSharp.Data \u306e XmlProvider \u306e\u3068\u3053\u308d\u3092\u3061\u307e\u3061\u307e\u3068\u8aad\u307f\u8fbc\u3093\u3060\u3068\u3053\u308d\u3001\u306a\u308b\u307b\u3069\u3001<\/p>\n<ul>\n<li>TypeProvider \u3067\u30d3\u30eb\u30c9\u3057\u3066\u3044\u308b\u3068\u304d\u306f\u3001Native \u3067\u52d5\u304b\u3059\u3002<\/li>\n<li>\u4f5c\u6210\u3057\u305f Type \u3092\u52d5\u304b\u3059\u3068\u304d\u306f\u3001\u305d\u308c\u305e\u308c\u306e Profile \u306b\u5f93\u3046\u3002<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u69cb\u9020\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3093\u306a\u98a8\u306b\u3001FSharp.Data.DesignTime \u3068 FSharp.Data.Profile47 \u3092\u5206\u3051\u307e\u3059\u3002DesingTime \u306e\u307b\u3046\u306f\u30d5\u30eb\u30bb\u30c3\u30c8\u304c\u5165\u3063\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3001Visual Studio \u3092\u4f7f\u3063\u3066 TypeProvider \u3059\u308b\u3068\u304d\u306b\u4f7f\u3046\u3082\u306e\u3067\u3059\u3002Profile47 \u306e\u307b\u3046\u306f\u3001\u5b9f\u884c\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3082\u306e\u3067\u3001\u305d\u308c\u305e\u308c\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image_thumb.png\" width=\"524\" height=\"630\"><\/a><\/p>\n<p>\u5b9f\u884c\u6642\u306b\u4f7f\u3046\u6cd5\u306f\u3002FSharp.Data.dll \u3068\u3044\u3046\u540d\u524d\u306b\u7d71\u4e00\u3057\u3066\u304a\u3044\u3066\u3001\u5bfe\u5fdc\u3059\u308b FSharp.Core \u306f\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u3080\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3067\u3059\u306d\u3002\u306a\u308b\u307b\u3069\u3001\u78ba\u304b\u306b\u3053\u308c\u3067\u52d5\u304d\u305d\u3046\u3067\u3059\u3002FSharp.Core \u306e\u52d5\u7684\u8aad\u307f\u8fbc\u307f\u306f\u3001AssemblyResolver.fs \u306b\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001Profile78 \u3068 Profile259 \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u306e2\u3064\u306f\u3001<a href=\"https:\/\/visualfsharp.codeplex.com\/\">Visual F# Tools<\/a> \u3067\u4f7f\u308f\u308c\u308b\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3067\u3001Profile78 \u304c Xamarin.iOS\/Android \u3067\u4f7f\u308f\u308c\u308b PCL \u306b\u306a\u308a\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u81ea\u4f53\u306f\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image_thumb1.png\" width=\"640\" height=\"442\"><\/a><\/p>\n<p>\u3067\u3082\u3063\u3066\u3001Profile47 \u3068\u4f3c\u305f\u611f\u3058\u3067\u4f5c\u3063\u3066\u306f\u898b\u305f\u306e\u3067\u3059\u304c\u3001\u4f55\u6545\u304b\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u52d5\u304b\u3059\u3068\u3001\u8ffd\u52a0\u60c5\u5831:\u30e1\u30bd\u30c3\u30c9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: &#8216;Void System.IO.StringReader..ctor(System.String)&#8217; \u306a\u30a8\u30e9\u30fc\u3092\u5410\u304d\u307e\u3059\u3002\u975e\u5e38\u306b\u4e0d\u601d\u8b70\u3067\u3059\u3002\u3055\u3089\u306b\u4e0d\u601d\u8b70\u306a\u306e\u306f\u3001TypeProvider \u3067\u4f5c\u3063\u305f\u6587\u5b57\u5217\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u5834\u5408\u306b\u306f\u51fa\u306a\u304f\u3066\u3001\u4f55\u304b\u52a0\u5de5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u51fa\u308b\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image2.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image_thumb2.png\" width=\"640\" height=\"378\"><\/a><\/p>\n<p>\u307e\u305f\u3001XmlProvider \u306b\u3042\u308b Parse \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002\u3053\u308c\u3082\u4e0d\u601d\u8b70\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image3.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/08\/image_thumb3.png\" width=\"640\" height=\"81\"><\/a><\/p>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001Profile47 \u306e\u5834\u5408\u306f\u3067\u306a\u304f\u3066\u3001\u3082\u3068\u3082\u3068\u306e FSharp.Data \u306b\u3042\u308b Profile7 \u306e\u5834\u5408\u3082\u51fa\u307e\u3059\u3002\u4f55\u304b\u5909\u306a\u611f\u3058\u3067 PCL \u306e\u30ed\u30fc\u30c9\u3092\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u6c17\u3082\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u305f\u3076\u3093\u539f\u56e0\u306f <a href=\"https:\/\/github.com\/moonmile\/FSharp.Data.PCL\/blob\/master\/src\/CommonProviderImplementation\/AssemblyResolver.fs\">AssemblyResolver.fs<\/a> \u306b\u3042\u308b\u3088\u3046\u306a\u6c17\u304c\u3057\u3066\u3044\u307e\u3059\u3002System.IO.StringReader \u304c\u7121\u3044\u3053\u3068\u306f\u306a\u3044\u306e\u3067\u3001\u5bfe\u5fdc\u3059\u308b System \u306e\u30ed\u30fc\u30c9\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u611f\u3058\u3002<\/p>\n<p>\u3072\u3068\u307e\u305a\u3001\u4ee5\u4e0b\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u3059\u308c\u3070 PCL \u5185\u3067 TypeProvider \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3089\u3057\u3044\u3002<\/p>\n<ul>\n<li>TypeProvider \u306e\u30c7\u30b6\u30a4\u30f3\u6642\u306e DLL \u3092\u5206\u3051\u3066\u3001\u52d5\u7684\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/li>\n<li>\u5b9f\u884c\u6642\u306e\u30a2\u30bb\u30f3\u30d6\u30ea\u306f\u5b9f\u884c\u74b0\u5883\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u5408\u308f\u305b\u3066\u3001\u30c7\u30b6\u30a4\u30f3\u6642\u306b\u306f\u3001DesignTime \u3092\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u3080\u3002<\/li>\n<li>\u30d3\u30eb\u30c9\u6642\u306e FSharp.Core \u306f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u5408\u308f\u305b\u3066\u52d5\u7684\u8aad\u307f\u8fbc\u307f\uff1f<\/li>\n<li>\u30d3\u30eb\u30c9\u6642\u306b\u5fc5\u8981\u306a\u30a2\u30bb\u30f3\u30d6\u30ea\u306f\u52d5\u7684\u8aad\u307f\u8fbc\u307f\u3057\u3066\u3044\u308b\uff1f &gt; AssemblyResolver.fs \u306e referencedAssembliesPairs \u3053\u308c\u304c\u8db3\u308a\u306a\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u5b9f\u9a13\u30b3\u30fc\u30c9\u306f\u3001\u3053\u3061\u3089<br \/><a title=\"https:\/\/github.com\/moonmile\/FSharp.Data.PCL\" href=\"https:\/\/github.com\/moonmile\/FSharp.Data.PCL\">https:\/\/github.com\/moonmile\/FSharp.Data.PCL<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xamarin.Forms \u306e TypeProvider \u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u304c\u65ad\u5ff5\u3057\u305f\u306e\u5dfb | Moonmile Solutions Bloghttp:\/\/www.moonmile.net\/blog\/archives\/610 &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/6115\">\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":[59],"tags":[],"class_list":["post-6115","post","type-post","status-publish","format-standard","hentry","category-f"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/6115","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=6115"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/6115\/revisions"}],"predecessor-version":[{"id":6116,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/6115\/revisions\/6116"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=6115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=6115"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=6115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}