# New vs project cspoj file format appends .net framework version to output folder # https://stackoverflow.com/questions/43602782/how-do-i-set-outputpath-in-a-visual-studio-2017-project-new-csproj-file-form # Search for all projectfiles containing net472 and not AppendTargetFrameworkToOuputPath Get-ChildItem -Recurse *.csproj | where { ($_ | Select-String net472) -and -not ($_ | Select-String AppendTargetFrameworkToOutputPath) }