<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <UsingTask AssemblyFile="$(BuildToolsTaskDir)Microsoft.DotNet.Build.Tasks.dll" TaskName="GitPush" />
  
  <Target Name="GitPush">
    <GitPush
      Condition="'$(RemoteUri)'!=''"
      RepositoryRoot="$(ProjectDir)"      
      RemoteUri="$(RemoteUri)"
      RemoteUsername="$(RemoteUsername)"
      RemotePassword="$(RemotePassword)"
       />
  </Target>
 
</Project>