Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Logan Laughlin
Added: Feb 5, 2020 5:15 PM
Modified: Feb 19, 2020 10:17 PM
Views: 5
  1. <Reference Include="(.*?), Version=(.*?),(.*\n)*?\s+</Reference>
  2.  
  3. <PackageReference Include="$1" Version="$2" />
  4.  
  5. -- Convert packages.config to PackageReference nodes
  6. <package id="(.*?)" version="(.*?)".*
  7.  
  8. <PackageReference Include="$1" Version="$2" />