title: How to Set AutoGenerateBindingRedirects in Visual Studio for Mac?
body: <p>I'm currently working on a Xamarin.Forms project named ABCD, using macOS Sierra v10.12.6 and Visual Studio (VS) for Mac v7.3.2 (the set up steps are detailed <a href="https://stackoverflow.com/questions/48056393/how-to-set-up-xamarin-forms-for-macos-sierra">here</a>).</p>
  
  <p>Having successfully set that up, I continue as follows:</p>
  
  <ul>
  <li><p>Right-clicking the main project folder, I select <strong>Options</strong>.</p></li>
  <li><p>Under <strong>Build</strong>, in <strong>General</strong>, under <strong>Target Framework</strong>: <strong>.NET Portable: PCL 4.5 - Profile111</strong> has been automatically selected for me.</p></li>
  <li><p>I switch this to the option right above it: <strong>.NET Standard Platform: netstandard1.5</strong>; then select <strong>OK</strong>.</p></li>
  <li><p>After switching this framework, I rebuild the project. After the rebuild, a warning appears:</p></li>
  </ul>
  
  <blockquote>
    <p>Warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see <a href="http://go.microsoft.com/fwlink/?LinkId=294190" rel="noreferrer">http://go.microsoft.com/fwlink/?LinkId=294190</a>. (MSB3276) (ABCD.iOS)</p>
  </blockquote>
  
  <ul>
  <li><p>So maybe this is because the <strong>NETStandard.Library</strong> package is out-of-date.</p></li>
  <li><p>In the main <strong>Packages</strong> folder, right-clicking <strong>NETStandard.Library</strong> says version <strong>1.6.0</strong>, but typing <strong>dotnet --version</strong> into <strong>Terminal</strong> shows <strong>2.1.3</strong>, so I update <strong>NETStandard.Library</strong> in VS – accept the licenses that come up.</p></li>
  <li><p>Same warning still in place after rebuilding.</p></li>
  <li><p>So I go to the Microsoft link provided by the warning and follow their <a href="https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/how-to-enable-and-disable-automatic-binding-redirection" rel="noreferrer">instructions</a> to add <code>&lt;AutoGenerateBindingRedirects&gt;true&lt;/AutoGenerateBindingRedirects&gt;</code> to the various .csproj files.</p></li>
  <li><p>I added this to the main .csproj file, rebuilt the project and got the same warning.</p></li>
  <li><p>I added this to both the iOS and Android .csproj files, rebuilt the project and got the same warning.</p></li>
  </ul>
  
  <p>So what's this problem, why is it so persistent, and how much trouble will it give me down the road if I just ignore it?</p>