title: NuGet Package for Tuples in C#7 causes an error in my views
body: <p>I am trying to use the new tuple features in C# 7 in an ASP.NET MVC 5 app, using .NET version 4.6.1. and Visual Studio 2017 RC. To do so I referenced this article here: <a href="https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/" rel="noreferrer">What's new in C# 7</a>, which said to install System.ValueTuple via NuGet. When I did this, the tuple syntax started working for me like in this example code: </p>
  
  <pre><code>public void TupleCaller()
  {
     (var valOne, var valTwo) = TupleExample();
  }
  
  public (string, string) TupleExample()
  {
      return ("Tuple Item One", "Tuple Item Two");
  }
  </code></pre>
  
  <p>However, when I run the app, my views immediately throw this error: </p>
  
  <blockquote>
    <p>CS0012: The type 'System.Object' is defined in an assembly that is not
    referenced. You must add a reference to assembly 'System.Runtime,
    Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</p>
  </blockquote>
  
  <p>I have tried all of the following: </p>
  
  <ol>
  <li>Adding a reference to System.Runtime Version 4.0 as the error says</li>
  <li>Tried what was provided in this <a href="https://stackoverflow.com/questions/41444981/c-sharp-7-valuetuple-compile-error">C# 7.0 ValueTuple Question/Answer</a> and in this <a href="https://stackoverflow.com/questions/42216740/c-sharp-7-features-dont-work-within-a-web-project-on-visual-studio-2017-rc">Question/Answer</a> by installing the 2.0 Compilers. </li>
  <li>Manually adding a reference to System.Runtime in the view (I think I was just getting a little desperate by that point). </li>
  </ol>
  
  <p>As soon as I uninstall the System.ValueTuple NuGet package and comment out the new Tuple code, everything renders properly in the views like before.</p>