Skip to content

Instantly share code, notes, and snippets.

@dstockhammer
Created July 7, 2017 11:06
Show Gist options
  • Save dstockhammer/4184be719de4fcbc61ceebdd83f24cab to your computer and use it in GitHub Desktop.
Save dstockhammer/4184be719de4fcbc61ceebdd83f24cab to your computer and use it in GitHub Desktop.
packages.config to .csproj (Notepad++ RegEx)
  • Find what: <package id="(.*)" version="(.*)" targetFramework=".*"[ ]?\/>
  • Replace with: <PackageReference Include="$1" Version="$2" \/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment