ありがとうございました。警告を削除する方法を見つけました。
sysrqbが言ったように、wsdl 名前空間は削除されたか、存在しませんでした。xsd.exe ツールは内部的に Guid 定義を認識しているようですが、xsd スキーマを検証できません。
bojが指摘したように、Guid を含むスキーマを検証する唯一の方法は、スキーマでその型を (再) 定義することです。ここでの秘訣は、Guid 型を同じ " http://microsoft.com/wsdl/types " 名前空間に追加することです。このように、xsd.exe はhttp://microsoft.com/wsdl/types:Guidと System.Guidの間の適切な関連付けを行います。
guid タイプの新しい xsd ファイルを作成しました。
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://microsoft.com/wsdl/types/" >
<xs:simpleType name="guid">
<xs:annotation>
<xs:documentation xml:lang="en">
The representation of a GUID, generally the id of an element.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
次に、元の xsd ファイルとこの新しい xsd ファイルの両方で xsd.exe を実行します。
xsd.exe myschema.xsd guid.xsd /c