你需要告诉 Visual Studio 使用哪个 XML 模式来处理这些映射文件。也许这就是你需要的: http://blog.benday.com/archive/2006/01/15/3646.aspx