Created
February 8, 2021 18:35
-
-
Save mpfund/aaaa8a6b2ee2c12d7b59de3284bdced7 to your computer and use it in GitHub Desktop.
find VisualStudio projectfile not containing AppendTargetFramworkToOutputPath
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment