Skip to content

Namespace error #397

@christopherbates

Description

@christopherbates

I keep running into the following error when trying to import the modules:

PS C:\Users\chbates\Repos\windows-imaging-tools> Import-Module .\WinImageBuilder.psm1
Add-Type: C:\Users\chbates\Repos\windows-imaging-tools\Interop.ps1:1353
Line |
1353 |      Add-Type -TypeDefinition $code -ReferencedAssemblies "System.Xml" …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | (15,19): error CS0234: The type or namespace name 'RegularExpressions' does not exist in the namespace 'System.Text' (are you missing an assembly reference?) using System.Text.RegularExpressions;
     | ^
Import-Module: The specified module '.\WinImageBuilder.psm1' was not loaded because no valid module file was found in any module directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions