Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save yauhenipakala/2a06d302548ecba6c9f4ff7fa76ecca2 to your computer and use it in GitHub Desktop.

Select an option

Save yauhenipakala/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