Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STATUS_VHD_INVALID_STATE handling on getting volume information #54

Merged
merged 2 commits into from
Nov 4, 2024

Commits on Nov 4, 2024

  1. Add STATUS_VHD_INVALID_STATE handling on getting volume information

    Fix for stack trace of:
    
    ```
    System.TypeInitializationException: The type initializer for 'Microsoft.Build.Artifacts.FileSystem' threw an exception. ---> System.ComponentModel.Win32Exception: rFailed retrieving volume information fo \\?\Volume{guid}\\ with winerror -1069940708
       at Microsoft.CopyOnWrite.Windows.NativeMethods.ThrowSpecificIoException(Int32 lastErr, String message) in D:\CoW\lib\Windows\NativeMethods.cs:line 30
       at Microsoft.CopyOnWrite.Windows.VolumeInfoCache.GetVolumeInfo(VolumePaths volumePaths) in D:\CoW\lib\Windows\VolumeInfoCache.cs:line 161
    ```
    stan-sz committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3bf58c6 View commit details
    Browse the repository at this point in the history
  2. Handle ERROR_NO_SUCH_DEVICE

    stan-sz committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    84fa98a View commit details
    Browse the repository at this point in the history