Last post Jan 15, 2018 07:46 AM by Cathy Zou
Jan 12, 2018 08:54 AM|KALYANA ALLAM|LINK
I get this exception time to time whenever I restart the machine it clears,I belive its a memory issue,some time it persists,like to know if any one has a Permfix.
Jan 15, 2018 07:46 AM|Cathy Zou|LINK
Hi KALYANA ALLAM
Yes, this technically can go wrong when you execute code on .NET 4.0 instead of .NET 4.5. The attribute was moved from System.Core.dll to mscorlib.dll in .NET 4.5. While that sounds like a rather nasty breaking change in a framework version that is supposed
to be 100% compatible
So possible workarounds are to fall back to 4.0 on the build machine, install .NET 4.5 on the target machine and the real fix, to rebuild the project from the provided source code, fixing the ILMerge command.
Refer to: https://stackoverflow.com/a/13750130/9143922