<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba-yan</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba-yan/</author_url>
  <blog_title>しばやん雑記</blog_title>
  <blog_url>https://blog.shibayan.jp/</blog_url>
  <categories>
    <anon>Azure</anon>
    <anon>Azure DevOps</anon>
    <anon>.NET</anon>
    <anon>C#</anon>
  </categories>
  <description>Azure Functions なプロジェクトのビルドで Azure Pipelines を使っていたところ、手元ではビルド出来ていたコードが Azure Pipelines だとビルドエラーになってしまったので、最適な解決策を調べていました。具体的には C# 7.1 以降のコードが Azure Pipelines の Hosted Agent だとビルド出来ません。以下のように default の型推論をつかったコードを書くとエラーになります。 string test = default; 実際に Azure Pipelines でビルドさせると、この機能は C# 7.0 では使えないので …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayan.jp%2Fentry%2F2019%2F08%2F16%2F125856&quot; title=&quot;Azure Pipelines の Hosted Agent を使うと C# 7.1 以降のコードがビルド出来ないのを直す - しばやん雑記&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/s/shiba-yan/20190816/20190816020438.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-16 12:58:56</published>
  <title>Azure Pipelines の Hosted Agent を使うと C# 7.1 以降のコードがビルド出来ないのを直す</title>
  <type>rich</type>
  <url>https://blog.shibayan.jp/entry/2019/08/16/125856</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
