Why you should wait on upgrading to .Net 4.6

kao

Must. Read. Now.

Seriously.

It's a good technical writeup for an embarrassing bug in MS code:

The methods you call can get different parameter values than you passed in.

What could possibly go wrong? 🙂

So, if you have installed VS2015 on your PC, better disable the fancy modern RyuJIT now - and hope MS releases a proper fix soon.

5 thoughts on “Why you should wait on upgrading to .Net 4.6

  1. Thank you. I didn't write anything "serious" till now with it, so I'm still "in time" to save me, ehehhe.

    Serious bug indeed.

    Best Regards,
    Tony

    1. The problem is that you don't need to target your application for .NET 4.6 to be affected. As soon as you install .NET Framework 4.6, RyuJIT will become a default JIT engine for your existing .NET apps too. 😉

      Microsoft made a follow-up post and more workarounds: here. They say that mostly F# programmers will be affected by the issue. But I'd rather not take the chances.

Leave a Reply

  • Be nice to me and everyone else.
  • If you are reporting a problem in my tool, please upload the file which causes the problem.
    I can`t help you without seeing the file.
  • Links in comments are visible only to me. Other visitors cannot see them.

 −  three  =  two