0
我想創建一個WCF服務應用程序使用Visual Studio 2010中創建項目後我有2個配置文件: 1. Web.Debug.config 2. Web.Release.config是Web.config文件WCF服務應用程序項目不正確的?
這是代碼文件。
<?xml version="1.0"?>
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
</configuration>
當我嘗試添加任何元素或屬性時,它會給出以下警告。
Could not find schema information for the attribute 'address'.
Could not find schema information for the attribute 'address'.
Could not find schema information for the attribute 'binding'.
Could not find schema information for the attribute 'binding'.
Could not find schema information for the attribute 'contract'.
Could not find schema information for the attribute 'contract'.
Could not find schema information for the attribute 'name'.
Could not find schema information for the element 'endpoint'.
Could not find schema information for the element 'endpoint'.
Could not find schema information for the element 'service'.
Could not find schema information for the element 'services'.
我在做什麼錯? 有什麼要添加或編輯。我正在嘗試創建一個非常簡單的WCF服務應用程序。
謝謝!我很愚蠢。他們是3個配置文件。第三個我沒有檢查有serviceModel。不管怎麼說,還是要謝謝你 ! – Desperado