diff --git a/.gitignore b/.gitignore
index 6e57476a5d9657ec506513416e18993671e0accd..39da69f7bd196f7c5ae3d979203b53ca3e3f875e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,35 +1,52 @@
-
-# Do not track local environment settings.
-.venv/
-.vscode/
-.idea/
+###
+ # GitIgnore file for C# projects.
+ # See https://git-scm.com/docs/gitignore for documentation.
+ #
+ # Version 1.0
+ ##
+
+
+# Ignore environment settings.
+.vs/
+vs/
+*.rsuser
+*.suo
+*.user
+*.userprefs
+*.userosscache
+*.sln.docstates
 
 
-# Do not track mono files.
-*.userprefs
-mono_crash.*
+# Ignore tempfile directories.
+temp/
+tempfiles/
 
 
-# Do not track local build results.
+# Ignore project build results.
 [Dd]ebug/
 [Dd]ebugPublic/
 [Rr]elease/
 [Rr]eleases/
 x64/
 x86/
+[Ww][Ii][Nn]32/
 [Aa][Rr][Mm]/
 [Aa][Rr][Mm]64/
 bld/
 [Bb]in/
 [Oo]bj/
-[Ll]og/
-[Ll]ogs/
 
 
-# Do not track NuGet packages.
+# Ignore NuGet package data.
+**/[Pp]ackages/*
+!**/[Pp]ackages/build/  # except build/, which is used as an MSBuild target.
 *.nupkg
 *.nuget.props
 *.nuget.targets
-**/[Pp]ackages/*
-!**/[Pp]ackages/build/	# except build/, which is used as an MSBuild target.
 
+
+# Ignore logfiles.
+[Ll]og/
+[Ll]ogs/
+*.log
+*.log.*