It's almost time to get off work. The Code data layer compiles failed, causing the whole solution to fail;
Other colleagues Although the VS version is different, but can be compiled through; Given today's changes to the VS setting, all of today's changed settings are restored, and the result is not. In the end, the original settings are restored directly, compiled or failed;
It's time to remember to look at the compiler log for specific errors, compile the log:
Msb3268:the Primary Reference "data, version=1.0.0.2, culture=neutral, Processorarchitecture=msil"
Could not being resolved because it has a indirect dependency on the framework assembly "System.Net.Http, version=2.0.0.0, C Ulture=neutral,
PUBLICKEYTOKEN=B03F5F7F11D50A3A "which could is not being resolved in the currently targeted framework. ". Netframework,version=v4.0 ".
To resolve this problem, either remove the reference "data, version=1.0.0.2, culture=neutral, Processorarchitecture=msil"
or retarget your application to a framework version which contains "System.Net.Http, version=2.0.0.0, Culture=neutral, Pub LICKEYTOKEN=B03F5F7F11D50A3A ".
To NETFramework v4.0 to find System.Net.Http really did not, copy from other places into the directory, or not;
Follow this lead and find out that this thing is in ASP. After downloading the installation of ASP. NET MVC 4, the problem of recompiling the project is solved ...
The DAL layer quotes System.Net.Http, causing a flurry of flustered