File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
commands/createFunction/durableSteps Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,9 @@ export class DurableProjectConfigureStep<T extends IFunctionWizardContext> exten
196
196
197
197
// Although the templates should incorporate this package already, it is often included with an out-dated version
198
198
// which can lead to errors on first run. To improve this experience for our users, ensure that the latest version is used.
199
- if ( ! isDotnetIsolated ) {
199
+ if ( isDotnetIsolated ) {
200
+ packages . push ( { name : durableUtils . dotnetIsolatedDfBasePackage } ) ;
201
+ } else {
200
202
packages . push ( { name : durableUtils . dotnetInProcDfBasePackage } ) ;
201
203
}
202
204
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export namespace durableUtils {
23
23
export const dotnetInProcDTSPackage : string = 'Microsoft.Azure.WebJobs.Extensions.DurableTask.AzureManaged' ;
24
24
export const dotnetIsolatedDTSPackage : string = 'Microsoft.Azure.Functions.Worker.Extensions.DurableTask.AzureManaged' ;
25
25
export const dotnetInProcDfBasePackage : string = 'Microsoft.Azure.WebJobs.Extensions.DurableTask' ;
26
+ export const dotnetIsolatedDfBasePackage : string = 'Microsoft.Azure.Functions.Worker.Extensions.DurableTask' ;
26
27
export const nodeDfPackage : string = 'durable-functions' ;
27
28
export const pythonDfPackage : string = 'azure-functions-durable' ;
28
29
You can’t perform that action at this time.
0 commit comments