param([string]$ProjectDir, [string]$ProjectPath);
$MajMin="1.0."
$currentDate = get-date -format yyMM;
$currentTime = get-date -format HHmm;
$find = "(.|\n)*?";
$replace = "" + $MajMin + $currentDate +"." + $currentTime + "";
$csproj = Get-Content $ProjectPath
$csprojUpdated = $csproj -replace $find, $replace
Set-Content -Path $ProjectPath -Value $csprojUpdated