Skip to content

Instantly share code, notes, and snippets.

@wcoder
Created June 9, 2021 21:43
Show Gist options
  • Save wcoder/2a06d302548ecba6c9f4ff7fa76ecca2 to your computer and use it in GitHub Desktop.
Save wcoder/2a06d302548ecba6c9f4ff7fa76ecca2 to your computer and use it in GitHub Desktop.
Replace .csproj old project reference format to new one.
  1. open text editor (with ability to replace text via regex)
  2. open target .csproj file
  3. start find and replace: (csproj")>\n(.*)Project>\n(.*)Name>\n(.*)ProjectReference>
  4. to $1 />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment