File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,7 +321,9 @@ public static async Task UpdateForId(string packageId)
321321 uninstallOp . OperationSucceeded += ( _ , _ ) => TelemetryHandler . UninstallPackage ( package , TEL_OP_RESULT . SUCCESS ) ;
322322 uninstallOp . OperationFailed += ( _ , _ ) => TelemetryHandler . UninstallPackage ( package , TEL_OP_RESULT . FAILED ) ;
323323
324- var installOp = new UpdatePackageOperation ( package , options , req : uninstallOp ) ;
324+ options . Version = package . NewVersionString ;
325+ options . OverridesNextLevelOpts = true ;
326+ var installOp = new InstallPackageOperation ( package , options , req : uninstallOp ) ;
325327 installOp . OperationSucceeded += ( _ , _ ) => TelemetryHandler . UpdatePackage ( package , TEL_OP_RESULT . SUCCESS ) ;
326328 installOp . OperationFailed += ( _ , _ ) => TelemetryHandler . UpdatePackage ( package , TEL_OP_RESULT . FAILED ) ;
327329
You can’t perform that action at this time.
0 commit comments