ac# プロジェクトでc++ XSD タスクを使用するにはどうすればよいですか? 次のように、csproj ファイルにタスクを作成済みです。
<Target Name="BeforeBuild">
<XSD Namespace="$(RootNamespace).Xml" Language="CS" GenerateFromSchema="classes" Sources="Xml/schema.xsd" />
</Target>
しかし、プロジェクト ファイルの編集中に IntelliSense が XSD タスクを提供してくれますが、ビルド出力には次のように表示されます。
Error 1 The "XSD" task was not found. Check the following:
1.) The name of the task in the project file is the same as the name of the task class.
2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Windows\Microsoft.NET\Framework\v4.0.30128" directory. MyProject.csproj
ああ、私は Visual Studio 2010 RC を使用しています。
*