<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tansantktk</author_name>
  <author_url>https://blog.hatena.ne.jp/tansantktk/</author_url>
  <blog_title>エンジニアのはしがき</blog_title>
  <blog_url>https://tm-progapp.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>デバッグ</anon>
  </categories>
  <description>先日、.NET Coreでコンソールアプリを作る機会がありました。 VSCodeで何も意識せずにF5でデバッグしようとすると、コンソールに出力はされるものの、 Console.Readline()で入力を受け付ける処理で、入力を受け付けてくれずに処理が止まってしまうことに気づきました。 Visual Studioではデフォルトで入力を受け付けてくれますが、VSCodeのデフォルトの挙動ではコンソールへの出力しかされないようです。 対応策 VSCodeで初めてF5でデバッグを開始すると、launch.jsonというデバッグ時の設定を記述するファイルを自動生成してくれます。 このファイルの一部を下…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftm-progapp.hatenablog.com%2Fentry%2F2021%2F04%2F23%2F202334&quot; title=&quot;VSCodeで.NET Core(CUI)アプリの入力を受け付けたい - エンジニアのはしがき&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tansantktk/20211023/20211023211140.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-23 20:23:34</published>
  <title>VSCodeで.NET Core(CUI)アプリの入力を受け付けたい</title>
  <type>rich</type>
  <url>https://tm-progapp.hatenablog.com/entry/2021/04/23/202334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
