What is the purpose of VSTS dot net core build task version 2 purpose
What is the difference between the version one?
Solution
.NET Core BUild task (dotnet build) only build the specified project and it's dependencies. It not provide converting .ts to .js and js.map (you can refer TypeScript).
More detail about dotnet build, you can refer dotnet-build.