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;