title: Is it possible to target .NET4.0 in Visual Studio 2015 C++/CLI projects?
body: <p>I have recently installed VS2015. Yay! \o/</p>
  
  <p>However, one of my C++/CLI projects showed this message when upgrading from VS2013:</p>
  
  <blockquote>
    <p>The following project(s) uses an earlier version of the Visual C++ compiler and libraries. The project(s) will be upgraded to use the Microsoft Visual Studio 2015 compiler and libraries. <strong>Any managed or native code project(s) using C++/CLI extensions will be automatically upgraded to target .NET Framework 4.5.2.</strong> Note: If you do not upgrade the project(s), building your project(s) will require the corresponding version of Visual Studio to be installed.</p>
  </blockquote>
  
  <p>I ok'd the warning, but now code which compiled previously in VS2013 no longer compiles, for instance:</p>
  
  <pre><code>void WritePixels(array&lt;unsigned int&gt; ^ rgbaData);
  </code></pre>
  
  <p>has the error </p>
  
  <blockquote>
    <p>'std::array': too few template arguments<br>
    '^': cannot use this indirection on type 'std::array'</p>
  </blockquote>
  
  <p>Also the project properties do not allow me to switch target .NET framework version (it is grayed out).</p>
  
  <p>Is it possible for C++/CLI projects to target .NET 4.0 using Visual Studio 2015? Are there any syntax changes in C++/CLI since Visual Studio 2013 that I need to know about?  </p>