title: InvalidProjectFileException loading Microsoft.Build.Evaluation.Project
body: <p>I am attempting to load a Windows UWP project using the <code>Microsoft.Build.Evaluation.Project</code> class using the following code:</p>
  
  <pre><code>Project coreVisualStudioProject = new Project(fileName);
  </code></pre>
  
  <p>The UWP project was created through Visual Studio by selecting File->New->Project..., selecting the Blank App (Universal windows), and clicking the OK button to create the app.</p>
  
  <p>For reference, I have included the entire .csproj here:</p>
  
  <p><a href="http://pastebin.com/jyFXdzTr" rel="nofollow">http://pastebin.com/jyFXdzTr</a></p>
  
  <p>The constructor throws the following exception:</p>
  
  <pre><code>Microsoft.Build.Exceptions.InvalidProjectFileException: A numeric comparison was attempted on "$(TargetPlatformMinVersion)" that evaluates to "10.0.10240.0" instead of a number, in condition "'$(TargetPlatformIdentifier)' == 'UAP' And '$(TargetPlatformMinVersion)' != '' And '$(TargetPlatformMinVersion)' &gt; '10.0.10587.0'".  C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\Microsoft.Windows.UI.Xaml.Common.targets
  </code></pre>
  
  <p>Has anyone experienced this problem before? I'm a little lost where to go from here given it's a standard UWP project, and a basic Project constructor call.</p>