diff --git a/build/VStudio/dotnet/winfsp.net.csproj b/build/VStudio/dotnet/winfsp.net.csproj
index 2dcbe4ad..a66d08ed 100644
--- a/build/VStudio/dotnet/winfsp.net.csproj
+++ b/build/VStudio/dotnet/winfsp.net.csproj
@@ -87,7 +87,9 @@
- set TargetName=$(TargetName)
+ exit /b 0
+
+set TargetName=$(TargetName)
set MyAssemblyPolicyVersion=$(MyAssemblyPolicyVersion)
set MyAssemblyVersion=$(MyAssemblyVersion)
diff --git a/build/VStudio/installer/Product.wxs b/build/VStudio/installer/Product.wxs
index e42f63f9..383f5702 100644
--- a/build/VStudio/installer/Product.wxs
+++ b/build/VStudio/installer/Product.wxs
@@ -87,10 +87,11 @@
NOT VersionNT64
-
+
+
@@ -446,8 +448,10 @@
+
@@ -476,7 +480,9 @@
InstallDefault="local"
Absent="disallow">
+
+
$(MyVersion.Replace('.',',')),0
$(MyCanonicalVersion).$(MyBuildNumber).$(MyGitRevision)
- $(MyVersion.Substring(0,$(MyVersion.IndexOf('.')))).0
- $(MyVersion).0
+ $(MyCanonicalVersion.Substring(0,$(MyVersion.IndexOf('.')))).0
+ $(MyAssemblyPolicyVersion).0.0
diff --git a/tst/passthrough-dotnet/passthrough-dotnet.csproj b/tst/passthrough-dotnet/passthrough-dotnet.csproj
index 6fd9d2c5..9a6b0ae0 100644
--- a/tst/passthrough-dotnet/passthrough-dotnet.csproj
+++ b/tst/passthrough-dotnet/passthrough-dotnet.csproj
@@ -53,7 +53,7 @@
-
+
False
$(MSBuildProgramFiles32)\WinFsp\bin\winfsp-msil.dll