I have a .NET 4.5 class library (containing tests) with a project reference to a portable class library. The PCL targets the following platforms:
I'm on Visual Studio 2013 Premium with ReSharper 6. At some point recently, I started seeing many, many inline warnings (red squiggly underlines) in the test project indicating the following or similar:
Cannot convert source type 'string [mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]'
to target type 'string [System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]'
There are no build errors or warnings, just the annoying inline errors. If I turn off "Enable code analysis" in ReShaper's settings, they go away, but of course so do many helpful features. This started happening just recently but I can't pinpoint what triggered it. I did upgrade from Windows 8.1 to Windows 10 recently, not sure if that has anything to do with it. Any tips that might help me pinpoint the cause would be greatly appreciated.
Could you test your solution with the latest R# version? There were known issues with PCL references, for example RSRP-430728.