Azure / azure-documentdb-datamigrationtool

Azure DocumentDB Data Migration Tool
MIT License
388 stars 182 forks source link

Create PowerShell script to automate project upgrade #157

Closed codingbandit closed 2 years ago

codingbandit commented 2 years ago

Create a PowerShell script that will leverage .NET upgrade-assistant to upgrade all projects to .Net 6 (non-interactive)

seesharprun commented 2 years ago

I'm testing this script locally:

Get-ChildItem -include *.csproj -Recurse | `
    ForEach-Object -Process `
        { Write-Host "Processing: " $_.FullName } `
        { upgrade-assistant upgrade $_.FullName --skip-backup --non-interactive }