Click here to Skip to main content
15,889,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've been getting this warning:

"Warning CS1701 Assuming assembly reference 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'System.Data.SqlClient' matches identity 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Runtime', you may need to supply runtime policy"

The weird thing is that I had no such issue yesterday, only when I opened my file again today.
I'm currently using .NET Core MVC on VS2015.

What I have tried:

Under the project.json dependencies, I've tried to add "System.Runtime": "4.0.0" but ended up getting another warning that "expected System.Runtime >= 4.1.0 but received 4.0.0 .

Edit: I closed my VS and re-opened it and the warning was gone! It'd be great if anyone could explain what the issue was though
Posted
Updated 8-Nov-16 16:27pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900