Microsoft.Bcl.Async is not working in Windows XP

2

I am developing desktop application in WPF on .NET Framework 4.0, because of Windows XP on some client computers.

I need async/await in .NET 4.0 so I added references to Microsoft.Bcl.Async (latest NuGet release). Anytime I use Async/Await keyword, program crashes with following exception when started in Windows XP (works in Windows 7+):

Could not load file or assembly 'System.Core, Version=2.0.5.0,
Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or
one of its dependencies. The given assembly name or codebase was
invalid. (Exception from HRESULT: 0x80131047)
.net-4.0
async-await
windows-xp
asked on Stack Overflow Apr 1, 2016 by Ondřej • edited Apr 1, 2016 by Ondřej

1 Answer

4

After extensive research, I found that it is needed to have installed this update in Windows XP in order to Microsoft.Bcl.Async to work.

answered on Stack Overflow Apr 1, 2016 by Ondřej

User contributions licensed under CC BY-SA 3.0