2
Iam在我的wcf项目中使用'System.Net.HttpStatusCode'时遇到以下错误。 “C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ System.dll”和“D:\ HKMP \ Branch \ NewAmelio \ amelioSL \ Web”中都存在“System.Net.HttpStatusCode”类型\ Services \ bin \ System.Net.dll'冲突的Dll
HttpResponseMessageProperty property = new HttpResponseMessageProperty();
// Here the response code is changed to 200.
property.StatusCode = System.Net.HttpStatusCode.OK;