Skip to content

Block type update in Add-Type cmdlet #4301

@iSazonov

Description

@iSazonov

Issue Details

After merging PowerShell/PowerShell#9609 Add-Type do not allow compile a type if a type with the same name already exists.

See also PowerShell/PowerShell#10587 -
Make change in Add-Type to look for the ref folder at the folder where EntryAssembly is located. In case of pwsh, it's the folder that contains pwsh.dll.

Version(s) of document impacted

  • Impacts 6.next document
  • Impacts 6 document
  • Impacts 5.1 document
  • Impacts 5.0 document
  • Impacts 4.0 document
  • Impacts 3.0 document

Reason(s) for not selecting all version of documents

  • The documented feature was introduced in selected version of PowerShell
  • This issue only shows up in selected version of the document

Metadata

Metadata

Assignees

Labels

Pri1Priority - Higharea-release-notesArea - Release notesarea-utilityArea - Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions