<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>.NET Framework</anon>
    <anon>C++</anon>
    <anon>C++11以上</anon>
    <anon>C+/CLI</anon>
  </categories>
  <description>C++/CLI で Action は使用できるのに Action&lt;T1, T2&gt; 以降が「E2154 ジェネリック クラス &quot;System::Action&quot; の引数が多すぎます」でエラーになる場合の対処方法です。 ソリューションエクスプローラー &gt; 該当のプロジェクト &gt; 参照 &gt; System.Core を追加 どうやら定義場所が違うみたいです。初期状態だと参照に入ってないためエラーになります。 // mscorlibで定義されている Action Action&lt;T1&gt; // System.Coreで定義されている Action&lt;T1, T2...&gt; Func&lt;...&gt; .NET 4.x 以…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2021%2F06%2F11%2F213907&quot; title=&quot;【C++/CLI】Action&amp;lt;T1, T2&amp;gt;, Func&amp;lt;..&amp;gt;がエラーになる - PG日誌&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-11 21:39:07</published>
  <title>【C++/CLI】Action&lt;T1, T2&gt;, Func&lt;..&gt;がエラーになる</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2021/06/11/213907</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
