title: Issues moving solution from VS2013 to VS2015 having to do with cryptography?
body: <p>I have a relatively large WinForms application that has been developed under Visual Studio 2013. I recently upgraded to Visual Studio 2015 on another computer and have been trying to get the project working under it. </p>
  
  <p>My first issue/concern is that when I open the project for the first time in Visual Studio 2015 it does not ask me to "upgrade" the solution to Visual Studio 2015, it happily just opens the solution. I am used to having Visual Studio ask to "upgrade" the solution and create a new <code>.sln</code> file that is recognized as a, for example, Visual Studio 2013 solution instead of the old VS10 solution. </p>
  
  <p>The actual issue I am facing is ~10 errors that seem to deal with cryptography. From what I can guess this has to do with the solution itself and what microsoft does with it in the background seeing as the most cryptography I use in the project is generating <code>Guid</code>. </p>
  
  <p>An image of the errors
  <a href="https://i.stack.imgur.com/bHFKE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bHFKE.png" alt="enter image description here"></a></p>
  
  <p>The one other issue I have is that, as I am not used to, I cannot double click on the errors them self to be lead to where Visual Studio thinks they are occurring. Thus I am not sure what is generating them or where to go from here. </p>
  
  <p>Any suggestions?</p>
  
  <hr>
  
  <p>This is a Windows 7 installation on an older model Lenovo Thinkpad. I do not have admin privileges on this computer either.</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> So far I have tried to add <code>&lt;enforceFIPSPolicy enabled="false"/&gt;</code> to the file Visual Studio 15 settings at <code>C\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Devenv.exe.config</code>, though whenever I try to edit it (even after a fresh restart) the file is "always" opened by another program. So it seems I cannot edit the file to turn off FIPS for Visual Studio 15.</p>
  
  <p>I am still open to suggestions or clues.</p>
  
  <p><strong>EDIT2:</strong> I have managed to get <code>&lt;enforceFIPSPolicy enabled="false"/&gt;</code> into the IDE settings with the help of IT (Using <a href="http://blogs.msdn.com/b/brijs/archive/2010/08/10/issue-getting-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-exception-while-building-outlook-vsto-add-in-in-vs-2010.aspx" rel="nofollow noreferrer">this article</a>). Though this seems to do absolutely nothing, it seems that it is being ignored. </p>
  
  <p>Another issue/clue here is that even if I create a brand new C# project in Visual Studio, when I try to compile I receive the same errors. So I have to assume that Visual Studio is using the SHA256 class somewhere "in the background". If I did have control over its usage I would try to implement @Kevin 's answer below. </p>
  
  <p>I have found another <a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/d1ce3cf7-b12e-4a76-b637-d304b254b898/cant-build-a-wpf-project-on-a-fips-enabled-system?forum=wpf" rel="nofollow noreferrer">possible solution</a> on the web though I am not sure of its validity</p>
  
  <blockquote>
    <p>VS 2012 now builds C# projects in a separate process that runs
    msbuild. The entry you added to devenv.exe.config (that worked for VS
    2010) won't be seen by this process. You should add the same entry,
    namely
          to the config file for msbuild; typically that's found at
         c:\Windows\Microsoft.Net\Framework\v4.0.30319\msbuild.exe.config"</p>
  </blockquote>
  
  <p>I will try to get this done when I have time for the .NET 4.5+ <code>msbuild.exe.config</code> files and report back. </p>