summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'windows/nsis-plugins')
-rw-r--r--windows/nsis-plugins/src/cleanup/cleanup.vcxproj6
-rw-r--r--windows/nsis-plugins/src/log/log.vcxproj6
2 files changed, 8 insertions, 4 deletions
diff --git a/windows/nsis-plugins/src/cleanup/cleanup.vcxproj b/windows/nsis-plugins/src/cleanup/cleanup.vcxproj
index f60a100eb5..324264a0c0 100644
--- a/windows/nsis-plugins/src/cleanup/cleanup.vcxproj
+++ b/windows/nsis-plugins/src/cleanup/cleanup.vcxproj
@@ -75,7 +75,8 @@
<ModuleDefinitionFile>cleanup.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis</Command>
+ <Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
+</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
@@ -105,7 +106,8 @@
<ModuleDefinitionFile>cleanup.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis</Command>
+ <Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
+</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
diff --git a/windows/nsis-plugins/src/log/log.vcxproj b/windows/nsis-plugins/src/log/log.vcxproj
index 7509919f19..b80ae3545f 100644
--- a/windows/nsis-plugins/src/log/log.vcxproj
+++ b/windows/nsis-plugins/src/log/log.vcxproj
@@ -75,7 +75,8 @@
<ModuleDefinitionFile>log.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis</Command>
+ <Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
+</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
@@ -105,7 +106,8 @@
<ModuleDefinitionFile>log.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis</Command>
+ <Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
+</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
</ItemDefinitionGroup>