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=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]' is not assignable to parameter type
'System.Uri [System, Version=18.104.22.168, 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!