{"id":7599,"date":"2025-12-29T14:56:50","date_gmt":"2025-12-29T05:56:50","guid":{"rendered":"https:\/\/pecos.ddns.net\/wordpress\/?p=7599"},"modified":"2025-12-29T14:59:21","modified_gmt":"2025-12-29T05:59:21","slug":"vscodewasmc","status":"publish","type":"post","link":"https:\/\/pecos.ddns.net\/wordpress\/?p=7599","title":{"rendered":"vscode+wasm(c#)"},"content":{"rendered":"<p>vscode\u3067wasm\u306e\u30c7\u30d0\u30c3\u30b0\u6700\u77ed\u30b3\u30fc\u30b9<br \/>\ndotnet\u306bwasm\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u7121\u3044\u5834\u5408\u306b\u5148\u306b\u8ffd\u52a0\u3057\u3066\u304a\u304f(dotnet new wasmbrowser\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u306f\u5165\u3063\u3066\u3044\u306a\u3044)<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ndotnet new install Microsoft.NET.Runtime.WebAssembly.Templates\r\n<\/pre>\n<p>wasm\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&gt; dotnet new sln -o wasm\r\n&gt; cd wasm\r\n&gt; dotnet new wasmbrowser -f net8.0 -o wasm1\r\n&gt; dotnet sln add wasm1\/wasm1.csproj\r\n&gt; dotnet build -c Debug\r\n<\/pre>\n<p>vscode\u3067wasm\u3092\u958b\u3044\u3066\u3001launch.json\u3092\u4f5c\u6210\u3057\u30d3\u30eb\u30c9<br \/>\nurl\u306f\u81ea\u52d5\u751f\u6210\u3055\u308c\u305flaunchSettings.json\u306b\u66f8\u3044\u3066\u3042\u308burl\u3092\u30b3\u30d4\u30da<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\t{\r\n\t\t&quot;name&quot;: &quot;Debug WASM&quot;,\r\n\t\t&quot;type&quot;: &quot;blazorwasm&quot;,\r\n\t\t&quot;request&quot;: &quot;launch&quot;,\r\n\t\t&quot;cwd&quot;: &quot;${workspaceFolder}\/wasm1&quot;,\r\n\t\t&quot;url&quot;: &quot;https:\/\/localhost:7080&quot;\r\n\t}\r\n<\/pre>\n<p>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u7f6e\u3044\u3066\u30c7\u30d0\u30c3\u30b0\u958b\u59cb\u3059\u308b\u3068\u3001\u305d\u3053\u3067\u6b62\u307e\u308b\u3002<br \/>\n\u51fa\u6765\u308b\u4e8b\u304c\u308f\u304b\u3063\u305f\u306e\u3067\u3001\u305d\u3063\u3068vscode\u3092\u9589\u3058\u308b\uff57<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vscode\u3067wasm\u306e\u30c7\u30d0\u30c3\u30b0\u6700\u77ed\u30b3\u30fc\u30b9 dotnet\u306bwasm\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u7121\u3044\u5834\u5408\u306b\u5148\u306b\u8ffd\u52a0\u3057\u3066\u304a\u304f(dotnet new wasmbrowser\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u306f\u5165\u3063\u3066\u3044\u306a\u3044) dotnet new ins [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,17],"tags":[],"class_list":["post-7599","post","type-post","status-publish","format-standard","hentry","category-c","category-programming"],"_links":{"self":[{"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/7599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7599"}],"version-history":[{"count":4,"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/7599\/revisions"}],"predecessor-version":[{"id":7602,"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/7599\/revisions\/7602"}],"wp:attachment":[{"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pecos.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}