diff --git a/.gitignore b/.gitignore
index c49e58b4..9d0589af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -696,3 +696,6 @@ $RECYCLE.BIN/
# Generate with SlnGen
*.sln
+
+# Artifacts folder
+/artifacts
diff --git a/Directory.Build.props b/Directory.Build.props
index a3266e65..1deb50dc 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -41,4 +41,10 @@
Shuai Zhang
GPL-3.0-or-later
+
+
+ $(EnlistmentRoot)\artifacts
+
+ $(DefaultArtifactsFileMatch) *.exe *.dll *.exe.config *.deps.json *.runtimeconfig.json *.nupkg
+
diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.ServerConsole/GeothermalResearchInstitute.ServerConsole.csproj b/GeothermalResearchInstitute/GeothermalResearchInstitute.ServerConsole/GeothermalResearchInstitute.ServerConsole.csproj
index 5ef29fee..56decf4c 100644
--- a/GeothermalResearchInstitute/GeothermalResearchInstitute.ServerConsole/GeothermalResearchInstitute.ServerConsole.csproj
+++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.ServerConsole/GeothermalResearchInstitute.ServerConsole.csproj
@@ -1,4 +1,5 @@
+
Exe
@@ -9,6 +10,9 @@
False
False
False
+
+ $(BaseArtifactsPath)\GeothermalResearchInstitute.ServerConsole
+ $(DefaultArtifactsFileMatch) *.ini *.sqlite
diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj
index 307125f8..d5946f96 100644
--- a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj
+++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj
@@ -1,4 +1,6 @@
+
+
WinExe
$(CurrentWpfTargetFramework)
@@ -12,6 +14,8 @@
Full
True
+
+ $(BaseArtifactsPath)\GeothermalResearchInstitute.Wpf
diff --git a/PhiFailureDetector/PhiFailureDetector.Console/PhiFailureDetector.ConsoleApp.csproj b/PhiFailureDetector/PhiFailureDetector.Console/PhiFailureDetector.ConsoleApp.csproj
index e9471be6..edca1dc6 100644
--- a/PhiFailureDetector/PhiFailureDetector.Console/PhiFailureDetector.ConsoleApp.csproj
+++ b/PhiFailureDetector/PhiFailureDetector.Console/PhiFailureDetector.ConsoleApp.csproj
@@ -1,8 +1,10 @@
+
Exe
$(CurrentTargetFramework)
+ $(BaseArtifactsPath)\PhiFailureDetector.ConsoleApp
diff --git a/global.json b/global.json
index ca3c0b70..105fcace 100644
--- a/global.json
+++ b/global.json
@@ -4,6 +4,7 @@
"rollForward": "latestMinor"
},
"msbuild-sdks": {
+ "Microsoft.Build.Artifacts": "4.0.4",
"Microsoft.Build.Traversal": "3.1.6",
"Microsoft.Build.CentralPackageVersions": "2.1.3",
"DotNet.ReproducibleBuilds.Isolated": "1.1.1"