{"id":2337,"date":"2024-09-05T01:52:19","date_gmt":"2024-09-04T16:52:19","guid":{"rendered":"https:\/\/y42u.net\/tec001\/?p=2337"},"modified":"2024-09-05T02:07:27","modified_gmt":"2024-09-04T17:07:27","slug":"name_delete","status":"publish","type":"post","link":"https:\/\/y42u.net\/tec001\/2024\/09\/05\/name_delete\/","title":{"rendered":"Xamarin\u304b\u3089NetMAUI\u3078\u79fb\u884c\u4e2d(2):\u540d\u79f0\u5909\u63db\u3084\u524a\u9664"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30eb\u30c0\u30fc\u69cb\u9020\u3092\u4f5c\u6210\u3057\u3066\u3001\u6240\u5b9a\u306e\u4f4d\u7f6e\u306b\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u79fb\u52d5\u3057\u305f\u3089\u3001namespace\u306a\u3069\u3092\u5bfe\u5fdc\u3059\u308bNetMAUI\u7528\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u307e\u305f\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"570\" height=\"261\" src=\"https:\/\/i0.wp.com\/y42u.net\/tec001\/wp-content\/uploads\/2024\/08\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2024-08-23-10.24.19.png?resize=570%2C261&#038;ssl=1\" alt=\"\" class=\"wp-image-2345\" srcset=\"https:\/\/i0.wp.com\/y42u.net\/tec001\/wp-content\/uploads\/2024\/08\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2024-08-23-10.24.19.png?w=570&amp;ssl=1 570w, https:\/\/i0.wp.com\/y42u.net\/tec001\/wp-content\/uploads\/2024\/08\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2024-08-23-10.24.19.png?resize=300%2C137&amp;ssl=1 300w, https:\/\/i0.wp.com\/y42u.net\/tec001\/wp-content\/uploads\/2024\/08\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2024-08-23-10.24.19.png?resize=40%2C18&amp;ssl=1 40w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\uff11\uff09Page(\u753b\u9762\u7528)XAML\u30d5\u30a1\u30a4\u30eb\u306enamespace\u5909\u63db<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Page\u306examl\u30d5\u30a1\u30a4\u30eb\u5148\u982d\u306examarin\u90e8\u5206\u3092NetMAUI\u3078\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Xamarin\u306ePage\u30d8\u30c3\u30c0\u30fc\u90e8\u5206<\/th><th>NetMAUI\u306ePage\u30d8\u30c3\u30c0\u30fc\u90e8\u5206<\/th><\/tr><\/thead><tbody><tr><td>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br>&lt;ContentPage xmlns=&#8221;http:\/\/<strong>xamarin.com\/schemas\/2014\/forms<\/strong>&#8220;<br>xmlns:x=&#8221;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&#8221;<\/td><td>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br>&lt;ContentPage xmlns=&#8221;http:\/\/<strong>schemas.microsoft.com\/dotnet\/2021\/maui<\/strong>&#8220;<br>             xmlns:x=&#8221;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\uff12\uff09Page\u7528\u306examl.cs\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u3001xamarin.form\u3092\u524a\u9664<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Page\u306examl\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3059\u308bxaml.cs\u30d5\u30a1\u30a4\u30eb\u304b\u3089xamarin\u90e8\u5206\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Xamarin\u306ePage\u306examl.cs\u90e8\u5206<\/th><th>NetMAUI\u306ePage\u306examl.cs\u90e8\u5206<\/th><\/tr><\/thead><tbody><tr><td>using Xamarin.Forms;<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">3\uff09Xamarin\u306e\u90e8\u54c1\u3084\u30d1\u30c3\u30b1\u30fc\u30b8\u3092NetMAUI\u7528\u306b\u5909\u66f4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GUI\u90e8\u54c1\u3084\u30d1\u30c3\u30b1\u30fc\u30b8\u3092Xamarin\u7528\u304b\u3089NetMAUI\u7528\u306b\u5909\u66f4\u3057\u307e\u3059\u306e\u3067using\u8a2d\u5b9a\u3092\u5909\u3048\u307e\u3059\u3002\u307e\u305fmvvm\u30d1\u30c3\u30b1\u30fc\u30b8\u306fPrism\u304b\u3089\u4eca\u5f8c\u306e\u6a5f\u80fd\u62e1\u5f35\u3092\u671f\u5f85\u3057\u3066CommunityToolkit.Mvvm\u306b\u5909\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Xamarin\u306ecs\u90e8\u5206<\/th><th>NetMAUI\u306ecs\u90e8\u5206<\/th><\/tr><\/thead><tbody><tr><td>using Xamarin.Forms.Maps;<\/td><td>using Microsoft.Maui.Maps;<\/td><\/tr><tr><td>using Xamarin.Essentials;<\/td><td>\u524a\u9664<\/td><\/tr><tr><td>using Xamarin.Forms.Maps.iOS;<\/td><td>using Microsoft.Maui.Maps;<\/td><\/tr><tr><td>using Xamarin.Forms.Platform.iOS;<\/td><td>\u524a\u9664<\/td><\/tr><tr><td>using Xamarin.Forms.Xaml;<\/td><td>\u524a\u9664<\/td><\/tr><tr><td>using Prism.Commands;<\/td><td>using CommunityToolkit.Mvvm.ComponentModel;<br>using CommunityToolkit.Mvvm.Input;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">4\uff09\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u540d\u79f0\u5909\u66f4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Xamarin\u3067\u4f7f\u7528\u3057\u3066\u5c45\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u540d\u79f0\u304cNetMAUI\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4f8b\u3048\u3070Xamarin\u3067<strong>pin_Blue.png<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u5c45\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/share\/dotnet\/packs\/Microsoft.Maui.Resizetizer.Sdk\/7.0.101\/targets\/Microsoft.Maui.<strong>Resizetizer<\/strong>.targets(9,9): Error: One or more invalid file names were detected.  File names must be <strong>lowercase<\/strong>, start and end with a letter character, and contain only <strong>alphanumeric<\/strong> characters or <strong>underscores<\/strong>: <strong>pin_Blue<\/strong> (GeoDiveM2)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">NetMAUI\u3067\u753b\u50cf\u3092\u9ad8\u901f\u306b\u8868\u793a\u3059\u308b\u70ba\u306b<strong>Resizetizer<\/strong>\u304c\u8ffd\u52a0\u3055\u308c\u305f\u69d8\u3067\u3001\u305d\u306e\u6761\u4ef6\u304c\u300c\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u79f0\u306f<strong>\u5c0f\u6587\u5b57<\/strong>\u3068<strong>\u4e0b\u7dda<\/strong>\u3060\u3051\u300d\u306e\u69d8\u3067\u3059\u306e\u3067\u3001\u8a72\u5f53\u3059\u308b\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u540d\u79f0\u3092\u5168\u3066\u5909\u66f4\u3057\u307e\u3059\uff08\uff1d\u6ca2\u5c71\u3042\u3063\u305f\u306e\u3067\u5730\u5473\u306b\u5927\u5909\u3067\u3057\u305f\uff09<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Xamarin\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u540d\u79f0<\/th><th>NetMAUI\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u540d\u79f0<\/th><\/tr><\/thead><tbody><tr><td>Resizetizer\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u5834\u5408<br>\u4f8b\uff09<strong>pin_Blue<\/strong>.png<\/td><td>\u540d\u79f0\u3092<strong>\u5c0f\u6587\u5b57<\/strong>\u3068<strong>\u4e0b\u7dda<\/strong>\u3060\u3051\u306b\u3059\u308b<br>\u4f8b\uff09<strong>pin_blue<\/strong>.png<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">5\uff09\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3084\u524a\u9664<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u305f\u3073\u306b\u3001\u5bfe\u5fdc\u90e8\u5206\u3092\u4fee\u6b63\u30fb\u5909\u66f4\u3057\u3066\u884c\u304d\u307e\u3059\u3002GeoDiveExa\u306e\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u69d8\u306a\u5909\u66f4\u304c\u5fc5\u8981\u3067\u3057\u305f\uff08\uff1d\uff1d\uff1e\u305d\u306e\u4ed6\u306b\u6a5f\u80fd\u4f5c\u6210\u306e\u305f\u3081\u306b\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u7d9a\u304d\u306e\u30d6\u30ed\u30b0\u3067\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Xamarin\u306ePage\u306examl.cs\u90e8\u5206<\/th><th>NetMAUI\u306ePage\u306examl.cs\u90e8\u5206<\/th><\/tr><\/thead><tbody><tr><td>Position<\/td><td>Loation<\/td><\/tr><tr><td>DelegateCommand<\/td><td>RelayCommand<\/td><\/tr><tr><td>[assembly: ExportRenderer(typeof(CustomMap), typeof(CustomMapRenderer))]<\/td><td>\u524a\u9664<\/td><\/tr><tr><td>&lt;Color\u8a2d\u5b9a\u306e\u540d\u79f0\u5909\u66f4&#8211;>Colors><br>\u4f8b\uff09Color.Green<\/td><td>\u4f8b\uff09Colors.Green<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">6\uff09\u30d5\u30a1\u30a4\u30eb\u306e\u524a\u9664<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u305f\u3073\u306b\u3001\u5bfe\u5fdc\u90e8\u5206\u3092\u4fee\u6b63\u30fb\u5909\u66f4\u3057\u3066\u884c\u304d\u307e\u3059\u304c\u3001\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u524a\u9664\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Xamarin\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30b3\u30fc\u30c9<\/th><th>NetMAUI\u306e\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30b3\u30fc\u30c9<\/th><\/tr><\/thead><tbody><tr><td>Assemblyinfo.cs<\/td><td>\u524a\u9664<\/td><\/tr><tr><td>DEVICE\u95a2\u9023\u30d5\u30a1\u30a4\u30eb<\/td><td>\u524a\u9664<\/td><\/tr><tr><td>&lt;iOS\u306e\u4e0d\u8981\u30d5\u30a1\u30a4\u30eb\u524a\u9664&gt;<br>Entitlements.plist<br>iTunesArtwork<br>iTunesArtwork@2x<br>Main.cs<br><\/td><td>\u524a\u9664<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4ee5\u5f8c\u306e\u30d6\u30ed\u30b0\u306b\u7d9a\u304d\u307e\u3059\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a9\u30eb\u30c0\u30fc\u69cb\u9020\u3092\u4f5c\u6210\u3057\u3066\u3001\u6240\u5b9a\u306e\u4f4d\u7f6e\u306b\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u79fb\u52d5\u3057\u305f\u3089\u3001namespace\u306a\u3069\u3092\u5bfe\u5fdc\u3059\u308bNetMAUI\u7528\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u307e\u305f\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u307e\u3059\u3002 \uff11\uff09Page(\u753b\u9762\u7528)XAML\u30d5\u30a1\u30a4\u30eb\u306enamespace\u5909 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2345,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"common","vkexunit_cta_each_option":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[145,1],"tags":[147,146],"class_list":["post-2337","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-netmaui","category-uncategorized","tag-netmaui","tag-xamarin"],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/y42u.net\/tec001\/wp-content\/uploads\/2024\/08\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2024-08-23-10.24.19.png?fit=570%2C261&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/posts\/2337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/comments?post=2337"}],"version-history":[{"count":6,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/posts\/2337\/revisions"}],"predecessor-version":[{"id":2374,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/posts\/2337\/revisions\/2374"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/media\/2345"}],"wp:attachment":[{"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/media?parent=2337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/categories?post=2337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y42u.net\/tec001\/wp-json\/wp\/v2\/tags?post=2337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}