顯示具有 Visual Studio 2010 標籤的文章。 顯示所有文章
顯示具有 Visual Studio 2010 標籤的文章。 顯示所有文章

2013年7月12日 星期五

VS2010 WCF 無法載入 System.ServiceModel.Web 之解決方法 (Visual Studio 2010 - WCF Using System.ServiceModel.Web Problem)

當使用 Visual Studio 2010 建立 C# "WCF 服務程式庫" 專案時,若於程式中引用 System.ServiceModel.Web (Using System.ServiceModel.Web) 且建置時發生錯誤訊息:
"命名空間 'System.ServiceModel' 中沒有型別或命名空間名稱 'Web' (您是否遺漏了組件參考?)"。請針對以下兩部分進行檢查 --