-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Remove #requires -pssnapin
#19320
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
Remove #requires -pssnapin
#19320
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -753,14 +753,6 @@ public class ScriptRequirements | |
| /// </summary> | ||
| public ReadOnlyCollection<ModuleSpecification> RequiredModules { get; internal set; } | ||
|
|
||
| /// <summary> | ||
| /// The snapins this script requires, specified like: | ||
| /// <code>#requires -PSSnapin Snapin</code> | ||
| /// <code>#requires -PSSnapin Snapin -Version 2</code> | ||
| /// If no snapins are required, this property is an empty collection. | ||
| /// </summary> | ||
| public ReadOnlyCollection<PSSnapInSpecification> RequiresPSSnapIns { get; internal set; } | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a public API, so removing it is a breaking change. Would it be acceptable?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't find anything on GitHub using So I think it's OK to make this breaking change |
||
|
|
||
| /// <summary> | ||
| /// The assemblies this script requires, specified like: | ||
| /// <code>#requires -Assembly path\to\foo.dll</code> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.