diff --git a/Egw.Window.Data/Egw.Window.Data.csproj b/Egw.Window.Data/Egw.Window.Data.csproj index 49b2943..658d035 100644 --- a/Egw.Window.Data/Egw.Window.Data.csproj +++ b/Egw.Window.Data/Egw.Window.Data.csproj @@ -1,11 +1,14 @@ - + netstandard2.0 - 2.7.9.2909 + 2.7.10.0212 Annamaria Sassi Egalware Classi di base per gestione sistemi Window x Egw.* + + + diff --git a/Egw.Window.Data/post-build.ps1 b/Egw.Window.Data/post-build.ps1 new file mode 100644 index 0000000..9eee7f5 --- /dev/null +++ b/Egw.Window.Data/post-build.ps1 @@ -0,0 +1,15 @@ +param([string]$ProjectDir, [string]$ProjectPath); + + +$MajMin="2.7." +$currentDate = get-date -format MM; +$currentTime = get-date -format ddHH; +$find = "(.|\n)*?"; +$currRelNum=$MajMin + $currentDate + "." + $currentTime +$replace = "" + $currRelNum + ""; +$csproj = Get-Content $ProjectPath +$csprojUpdated = $csproj -replace $find, $replace + +Write-Output "Update csproj | $currRelNum" + +Set-Content -Path $ProjectPath -Value $csprojUpdated \ No newline at end of file