diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2312221..a8f7488 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
variables:
VERS_MAIN: '0.9'
NEW_REL: ''
+ APP_NAME: ''
# helper x fix pacchetti nuget da repo locale nexus.steamware.net
.nuget-fix: &nuget-fix
@@ -46,12 +47,12 @@ variables:
$File2Send = Get-ChildItem("$env:APP_NAME\Releases\" + $CI_COMMIT_BRANCH + "\*")
ForEach ($File in $File2Send) {
$FileName = Split-Path $File -leaf
- mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/$FileName
- mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/ARCHIVE/$VersNumb/$FileName
- echo "mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/$FileName"
+ mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:APP_NAME/$version/LAST/$FileName
+ mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:APP_NAME/$version/ARCHIVE/$VersNumb/$FileName
+ echo "mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:APP_NAME/$version/LAST/$FileName"
}
- mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\manifest.xml" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/manifest.xml
- mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\ChangeLog.html" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/ChangeLog.html
+ mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\manifest.xml" https://nexus.steamware.net/repository/SWS/$env:APP_NAME/$version/LAST/manifest.xml
+ mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\ChangeLog.html" https://nexus.steamware.net/repository/SWS/$env:APP_NAME/$version/LAST/ChangeLog.html
# helper creazione files zip
.zipper: &zipper
@@ -74,57 +75,67 @@ stages:
UI:build:
- stage: build
- tags:
+ stage: build
+ tags:
- win
- before_script:
- - *nuget-fix
- - dotnet restore MP.MONO.ALL.sln
- script:
- - dotnet build MP.MONO.UI/MP.MONO.UI.csproj
+ variables:
+ APP_NAME: MP.MONO.UI
+ before_script:
+ - *nuget-fix
+ - dotnet restore MP.MONO.ALL.sln
+ script:
+ - dotnet build $env:APP_NAME/$env:APP_NAME.csproj
SIM:build:
stage: build
tags:
- win
+ variables:
+ APP_NAME: MP.MONO.SIM
before_script:
- *nuget-fix
- dotnet restore MP.MONO.ALL.sln
script:
- - dotnet build MP.MONO.SIM/MP.MONO.SIM.csproj
+ - dotnet build $env:APP_NAME/$env:APP_NAME.csproj
DECODER:build:
stage: build
tags:
- win
+ variables:
+ APP_NAME: MP.MONO.DECODER
before_script:
- *nuget-fix
- dotnet restore MP.MONO.ALL.sln
script:
- - dotnet build MP.MONO.DECODER/MP.MONO.DECODER.csproj
+ - dotnet build $env:APP_NAME/$env:APP_NAME.csproj
UI:staging:
- stage: staging
- tags:
- - win
- only:
- - develop
- needs: ["UI:build"]
- script:
- - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.MONO.UI/MP.MONO.UI.csproj
+ stage: staging
+ tags:
+ - win
+ variables:
+ APP_NAME: MP.MONO.UI
+ only:
+ - develop
+ needs: ["UI:build"]
+ script:
+ - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
UI:deploy:
- stage: deploy
- tags:
- - win
- only:
- - main
- needs: ["UI:build"]
- script:
- # IIS 02
- - dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.MONO.UI/MP.MONO.UI.csproj
- # IIS DEV
- - dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.MONO.UI/MP.MONO.UI.csproj
+ stage: deploy
+ tags:
+ - win
+ variables:
+ APP_NAME: MP.MONO.UI
+ only:
+ - main
+ needs: ["UI:build"]
+ script:
+ # IIS 02
+ - dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
+ # IIS DEV
+ - dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
SIM:release:
stage: release
@@ -136,8 +147,7 @@ SIM:release:
APP_NAME: MP.MONO.SIM
needs: ["SIM:build"]
script:
- # - dotnet build MP.MONO.SIM/MP.MONO.SIM.csproj
- - dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release MP.MONO.SIM/MP.MONO.SIM.csproj
+ - dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj
- *zipper
- *hashBuild
- *nexusUpload
@@ -152,8 +162,7 @@ DECODER:release:
APP_NAME: MP.MONO.DECODER
needs: ["DECODER:build"]
script:
- # - dotnet build MP.MONO.DECODER/MP.MONO.DECODER.csproj
- - dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release MP.MONO.DECODER/MP.MONO.DECODER.csproj
+ - dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj
- *zipper
- *hashBuild
- *nexusUpload
@@ -171,5 +180,5 @@ DECODER:release:
# paths:
# - publish/
# script:
-# - dotnet publish -c Release -o ./publish MP.MONO.UI/MP.MONO.UI.csproj
+# - dotnet publish -c Release -o ./publish $env:APP_NAME/$env:APP_NAME.csproj
\ No newline at end of file
diff --git a/MP.MONO.ADAPTER/MP.MONO.ADAPTER.csproj b/MP.MONO.ADAPTER/MP.MONO.ADAPTER.csproj
index d318c2f..c00ab90 100644
--- a/MP.MONO.ADAPTER/MP.MONO.ADAPTER.csproj
+++ b/MP.MONO.ADAPTER/MP.MONO.ADAPTER.csproj
@@ -48,5 +48,7 @@
Always
-
+
+
+
diff --git a/Resources/ChangeLog-original.html b/MP.MONO.ADAPTER/Resources/ChangeLog-original.html
similarity index 94%
rename from Resources/ChangeLog-original.html
rename to MP.MONO.ADAPTER/Resources/ChangeLog-original.html
index a523da2..3cf89dd 100644
--- a/Resources/ChangeLog-original.html
+++ b/MP.MONO.ADAPTER/Resources/ChangeLog-original.html
@@ -8,7 +8,7 @@
- v.6.* →
+ v.1.0.* →
- Current CORE version
- Release dotnet6
diff --git a/Resources/ChangeLog.html b/MP.MONO.ADAPTER/Resources/ChangeLog.html
similarity index 100%
rename from Resources/ChangeLog.html
rename to MP.MONO.ADAPTER/Resources/ChangeLog.html
diff --git a/Resources/VersNum.txt b/MP.MONO.ADAPTER/Resources/VersNum.txt
similarity index 100%
rename from Resources/VersNum.txt
rename to MP.MONO.ADAPTER/Resources/VersNum.txt
diff --git a/Resources/logoSteamware.png b/MP.MONO.ADAPTER/Resources/logoSteamware.png
similarity index 100%
rename from Resources/logoSteamware.png
rename to MP.MONO.ADAPTER/Resources/logoSteamware.png
diff --git a/Resources/manifest-original.xml b/MP.MONO.ADAPTER/Resources/manifest-original.xml
similarity index 100%
rename from Resources/manifest-original.xml
rename to MP.MONO.ADAPTER/Resources/manifest-original.xml
diff --git a/Resources/manifest.xml b/MP.MONO.ADAPTER/Resources/manifest.xml
similarity index 100%
rename from Resources/manifest.xml
rename to MP.MONO.ADAPTER/Resources/manifest.xml
diff --git a/MP.MONO.ADAPTER/post-build.ps1 b/MP.MONO.ADAPTER/post-build.ps1
new file mode 100644
index 0000000..d89d097
--- /dev/null
+++ b/MP.MONO.ADAPTER/post-build.ps1
@@ -0,0 +1,32 @@
+param([string]$ProjectDir, [string]$ProjectPath);
+
+$FileMajMin = "..\MajMin.vers"
+$FileVers = "Resources\VersNum.txt"
+$FileManIn = "Resources\manifest-original.xml"
+$FileManOut = "Resources\manifest.xml"
+$FileCLogIn = "Resources\ChangeLog-original.html"
+$FileCLogOut = "Resources\ChangeLog.html"
+$MajMin = Get-Content $FileMajMin
+$currentDate = get-date -format yyMM;
+$currentTime = get-date -format dHH;
+$find = "(.|\n)*?";
+$currRelNum = $MajMin + $currentDate +"." + $currentTime
+$replace = "" + $MajMin + $currentDate +"." + $currentTime + "";
+$csproj = Get-Content $ProjectPath
+$csprojUpdated = $csproj -replace $find, $replace
+
+Set-Content -Path $ProjectPath -Value $csprojUpdated
+Set-Content -Path $FileVers -Value $currRelNum
+
+# replace x manifest
+$manData = Get-Content $FileManIn
+$manData = $manData -replace "1.0.0.0", $currRelNum
+$manData = $manData -replace "{{DIRNAME}}", "MP.MONO.ADAPTER"
+$manData = $manData -replace "{{BRANCHNAME}}", "stable/LAST"
+$manData = $manData -replace "{{PACKNAME}}", "MP.Mon"
+Set-Content -Path $FileManOut -Value $manData
+
+# replace x ChangeLog
+$clogData = Get-Content $FileCLogIn
+$clogData = $clogData -replace "{{CURRENT-REL}}", $currRelNum
+Set-Content -Path $FileCLogOut -Value $clogData
diff --git a/MP.MONO.ALL.sln b/MP.MONO.ALL.sln
index 81549ad..3a89628 100644
--- a/MP.MONO.ALL.sln
+++ b/MP.MONO.ALL.sln
@@ -17,16 +17,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MP.MONO.ANALYZER", "MP.MONO
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MP.MONO.ADAPTER", "MP.MONO.ADAPTER\MP.MONO.ADAPTER.csproj", "{873736BA-CDB6-4CE5-A340-6D904C11C07C}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Resources", "Resources", "{78533B62-E69F-4A5F-974A-D370FDCB5CF5}"
- ProjectSection(SolutionItems) = preProject
- Resources\ChangeLog-original.html = Resources\ChangeLog-original.html
- Resources\ChangeLog.html = Resources\ChangeLog.html
- Resources\logoSteamware.png = Resources\logoSteamware.png
- Resources\manifest-original.xml = Resources\manifest-original.xml
- Resources\manifest.xml = Resources\manifest.xml
- Resources\VersNum.txt = Resources\VersNum.txt
- EndProjectSection
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
diff --git a/MP.MONO.DECODER/MP.MONO.DECODER.csproj b/MP.MONO.DECODER/MP.MONO.DECODER.csproj
index 38c1ccd..5fd5c84 100644
--- a/MP.MONO.DECODER/MP.MONO.DECODER.csproj
+++ b/MP.MONO.DECODER/MP.MONO.DECODER.csproj
@@ -66,5 +66,7 @@
Always
-
+
+
+
diff --git a/MP.MONO.DECODER/Resources/ChangeLog-original.html b/MP.MONO.DECODER/Resources/ChangeLog-original.html
new file mode 100644
index 0000000..3cf89dd
--- /dev/null
+++ b/MP.MONO.DECODER/Resources/ChangeLog-original.html
@@ -0,0 +1,26 @@
+
+ MAPO-MONO
+ Version: {{CURRENT-REL}}
+
Release Note:
+
+ -
+ Last changes:
+
+
+ -
+ v.1.0.* →
+
+ - Current CORE version
+ - Release dotnet6
+
+
+
+
+
+

+
+
+
+
\ No newline at end of file
diff --git a/MP.MONO.DECODER/Resources/ChangeLog.html b/MP.MONO.DECODER/Resources/ChangeLog.html
new file mode 100644
index 0000000..e64278e
--- /dev/null
+++ b/MP.MONO.DECODER/Resources/ChangeLog.html
@@ -0,0 +1,27 @@
+
+ GPW - Gestione Presenze Web
+ Versione: 3.0.2201.2614
+
Note di rilascio:
+
+ -
+ Ultime modifiche:
+
+
+ -
+ v.3.* →
+
+ - Versione CORE per UI commesse
+ - Release dotnet6
+ - Integrazione EFCore
+
+
+
+
+
+

+
+
+
+
diff --git a/MP.MONO.DECODER/Resources/VersNum.txt b/MP.MONO.DECODER/Resources/VersNum.txt
new file mode 100644
index 0000000..95b5616
--- /dev/null
+++ b/MP.MONO.DECODER/Resources/VersNum.txt
@@ -0,0 +1 @@
+3.0.2201.2614
diff --git a/MP.MONO.DECODER/Resources/logoSteamware.png b/MP.MONO.DECODER/Resources/logoSteamware.png
new file mode 100644
index 0000000..0958b50
Binary files /dev/null and b/MP.MONO.DECODER/Resources/logoSteamware.png differ
diff --git a/MP.MONO.DECODER/Resources/manifest-original.xml b/MP.MONO.DECODER/Resources/manifest-original.xml
new file mode 100644
index 0000000..a9269ca
--- /dev/null
+++ b/MP.MONO.DECODER/Resources/manifest-original.xml
@@ -0,0 +1,7 @@
+
+-
+ 1.0.0.0
+ http://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/{{PACKNAME}}.zip
+ http://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/ChangeLog.html
+ false
+
diff --git a/MP.MONO.DECODER/Resources/manifest.xml b/MP.MONO.DECODER/Resources/manifest.xml
new file mode 100644
index 0000000..81edf87
--- /dev/null
+++ b/MP.MONO.DECODER/Resources/manifest.xml
@@ -0,0 +1,7 @@
+
+-
+ 3.0.2201.2614
+ http://nexus.steamware.net/repository/SWS/MAPO-MONO/stable/0/MAPO-MONO.UI.zip
+ http://nexus.steamware.net/repository/SWS/MAPO-MONO/stable/0/ChangeLog.html
+ false
+
diff --git a/MP.MONO.DECODER/post-build.ps1 b/MP.MONO.DECODER/post-build.ps1
new file mode 100644
index 0000000..c68c59e
--- /dev/null
+++ b/MP.MONO.DECODER/post-build.ps1
@@ -0,0 +1,32 @@
+param([string]$ProjectDir, [string]$ProjectPath);
+
+$FileMajMin = "..\MajMin.vers"
+$FileVers = "Resources\VersNum.txt"
+$FileManIn = "Resources\manifest-original.xml"
+$FileManOut = "Resources\manifest.xml"
+$FileCLogIn = "Resources\ChangeLog-original.html"
+$FileCLogOut = "Resources\ChangeLog.html"
+$MajMin = Get-Content $FileMajMin
+$currentDate = get-date -format yyMM;
+$currentTime = get-date -format dHH;
+$find = "(.|\n)*?";
+$currRelNum = $MajMin + $currentDate +"." + $currentTime
+$replace = "" + $MajMin + $currentDate +"." + $currentTime + "";
+$csproj = Get-Content $ProjectPath
+$csprojUpdated = $csproj -replace $find, $replace
+
+Set-Content -Path $ProjectPath -Value $csprojUpdated
+Set-Content -Path $FileVers -Value $currRelNum
+
+# replace x manifest
+$manData = Get-Content $FileManIn
+$manData = $manData -replace "1.0.0.0", $currRelNum
+$manData = $manData -replace "{{DIRNAME}}", "MP.MONO.DECODER"
+$manData = $manData -replace "{{BRANCHNAME}}", "stable/LAST"
+$manData = $manData -replace "{{PACKNAME}}", "MP.Mon"
+Set-Content -Path $FileManOut -Value $manData
+
+# replace x ChangeLog
+$clogData = Get-Content $FileCLogIn
+$clogData = $clogData -replace "{{CURRENT-REL}}", $currRelNum
+Set-Content -Path $FileCLogOut -Value $clogData
diff --git a/MP.MONO.SIM/MP.MONO.SIM.csproj b/MP.MONO.SIM/MP.MONO.SIM.csproj
index f2a9910..2cfabeb 100644
--- a/MP.MONO.SIM/MP.MONO.SIM.csproj
+++ b/MP.MONO.SIM/MP.MONO.SIM.csproj
@@ -99,5 +99,7 @@
Always
-
+
+
+
diff --git a/MP.MONO.SIM/Resources/ChangeLog-original.html b/MP.MONO.SIM/Resources/ChangeLog-original.html
new file mode 100644
index 0000000..3cf89dd
--- /dev/null
+++ b/MP.MONO.SIM/Resources/ChangeLog-original.html
@@ -0,0 +1,26 @@
+
+ MAPO-MONO
+ Version: {{CURRENT-REL}}
+
Release Note:
+
+ -
+ Last changes:
+
+
+ -
+ v.1.0.* →
+
+ - Current CORE version
+ - Release dotnet6
+
+
+
+
+
+

+
+
+
+
\ No newline at end of file
diff --git a/MP.MONO.SIM/Resources/ChangeLog.html b/MP.MONO.SIM/Resources/ChangeLog.html
new file mode 100644
index 0000000..e64278e
--- /dev/null
+++ b/MP.MONO.SIM/Resources/ChangeLog.html
@@ -0,0 +1,27 @@
+
+ GPW - Gestione Presenze Web
+ Versione: 3.0.2201.2614
+
Note di rilascio:
+
+ -
+ Ultime modifiche:
+
+
+ -
+ v.3.* →
+
+ - Versione CORE per UI commesse
+ - Release dotnet6
+ - Integrazione EFCore
+
+
+
+
+
+

+
+
+
+
diff --git a/MP.MONO.SIM/Resources/VersNum.txt b/MP.MONO.SIM/Resources/VersNum.txt
new file mode 100644
index 0000000..95b5616
--- /dev/null
+++ b/MP.MONO.SIM/Resources/VersNum.txt
@@ -0,0 +1 @@
+3.0.2201.2614
diff --git a/MP.MONO.SIM/Resources/logoSteamware.png b/MP.MONO.SIM/Resources/logoSteamware.png
new file mode 100644
index 0000000..0958b50
Binary files /dev/null and b/MP.MONO.SIM/Resources/logoSteamware.png differ
diff --git a/MP.MONO.SIM/Resources/manifest-original.xml b/MP.MONO.SIM/Resources/manifest-original.xml
new file mode 100644
index 0000000..a9269ca
--- /dev/null
+++ b/MP.MONO.SIM/Resources/manifest-original.xml
@@ -0,0 +1,7 @@
+
+-
+ 1.0.0.0
+ http://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/{{PACKNAME}}.zip
+ http://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/ChangeLog.html
+ false
+
diff --git a/MP.MONO.SIM/Resources/manifest.xml b/MP.MONO.SIM/Resources/manifest.xml
new file mode 100644
index 0000000..81edf87
--- /dev/null
+++ b/MP.MONO.SIM/Resources/manifest.xml
@@ -0,0 +1,7 @@
+
+-
+ 3.0.2201.2614
+ http://nexus.steamware.net/repository/SWS/MAPO-MONO/stable/0/MAPO-MONO.UI.zip
+ http://nexus.steamware.net/repository/SWS/MAPO-MONO/stable/0/ChangeLog.html
+ false
+
diff --git a/MP.MONO.SIM/post-build.ps1 b/MP.MONO.SIM/post-build.ps1
new file mode 100644
index 0000000..9cdb729
--- /dev/null
+++ b/MP.MONO.SIM/post-build.ps1
@@ -0,0 +1,32 @@
+param([string]$ProjectDir, [string]$ProjectPath);
+
+$FileMajMin = "..\MajMin.vers"
+$FileVers = "Resources\VersNum.txt"
+$FileManIn = "Resources\manifest-original.xml"
+$FileManOut = "Resources\manifest.xml"
+$FileCLogIn = "Resources\ChangeLog-original.html"
+$FileCLogOut = "Resources\ChangeLog.html"
+$MajMin = Get-Content $FileMajMin
+$currentDate = get-date -format yyMM;
+$currentTime = get-date -format dHH;
+$find = "(.|\n)*?";
+$currRelNum = $MajMin + $currentDate +"." + $currentTime
+$replace = "" + $MajMin + $currentDate +"." + $currentTime + "";
+$csproj = Get-Content $ProjectPath
+$csprojUpdated = $csproj -replace $find, $replace
+
+Set-Content -Path $ProjectPath -Value $csprojUpdated
+Set-Content -Path $FileVers -Value $currRelNum
+
+# replace x manifest
+$manData = Get-Content $FileManIn
+$manData = $manData -replace "1.0.0.0", $currRelNum
+$manData = $manData -replace "{{DIRNAME}}", "MP.MONO.SIM"
+$manData = $manData -replace "{{BRANCHNAME}}", "stable/LAST"
+$manData = $manData -replace "{{PACKNAME}}", "MP.Mon"
+Set-Content -Path $FileManOut -Value $manData
+
+# replace x ChangeLog
+$clogData = Get-Content $FileCLogIn
+$clogData = $clogData -replace "{{CURRENT-REL}}", $currRelNum
+Set-Content -Path $FileCLogOut -Value $clogData
diff --git a/MP.MONO.UI/MP - Backup.MONO.UI.csproj b/MP.MONO.UI/MP - Backup.MONO.UI.csproj
deleted file mode 100644
index 6ab1ec6..0000000
--- a/MP.MONO.UI/MP - Backup.MONO.UI.csproj
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
- net6.0
- enable
- enable
-
-
-
-
-
-
-
- <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS01.pubxml" />
- <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS02.pubxml" />
- <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS03.pubxml" />
-
-
-
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
-
-
-
-
-
-
- Always
-
-
-
-
diff --git a/MP.MONO.UI/MP.MONO.UI.csproj b/MP.MONO.UI/MP.MONO.UI.csproj
index 365f423..91891a0 100644
--- a/MP.MONO.UI/MP.MONO.UI.csproj
+++ b/MP.MONO.UI/MP.MONO.UI.csproj
@@ -28,5 +28,7 @@
-
+
+
+
diff --git a/MP.MONO.UI/Resources/ChangeLog-original.html b/MP.MONO.UI/Resources/ChangeLog-original.html
new file mode 100644
index 0000000..3cf89dd
--- /dev/null
+++ b/MP.MONO.UI/Resources/ChangeLog-original.html
@@ -0,0 +1,26 @@
+
+ MAPO-MONO
+ Version: {{CURRENT-REL}}
+
Release Note:
+
+ -
+ Last changes:
+
+
+ -
+ v.1.0.* →
+
+ - Current CORE version
+ - Release dotnet6
+
+
+
+
+
+

+
+
+
+
\ No newline at end of file
diff --git a/MP.MONO.UI/Resources/ChangeLog.html b/MP.MONO.UI/Resources/ChangeLog.html
new file mode 100644
index 0000000..e64278e
--- /dev/null
+++ b/MP.MONO.UI/Resources/ChangeLog.html
@@ -0,0 +1,27 @@
+
+ GPW - Gestione Presenze Web
+ Versione: 3.0.2201.2614
+
Note di rilascio:
+
+ -
+ Ultime modifiche:
+
+
+ -
+ v.3.* →
+
+ - Versione CORE per UI commesse
+ - Release dotnet6
+ - Integrazione EFCore
+
+
+
+
+
+

+
+
+
+
diff --git a/MP.MONO.UI/Resources/VersNum.txt b/MP.MONO.UI/Resources/VersNum.txt
new file mode 100644
index 0000000..95b5616
--- /dev/null
+++ b/MP.MONO.UI/Resources/VersNum.txt
@@ -0,0 +1 @@
+3.0.2201.2614
diff --git a/MP.MONO.UI/Resources/logoSteamware.png b/MP.MONO.UI/Resources/logoSteamware.png
new file mode 100644
index 0000000..0958b50
Binary files /dev/null and b/MP.MONO.UI/Resources/logoSteamware.png differ
diff --git a/MP.MONO.UI/Resources/manifest-original.xml b/MP.MONO.UI/Resources/manifest-original.xml
new file mode 100644
index 0000000..a9269ca
--- /dev/null
+++ b/MP.MONO.UI/Resources/manifest-original.xml
@@ -0,0 +1,7 @@
+
+-
+ 1.0.0.0
+ http://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/{{PACKNAME}}.zip
+ http://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/ChangeLog.html
+ false
+
diff --git a/MP.MONO.UI/Resources/manifest.xml b/MP.MONO.UI/Resources/manifest.xml
new file mode 100644
index 0000000..81edf87
--- /dev/null
+++ b/MP.MONO.UI/Resources/manifest.xml
@@ -0,0 +1,7 @@
+
+-
+ 3.0.2201.2614
+ http://nexus.steamware.net/repository/SWS/MAPO-MONO/stable/0/MAPO-MONO.UI.zip
+ http://nexus.steamware.net/repository/SWS/MAPO-MONO/stable/0/ChangeLog.html
+ false
+
diff --git a/MP.MONO.UI/post-build.ps1 b/MP.MONO.UI/post-build.ps1
new file mode 100644
index 0000000..6b0c2b1
--- /dev/null
+++ b/MP.MONO.UI/post-build.ps1
@@ -0,0 +1,32 @@
+param([string]$ProjectDir, [string]$ProjectPath);
+
+$FileMajMin = "..\MajMin.vers"
+$FileVers = "Resources\VersNum.txt"
+$FileManIn = "Resources\manifest-original.xml"
+$FileManOut = "Resources\manifest.xml"
+$FileCLogIn = "Resources\ChangeLog-original.html"
+$FileCLogOut = "Resources\ChangeLog.html"
+$MajMin = Get-Content $FileMajMin
+$currentDate = get-date -format yyMM;
+$currentTime = get-date -format dHH;
+$find = "(.|\n)*?";
+$currRelNum = $MajMin + $currentDate +"." + $currentTime
+$replace = "" + $MajMin + $currentDate +"." + $currentTime + "";
+$csproj = Get-Content $ProjectPath
+$csprojUpdated = $csproj -replace $find, $replace
+
+Set-Content -Path $ProjectPath -Value $csprojUpdated
+Set-Content -Path $FileVers -Value $currRelNum
+
+# replace x manifest
+$manData = Get-Content $FileManIn
+$manData = $manData -replace "1.0.0.0", $currRelNum
+$manData = $manData -replace "{{DIRNAME}}", "MP.MONO.UI"
+$manData = $manData -replace "{{BRANCHNAME}}", "stable/LAST"
+$manData = $manData -replace "{{PACKNAME}}", "MP.Mon"
+Set-Content -Path $FileManOut -Value $manData
+
+# replace x ChangeLog
+$clogData = Get-Content $FileCLogIn
+$clogData = $clogData -replace "{{CURRENT-REL}}", $currRelNum
+Set-Content -Path $FileCLogOut -Value $clogData
diff --git a/MajMin.vers b/MajMin.vers
new file mode 100644
index 0000000..b123147
--- /dev/null
+++ b/MajMin.vers
@@ -0,0 +1 @@
+1.1
\ No newline at end of file