diff --git a/Directory.Build.props b/Directory.Build.props index 3c8b96e99..2b2343a4d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -62,6 +62,8 @@ $(UtilityOutputFullPathCoreApps) $(ToolOutputFullPath) Major + $(JINetToolVersion) + $(JINetCoreLibVersion) $(BaseIntermediateOutputPath)\$(Configuration) @@ -69,6 +71,8 @@ $(MSBuildThisFileDirectory)bin\$(Configuration)\ $(MSBuildThisFileDirectory)bin\Test$(Configuration)\ $(ToolOutputFullPath) + $(JIOldToolVersion) + $(JIOldCoreLibVersion) $(MSBuildThisFileDirectory)external\xamarin-android-tools @@ -119,4 +123,8 @@ $(NoWarn);CA1307;CA1309;CA1310 + + $(JIUtilityVersion) + + diff --git a/Directory.Build.targets b/Directory.Build.targets index 5a6438555..ea649d951 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -34,4 +34,6 @@ + + diff --git a/GitInfo.txt b/GitInfo.txt index ceab6e11e..e0ea36fee 100644 --- a/GitInfo.txt +++ b/GitInfo.txt @@ -1 +1 @@ -0.1 \ No newline at end of file +6.0 diff --git a/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj b/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj index 82b53b925..2ea9769b5 100644 --- a/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj +++ b/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj @@ -6,7 +6,13 @@ $(BuildToolOutputFullPath) + + main + false + + + diff --git a/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.targets b/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.targets index 931ea5c70..51cb25fa1 100644 --- a/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.targets +++ b/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.targets @@ -105,4 +105,37 @@ + + + <_NetToolVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch).$(GitCommits) + <_OldToolVersion>0.2.$(GitBaseVersionPatch).$(GitCommits) + <_NetCoreLibVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).0.0 + <_OldCoreLibVersion>0.1.0.0 + <_FileVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch).$(GitCommits) + + + <_VersionsLine Include="<Project>" /> + <_VersionsLine Include=" <PropertyGroup>" /> + <_VersionsLine Include=" <FileVersion>$(_FileVersion)</FileVersion>" /> + <_VersionsLine Include=" <JINetToolVersion>$(_NetToolVersion)</JINetToolVersion>" /> + <_VersionsLine Include=" <JIOldToolVersion>$(_OldToolVersion)</JIOldToolVersion>" /> + <_VersionsLine Include=" <JINetCoreLibVersion>$(_NetCoreLibVersion)</JINetCoreLibVersion>" /> + <_VersionsLine Include=" <JIOldCoreLibVersion>$(_OldCoreLibVersion)</JIOldCoreLibVersion>" /> + <_VersionsLine Include=" <JIBuildBranch>$(GitBranch)</JIBuildBranch>" /> + <_VersionsLine Include=" <JIBuildCommit>$(GitCommit)</JIBuildCommit>" /> + <_VersionsLine Include=" </PropertyGroup>" /> + <_VersionsLine Include="</Project>" /> + + + + + diff --git a/build-tools/scripts/Version.props.in b/build-tools/scripts/Version.props.in deleted file mode 100644 index a414f3475..000000000 --- a/build-tools/scripts/Version.props.in +++ /dev/null @@ -1,8 +0,0 @@ - - - @VERSION@ - @VERSION@ git-rev-head:@COMMIT@ git-branch:@BRANCH@ - Microsoft Corporation - Microsoft Corporation - - \ No newline at end of file diff --git a/build-tools/scripts/VersionInfo.targets b/build-tools/scripts/VersionInfo.targets index 5636ef5d3..c86a53c5f 100644 --- a/build-tools/scripts/VersionInfo.targets +++ b/build-tools/scripts/VersionInfo.targets @@ -1,29 +1,11 @@ - + - - - main - false - - - - - - - - - - - - + + + $(Version) git-rev-head:$(JIBuildCommit) git-branch:$(JIBuildBranch) + + \ No newline at end of file diff --git a/src/Java.Base/Java.Base.csproj b/src/Java.Base/Java.Base.csproj index 5be4deceb..81bd6cc7d 100644 --- a/src/Java.Base/Java.Base.csproj +++ b/src/Java.Base/Java.Base.csproj @@ -5,6 +5,7 @@ true enable $(NoWarn);8764 + $(JICoreLibVersion) diff --git a/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj b/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj index 051223abd..df7c6b40d 100644 --- a/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj +++ b/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj @@ -7,7 +7,7 @@ true ..\..\product.snk Java.Interop.Dynamic - 0.1.0.0 + $(JICoreLibVersion) $(ToolOutputFullPath) diff --git a/src/Java.Interop.Export/Java.Interop.Export.csproj b/src/Java.Interop.Export/Java.Interop.Export.csproj index bc3170252..50ded2320 100644 --- a/src/Java.Interop.Export/Java.Interop.Export.csproj +++ b/src/Java.Interop.Export/Java.Interop.Export.csproj @@ -7,7 +7,7 @@ true ..\..\product.snk Java.Interop.Export - 0.1.0.0 + $(JICoreLibVersion) $(ToolOutputFullPath) diff --git a/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj b/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj index 1b69c773e..4f23b6ca6 100644 --- a/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj +++ b/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj @@ -10,6 +10,7 @@ $(ToolOutputFullPath) + $(JICoreLibVersion) diff --git a/src/Java.Interop/Java.Interop.csproj b/src/Java.Interop/Java.Interop.csproj index 1ee9e3c10..0d666353f 100644 --- a/src/Java.Interop/Java.Interop.csproj +++ b/src/Java.Interop/Java.Interop.csproj @@ -30,7 +30,7 @@ enable true NU1702 - 0.1.0.0 + $(JICoreLibVersion) DEBUG;$(DefineConstants) diff --git a/src/Java.Runtime.Environment/Java.Runtime.Environment.csproj b/src/Java.Runtime.Environment/Java.Runtime.Environment.csproj index 264005096..1ff8f04bf 100644 --- a/src/Java.Runtime.Environment/Java.Runtime.Environment.csproj +++ b/src/Java.Runtime.Environment/Java.Runtime.Environment.csproj @@ -12,6 +12,7 @@ $(TestOutputFullPath) + $(JICoreLibVersion)