You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Instructions for Upgrading the PowerShell Language Worker to a New PowerShell SDK Minor Version (7.6+)
2
+
Once a new PowerShell SDK version is released on [GiHub](https://github.com/PowerShell/PowerShell/releases), follow these steps to upgrade the PowerShell SDK reference used by the language worker:
3
+
4
+
- Update the solution targets as needed for whatever .NET version is targeted by the new PowerShell
5
+
- Follow instructions in upgrade_ps_sdk_instructions.md to update loosely linked dependencies in project files
6
+
- Update the Managed Dependency shutoff date in src/DependencyManagement/WorkerEnvironment.cs
/// Determines whether the function app should enable automatic upgrades for managed dependencies
135
+
/// </summary>
136
+
/// <returns>
137
+
/// True if Managed Dependencies should be upgraded (SDK is not past it's deprecation date OR user has configured this behavior via MDEnableAutomaticUpgrades env var
138
+
/// False if Managed Dependencies should not be upgraded
<value>Unable to initialize orchestrator function due to presence of other bindings. Total number of bindings found is '{0}'. Orchestrator Functions should never use any input or output bindings other than the orchestration trigger itself. See: aka.ms/df-bindings</value>
<value>Automatic upgrades are disabled in PowerShell 7.2 function apps. This warning should not be emitted until PowerShell 7.2's End of Life date. For more information, please see https://azure.microsoft.com/en-us/updates/v2/powershell72-azure-functions-retirement</value>
0 commit comments