First my setup:
- Visual Studio 2013 Ultimate
- Resharper 9 Update 1
- Net.Framework up to 4.5 installed (had 4.6 installed previously)
- C# Windows 8.1 Class Libary Project
var image = new BitmapImage(new Uri("test.bmp"));
Resharper is showing me the following error on this line:
Argument type 'System.Uri [System.Runtime, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]' is not assignable to parameter type
'System.Uri [System, Version=126.96.36.199, Culture=neutral,PublicKeyToken=b77a5c561934e089]'.
First of all, the code is compiling and running fine, without intellisense (Visual Studio legacy one) errors.
I assume the created Uri is out of the 4.5.1 Framework but the Bitmap Uri is part of the 4.5 one.
Maybe someone can recreate this? Or it is just a bug of Resharper?
Thanks in advance!