diff --git a/Avara.msvc/Avara.vcxproj b/Avara.msvc/Avara.vcxproj
index 65cd22e9..b022293d 100644
--- a/Avara.msvc/Avara.vcxproj
+++ b/Avara.msvc/Avara.vcxproj
@@ -73,9 +73,21 @@
$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(VCPKG_ROOT)\installed\x64-windows\debug\lib\manual-link
+
+
$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(VCPKG_ROOT)\installed\x64-windows\lib\manual-link
+
+
+
+
+
+
+
+
+
+
true
@@ -91,6 +103,14 @@
Console
true
+
+
+
+
+
+
+
+
@@ -107,6 +127,14 @@
true
true
+
+
+
+
+
+
+
+
@@ -128,6 +156,8 @@
+
+
xcopy /E /Y "$(SolutionDir)..\rsrc\" "$(TargetDir)rsrc\" && xcopy /E /Y "$(SolutionDir)..\levels\" "$(TargetDir)levels\"
@@ -156,6 +186,12 @@
xcopy /E /Y "$(SolutionDir)..\rsrc\" "$(TargetDir)rsrc\" && xcopy /E /Y "$(SolutionDir)..\levels\" "$(TargetDir)levels\"
+
+
+
+
+
+
diff --git a/Avara.msvc/AvaraCore.vcxproj b/Avara.msvc/AvaraCore.vcxproj
index 7d37fbb1..41b1a85a 100644
--- a/Avara.msvc/AvaraCore.vcxproj
+++ b/Avara.msvc/AvaraCore.vcxproj
@@ -91,6 +91,10 @@
Console
true
+
+ powershell.exe -ExecutionPolicy Bypass -nologo -NoProfile -NonInteractive -File $(SolutionDir)..\bin\git_version.ps1
+ Specify Git commit for ersatz version tracking.
+
@@ -107,6 +111,10 @@
true
true
+
+ powershell.exe -ExecutionPolicy Bypass -nologo -NoProfile -NonInteractive -File $(SolutionDir)..\bin\git_version.ps1
+ Specify Git commit for ersatz version tracking.
+
@@ -125,8 +133,8 @@
shell32.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)
-
-
+ powershell.exe -ExecutionPolicy Bypass -nologo -NoProfile -NonInteractive -File $(SolutionDir)..\bin\git_version.ps1
+ Specify Git commit for ersatz version tracking.
xcopy /E /Y "$(SolutionDir)..\rsrc\" "$(TargetDir)rsrc\" && xcopy /E /Y "$(SolutionDir)..\levels\" "$(TargetDir)levels\"
@@ -152,6 +160,10 @@
true
$(CoreLibraryDependencies);%(AdditionalDependencies)
+
+ powershell.exe -ExecutionPolicy Bypass -nologo -NoProfile -NonInteractive -File $(SolutionDir)..\bin\git_version.ps1
+ Specify Git commit for ersatz version tracking.
+
diff --git a/bin/git_version.ps1 b/bin/git_version.ps1
index 63f5bce5..318d2fd8 100644
--- a/bin/git_version.ps1
+++ b/bin/git_version.ps1
@@ -1 +1 @@
-'#define GIT_VERSION "{0}"' -f (git describe --always --dirty) | Out-File -FilePath .\src\util\GitVersion.h
\ No newline at end of file
+'#define GIT_VERSION "{0}"' -f (git describe --always --dirty) | Out-File -FilePath "$PSScriptRoot\..\src\util\GitVersion.h" -Encoding utf8