title: TFS 2017 Build Definition with .NET 4.6 and ASP.NET Core
body: <p>I'm trying to create a build definition in TFS for a solution with both Windows client .NET 4.6 libraries and an ASP.NET Core web project.  Currently when I try to run the NuGet Restore portion of the build I get the following error message.</p>
  
  <blockquote>
    <p>WebApplication.csproj(1,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the  element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.</p>
  </blockquote>
  
  <p>The error occurs when trying to restore the NuGet packages on the ASP.NET Core project.</p>
  
  <p>Everything builds fine on my local development environment, its just the build definition that isn't working.</p>
  
  <p><a href="https://i.stack.imgur.com/5yT2O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5yT2O.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/MkxYs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MkxYs.png" alt="enter image description here"></a></p>