{"id":6557,"date":"2018-06-21T10:00:07","date_gmt":"2018-06-21T01:00:07","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=6557"},"modified":"2018-06-21T08:45:08","modified_gmt":"2018-06-20T23:45:08","slug":"%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%97%e3%83%ad%e3%83%b3%e3%83%97%e3%83%88%e3%81%a7c%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b-with-csc","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/6557","title":{"rendered":"\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067C#\u3092\u5b9f\u884c\u3059\u308b with csc"},"content":{"rendered":"<p>\u79c1\u306f\u514e\u306b\u89d2\u30b3\u30fc\u30c9\u304c\u66f8\u304f\u3053\u3068\u304c\u5927\u597d\u304d\u3067\u3059\u3002<br \/>\n \u307e\u305f\u958b\u767a\u306e\u30b9\u30d4\u30fc\u30c9\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b\u306f\u3001\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u691c\u8a3c\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u6b20\u304b\u305b\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u666e\u6bb5Visual Studio\u3067C#\u3092\u66f8\u3044\u3066\u3044\u308b\u7686\u69d8\u306b\u3001<strong>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\uff06\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8<\/strong>\u3067<br \/>\n C#\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb<\/h3>\n<p>C#\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u308b\u30c4\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\uff12\u3064\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>* <strong>csc<\/strong>\u00a0<br \/>\n * <strong>dotnet<\/strong><\/p>\n<p>csc\u306f\u3001C#\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u3067\u3059\u3002<br \/>\n dotnet\u306f\u8907\u6570\u306eC#\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7c21\u5358\u306b\u4f5c\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002<br \/>\n \u3069\u3061\u3089\u3082\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089C#\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb(exe)\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u304c\u3001<br \/>\n dotnet\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u306a\u3069\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u691c\u8a3c\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u306f\u5c11\u3057\u5927\u3052\u3055\u3067\u3059\u3002<\/p>\n<p>\u691c\u8a3c\u30b3\u30fc\u30c9\u306f\u3044\u304b\u306b\u7d20\u65e9\u304f\u78ba\u8a8d\u3067\u304d\u308b\u304b\u304c\u9375\u306a\u306e\u3067\u3001\u76f4\u63a5csc\u3092\u4f7f\u3063\u3066\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h3>csc\u3092\u4f7f\u3063\u3066\u691c\u8a3c\u30b3\u30fc\u30c9\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5<\/h3>\n<p>csc\u3092\u4f7f\u3046\u65b9\u6cd5\u306f\uff13\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>1.\u00a0 Windows\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bcsc<br \/>\n 2. Visual Studio\u306b\u68b1\u5305\u3055\u308c\u3066\u3044\u308bcsc<br \/>\n 3. github\u4e0a\u306b\u4e0a\u304c\u3063\u3066\u3044\u308b\u6700\u65b0\u306ecsc<\/p>\n<p>1\u306f\u3001\u4ee5\u4e0b\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059<\/p>\n<p><strong>C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319<\/strong><\/p>\n<p>\u4e0a\u8a18\u306f\u3001Framework\u914d\u4e0b\u306bv4.0.30319\u4ee5\u5916\u306b\u3082\u3044\u304f\u3064\u304b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n \u305f\u3060\u3057\u3053\u3061\u3089\u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eC#\u3067\u306f\u306a\u304f\u3001C#5\u307e\u3067\u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>2\u306f\u7121\u511f\u7248\u306eVisual Studio\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\Roslyn<\/strong><\/p>\n<p>3\u306f\u3053\u3061\u3089\u3067\u914d\u5e03\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/dotnet\/roslyn\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>https:\/\/github.com\/dotnet\/roslyn<\/strong><\/a><\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u4e0a\u3067\u3001\u3069\u3053\u3067\u3082\u4e0a\u8a18\u306e\u30c4\u30fc\u30eb\u3092\u7c21\u5358\u306b\u547c\u3073\u51fa\u3059\u305f\u3081\u306b\u306f\u3001\u74b0\u5883\u5909\u6570\u306b\u4f7f\u7528\u3057\u305f\u3044csc\u306e\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u74b0\u5883\u5909\u6570 \u2192 Path\u3092\u9078\u629e \u2192 \u7de8\u96c6\u30dc\u30bf\u30f3\u3067\u4ee5\u4e0b\u3092\u8868\u793a<br \/>\n <img loading=\"lazy\" class=\"alignnone wp-image-6560 \" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2018\/06\/368915fa670c413058f481ec2d302821.png\" alt=\"\" width=\"681\" height=\"396\" \/><\/p>\n<p>\u4e0a\u8a18\u306b\u4f7f\u3044\u305f\u3044csc\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n \u79c1\u306f\u3001Visual Studio\u306b\u68b1\u5305\u3055\u308c\u3066\u3044\u308bcsc\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u3063\u3066\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u4e0a\u3067csc\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-6561 size-full\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2018\/06\/d98fc3ed4415774fd8f89ef58dccb37e.png\" alt=\"\" width=\"683\" height=\"512\" \/><\/p>\n<p>\u3053\u308c\u3067\u3069\u3053\u3067\u3082C#\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d3\u30eb\u30c9\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<table style=\"height: 77px;width: 400px\">\n<tbody>\n<tr style=\"height: 10.875px\">\n<td style=\"width: 390px;height: 10.875px\">\n<p><strong>$ csc helloworld.csc # \u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306e\u751f\u6210<br \/>\n $ helloworld # \u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u305f\u3060\u3057\u691c\u8a3c\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u5fc5\u305amain\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3064\u30af\u30e9\u30b9\u3092\u7528\u610f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table style=\"height: 77px;width: 400px\">\n<tbody>\n<tr style=\"height: 10.875px\">\n<td style=\"width: 390px;height: 10.875px\">\n<p>\/\/ helloworld.cs<br \/>\n using System;<\/p>\n<p>class Test {<\/p>\n<p>\u00a0 \u00a0 public static void Main() {<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 Console.Log(&#8220;Hello World&#8221;);<\/p>\n<p>\u00a0 \u00a0 }<\/p>\n<p>}<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u306e\u691c\u8a3c\u306a\u3069\u5373\u5ea7\u306b\u52d5\u4f5c\u78ba\u8a8d\u51fa\u6765\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n \u307e\u305f <strong>\/langversion:(\u4f7f\u3044\u305f\u3044\u30d0\u30fc\u30b8\u30e7\u30f3)\u00a0<\/strong>\u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u52a0\u3048\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001<br \/>\n C#\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p> \u305c\u3072\u304a\u8a66\u3057\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u6728\u66dc\u62c5\u5f53<br \/>\n yoshimoto<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/6557\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/6557\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067C#\u3092\u5b9f\u884c\u3059\u308b with csc\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/6557\" data-text=\"\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067C#\u3092\u5b9f\u884c\u3059\u308b with csc\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/6557\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/6557\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u79c1\u306f\u514e\u306b\u89d2\u30b3\u30fc\u30c9\u304c\u66f8\u304f\u3053\u3068\u304c\u5927\u597d\u304d\u3067\u3059\u3002 \u307e\u305f\u958b\u767a\u306e\u30b9\u30d4\u30fc\u30c9\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b\u306f\u3001\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u691c\u8a3c\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u6b20\u304b\u305b\u307e\u305b\u3093\u3002 \u4eca\u56de\u306f\u3001\u666e\u6bb5Visual Studio\u3067C#\u3092\u66f8\u3044\u3066\u3044\u308b\u7686\u69d8\u306b\u3001\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\uff06\u30b3\u30de [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[72],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/6557"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=6557"}],"version-history":[{"count":19,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/6557\/revisions"}],"predecessor-version":[{"id":6578,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/6557\/revisions\/6578"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=6557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=6557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=6557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}