From 9770efde14293012a05060fac4c27d0dbd82eeff Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Thu, 13 Apr 2017 16:04:13 -0700 Subject: [PATCH] build: dotnet: change assembly versioning scheme (fix to 1.0.0.0) --- build/VStudio/dotnet/winfsp.net.csproj | 4 +++- build/VStudio/installer/Product.wxs | 9 ++++++++- build/VStudio/version.properties | 4 ++-- tst/passthrough-dotnet/passthrough-dotnet.csproj | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) 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