Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars

Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 3  
21 Jun 18 06:21
John Smith
Join Date: 21 Jun 2018
Posts To This List: 2
SDV fails at build step with default KMDF example project (VS2017)

The error log is as follows: sdv: staticdv /check /devenv SDV: C:\Program Files (x86)\Windows Kits\10\TOOLS\SDV SMV: C:\Program Files (x86)\Windows Kits\10\TOOLS\SDV\smv SDVAP: C:\Program Files (x86)\Windows Kits\10\TOOLS\SDV\smv\analysisplugins\sdv Build environment: msbuild [INFO] Cleaning ... [INFO] Setting interceptor platform to x64 [INFO] Setting platform to x86_amd64 [INFO] Validating XML against schema: C:\Program Files (x86)\Windows Kits\10\TOOLS\SDV\smv\bin\Config.xsd Unhandled Exception: System.Xml.Schema.XmlSchemaValidationException: The '' attribute is not declared. at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationExcep tion e, XmlSeverityType severity) at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaException e) at System.Xml.Schema.XmlSchemaValidator.RecompileSchemaSet() at System.Xml.Schema.XmlSchemaValidator.Init() at System.Xml.Schema.XmlSchemaValidator..ctor(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags) at System.Xml.XsdValidatingReader.SetupValidator(XmlReaderSettings readerSettings, XmlReader reader, XmlSchemaObject partialValidationType) at System.Xml.XsdValidatingReader..ctor(XmlReader reader, XmlResolver xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject partialValidationType) at System.Xml.XmlReaderSettings.AddValidation(XmlReader reader) at System.Xml.XmlReaderSettings.CreateReader(TextReader input, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(TextReader input, XmlReaderSettings settings, String baseUri) at System.Xml.XmlReader.Create(TextReader input, XmlReaderSettings settings) at SmvLibrary.Utility.ValidateXmlFile(String schemaPath, TextReader configFile) at SmvLibrary.Utility.GetSMVConfig() at SmvSkeleton.Program.Main(String[] args)
  Message 2 of 3  
21 Jun 18 21:43
Nate Deisinger
Join Date: 21 Jun 2018
Posts To This List: 3
SDV fails at build step with default KMDF example project (VS2017)

Hi John, This is a known issue with SDV we're looking at. The best solution is to ensure the computer you're running SDV on has an open internet connection. If that's not possible for whatever reason, please download locally and update C:\Program Files (x86)\Windows Kits\10\TOOLS\SDV\smv\bin\Config.xsd to point to your local copy. -Nate
  Message 3 of 3  
22 Jun 18 05:42
John Smith
Join Date: 21 Jun 2018
Posts To This List: 2
SDV fails at build step with default KMDF example project (VS2017)

Yep, that's fixed it, thanks
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 19:18.

Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license