title: .net Core parse csproj file to object
body: <p>The problem- We can parse a csproj file in some ways, but most of the information is not in the file, but is either by default or affected by other properties.</p>
  
  <p>I want to work against csproj files and solution- get project dependencies, get properties and items (things like 'TargetFramework', compiled files..)</p>
  
  <p>The TargetFramework can be a tag with value, or 'TargetFramework<strong>s</strong>' tag with multi-values that parsed to 'TargetFramework'.</p>
  
  <p>The old solution- MSBuild provide a <a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.build.evaluation.project" rel="nofollow noreferrer">microsoft.build.evaluation library</a> to work with csproj file, but this library compiled to net471, and cause errors when we use it in netcoreapp.</p>
  
  <p>What will be the solution for the <strong>problem</strong>, in .net core projects?</p>