Update Azure pipelines to check packages.lock.json every time
It might not be needed in Azure Pipelines but on local machine, it seems to be necessary. Otherwise, packages.lock.json files are not checked correctly
MODIFY
azure-pipelines-linux.yml
azure-pipelines-linux.yml
@@ -17,7 +17,7 @@ jobs:
displayName: 'Restore'
inputs:
command: 'restore'
- restoreArguments: '--locked-mode'
+ restoreArguments: '--force --locked-mode'
feedsToUse: 'config'
nugetConfigPath: 'NuGet.Config'
- task: DotNetCoreCLI@2

MODIFY
azure-pipelines-osx.yml
azure-pipelines-osx.yml
@@ -17,7 +17,7 @@ jobs:
displayName: 'Restore'
inputs:
command: 'restore'
- restoreArguments: '--locked-mode'
+ restoreArguments: '--force --locked-mode'
feedsToUse: 'config'
nugetConfigPath: 'NuGet.Config'
- task: DotNetCoreCLI@2

MODIFY
azure-pipelines-windows.yml
azure-pipelines-windows.yml
@@ -17,7 +17,7 @@ jobs:
displayName: 'Restore'
inputs:
command: 'restore'
- restoreArguments: '--locked-mode'
+ restoreArguments: '--force --locked-mode'
feedsToUse: 'config'
nugetConfigPath: 'NuGet.Config'
- task: DotNetCoreCLI@2

Update Azure pipelines to check packages.lock.json every time

It might not be needed in Azure Pipelines but on local machine, it seems to be necessary. Otherwise, packages.lock.json files are not checked correctly