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

VhdFileDirectory - improvements and fixes to Content files #179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 7, 2020

  1. 1. Added ContentEncoding property to properly support Content files (…

    …otherwise they are always written as Unicode) which corrupts some content types like UTF-8 XMLs.
    
    2. Content files are not tested with ItemHasChanged (this didn't work anyway).
    3. Fixed GetItemToCopy where an undefined DefaultValues array was used instead of DesiredProperties, resulting in a dead code, impacting properties like Force.
    4. After dsccommunity#3 is fixed and the code is finally execuded, it would crash if a file is a Content (without SourcePath).
    5. In SetVHDFile , Copy-Item's ErrorAction is set to Stop. Otherwise, the resource would simply ignore all errors and produce invalid configuration.
    Dmitry Mashkov committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    02901aa View commit details
    Browse the repository at this point in the history