您好我之前使用过Consfiguration Section Designer来设计自定义配置部分。 最近我发现设计器生成的XSD文件坏了,而不是XSD架构它只包含错误信息(XSD消失了):
An exception occured while running the CsdFileGenerator on this file. See the Error List for details. E=System.InvalidOperationException: TextTemplating service unavailable
at Microsoft.VisualStudio.TextTemplating.VSHost.BaseTemplatedCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)
at ConfigurationSectionDesigner.CsdFileGenerator.GenerateAllContent(String fileExtension)
at ConfigurationSectionDesigner.CsdFileGenerator.GenerateContent(String element)
at ConfigurationSectionDesigner.VsMultipleFileGenerator`1.Generate(String wszInputFilePath, String bstrInputFileContents, String wszDefaultNamespace, IntPtr[] rgbOutputFileContents, UInt32& pcbOutput, IVsGeneratorProgress pGenerateProgress)
有没有办法重新生成XSD?
感谢。