Skip to content

Ensure durable base package for dotnet isolated is updated to latest #4645

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ export class DurableProjectConfigureStep<T extends IFunctionWizardContext> exten

// Although the templates should incorporate this package already, it is often included with an out-dated version
// which can lead to errors on first run. To improve this experience for our users, ensure that the latest version is used.
if (!isDotnetIsolated) {
if (isDotnetIsolated) {
packages.push({ name: durableUtils.dotnetIsolatedBasePackage });
} else {
packages.push({ name: durableUtils.dotnetInProcDfBasePackage });
}

Expand Down
1 change: 1 addition & 0 deletions src/utils/durableUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export namespace durableUtils {
export const dotnetInProcDTSPackage: string = 'Microsoft.Azure.WebJobs.Extensions.DurableTask.AzureManaged';
export const dotnetIsolatedDTSPackage: string = 'Microsoft.Azure.Functions.Worker.Extensions.DurableTask.AzureManaged';
export const dotnetInProcDfBasePackage: string = 'Microsoft.Azure.WebJobs.Extensions.DurableTask';
export const dotnetIsolatedBasePackage: string = 'Microsoft.Azure.Functions.Worker.Extensions.DurableTask';
export const nodeDfPackage: string = 'durable-functions';
export const pythonDfPackage: string = 'azure-functions-durable';

Expand Down