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
196196
197197 // Although the templates should incorporate this package already, it is often included with an out-dated version
198198 // 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 {
200202 packages . push ( { name : durableUtils . dotnetInProcDfBasePackage } ) ;
201203 }
202204
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export namespace durableUtils {
2323 export const dotnetInProcDTSPackage : string = 'Microsoft.Azure.WebJobs.Extensions.DurableTask.AzureManaged' ;
2424 export const dotnetIsolatedDTSPackage : string = 'Microsoft.Azure.Functions.Worker.Extensions.DurableTask.AzureManaged' ;
2525 export const dotnetInProcDfBasePackage : string = 'Microsoft.Azure.WebJobs.Extensions.DurableTask' ;
26+ export const dotnetIsolatedDfBasePackage : string = 'Microsoft.Azure.Functions.Worker.Extensions.DurableTask' ;
2627 export const nodeDfPackage : string = 'durable-functions' ;
2728 export const pythonDfPackage : string = 'azure-functions-durable' ;
2829
You can’t perform that action at this time.
0 commit comments