Last active
January 16, 2020 22:57
-
-
Save Wind010/6951b9fb30b1beaf1d1beac1de2a1abb to your computer and use it in GitHub Desktop.
Bash script to update all .csproj to .NET 3.1. Relevant to API and Test projects. Exclude libraries that are targeting .NET Standard
This file contains 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
find . -name "*.csproj" -exec sed -b -i "s,<TargetFramework>[^<]*</TargetFramework>,<TargetFramework>netcoreapp3.1</TargetFramework>," {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment