none
WDK Guardrail Analysis - Windows 10 RRS feed

  • Question

  • Currently the WDK Guardrail Analysis test fails for our device driver the the message from te.wtl:


    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    File name: 'Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at Microsoft.Hardware.Kits.Tests.ApiValidation.HLKApiValidation.ValidateGuardrailApi()

    This seems like a HLK Error, NOT a driver error. Please Assist. 

    Thursday, August 6, 2015 3:22 PM

All replies

  • Please download playlist to filter this test item

    http://blogs.msdn.com/b/windows_hardware_certification/archive/2015/05/19/hlk-compatibility-program-playlist-update.aspx

    My testing category(camera) can filter this test item.

    • Proposed as answer by Arpo Adhikari Tuesday, February 23, 2016 6:15 AM
    Friday, August 7, 2015 8:28 AM
  • Hello, we have the same problem. We downloaded the playlist, but unfortunately the test was not filtered out in our case.

    Full error description:

    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       at Microsoft.Hardware.Kits.Tests.ApiValidation.HLKApiValidation.ValidateGuardrailApi()
    
    Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    Running under executable  C:\hlk\JobsWorkingDir\Tasks\WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D\te.processhost.exe
    --- A detailed error log follows. 
    
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/
    LOG: Initial PrivatePath = NULL
    Calling assembly : ApiValidator.HLK, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    ===
    LOG: This bind starts in default load context.
    LOG: No application configuration file found.
    LOG: Using host configuration file: 
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
    LOG: Post-policy reference: Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator.DLL.
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator/Microsoft.Kits.Drivers.ApiValidator.DLL.
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator.EXE.
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator/Microsoft.Kits.Drivers.ApiValidator.EXE.
    

    Please assist.

    Tuesday, August 25, 2015 9:25 AM
  • Hello, we have the same problem. We downloaded the playlist, but unfortunately the test was not filtered out in our case.

    Full error description:

    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       at Microsoft.Hardware.Kits.Tests.ApiValidation.HLKApiValidation.ValidateGuardrailApi()
    
    Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    Running under executable  C:\hlk\JobsWorkingDir\Tasks\WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D\te.processhost.exe
    --- A detailed error log follows. 
    
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/
    LOG: Initial PrivatePath = NULL
    Calling assembly : ApiValidator.HLK, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    ===
    LOG: This bind starts in default load context.
    LOG: No application configuration file found.
    LOG: Using host configuration file: 
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
    LOG: Post-policy reference: Microsoft.Kits.Drivers.ApiValidator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator.DLL.
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator/Microsoft.Kits.Drivers.ApiValidator.DLL.
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator.EXE.
    LOG: Attempting download of new URL file:///C:/hlk/JobsWorkingDir/Tasks/WTTJobRun24572915-A24A-E511-80DB-8CDCD455247D/Microsoft.Kits.Drivers.ApiValidator/Microsoft.Kits.Drivers.ApiValidator.EXE.
    

    Please assist.


    Monday, November 16, 2015 5:36 AM