diff --git a/Ix.NET/Source/GlobalAssemblyVersion.cs b/Ix.NET/Source/GlobalAssemblyVersion.cs new file mode 100644 index 0000000000..98ea9a72c3 --- /dev/null +++ b/Ix.NET/Source/GlobalAssemblyVersion.cs @@ -0,0 +1,22 @@ + +using System.Reflection; + + +#if NETSTANDARD1_0 || WP8 +[assembly: AssemblyVersion("3.0.0.0")] +#elif NETSTANDARD1_1 || WINDOWS8 || NET45 || NETCORE45 +[assembly: AssemblyVersion("3.0.1000.0")] +#elif NETSTANDARD1_2 || WINDOWS81 || NET451 || NETCORE451 || WPA81 +[assembly: AssemblyVersion("3.0.2000.0")] +#elif NETSTANDARD1_3 || NET46 +[assembly: AssemblyVersion("3.0.3000.0")] +#elif NETSTANDARD1_4 || UAP10_0 || NETCORE50 || NET461 +[assembly: AssemblyVersion("3.0.4000.0")] +#elif NETSTANDARD1_5 || NET462 +[assembly: AssemblyVersion("3.0.5000.0")] +#elif NETSTANDARD1_6 || NETCOREAPP1_0 || NET463 +[assembly: AssemblyVersion("3.0.6000.0")] +#else // this is here to prevent the build system from complaining. It should never be hit +[assembly: AssemblyVersion("invalid")] +#endif + diff --git a/Ix.NET/Source/Ix.NET.sln b/Ix.NET/Source/Ix.NET.sln index fcfd16f5ff..38dd9fa274 100644 --- a/Ix.NET/Source/Ix.NET.sln +++ b/Ix.NET/Source/Ix.NET.sln @@ -17,7 +17,8 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "System.Interactive.Tests", EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B733D97A-F1ED-4FC3-BF8E-9AC47A89DE96}" ProjectSection(SolutionItems) = preProject - build-new.ps1 = build-new.ps1 + GlobalAssemblyVersion.cs = GlobalAssemblyVersion.cs + build-new.ps1 = build-new.ps1 global.json = global.json NuGet.Config = NuGet.Config EndProjectSection diff --git a/Ix.NET/Source/System.Interactive.Async.Providers/Properties/AssemblyInfo.cs b/Ix.NET/Source/System.Interactive.Async.Providers/Properties/AssemblyInfo.cs index 4c60eb8613..053e8e8840 100644 --- a/Ix.NET/Source/System.Interactive.Async.Providers/Properties/AssemblyInfo.cs +++ b/Ix.NET/Source/System.Interactive.Async.Providers/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")] -[assembly: AssemblyInformationalVersion("1.2.0.0")] +[assembly: AssemblyInformationalVersion("1.2.0.0")] \ No newline at end of file diff --git a/Ix.NET/Source/System.Interactive.Async.Providers/project.json b/Ix.NET/Source/System.Interactive.Async.Providers/project.json index 0f3aa56296..9e610dd81d 100644 --- a/Ix.NET/Source/System.Interactive.Async.Providers/project.json +++ b/Ix.NET/Source/System.Interactive.Async.Providers/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Interactive.Async.Providers.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Ix.NET/Source/System.Interactive.Async/Properties/AssemblyInfo.cs b/Ix.NET/Source/System.Interactive.Async/Properties/AssemblyInfo.cs index 04775ffc1d..0066b57e9e 100644 --- a/Ix.NET/Source/System.Interactive.Async/Properties/AssemblyInfo.cs +++ b/Ix.NET/Source/System.Interactive.Async/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")] -[assembly: AssemblyInformationalVersion("1.2.0.0")] +[assembly: AssemblyInformationalVersion("1.2.0.0")] \ No newline at end of file diff --git a/Ix.NET/Source/System.Interactive.Async/project.json b/Ix.NET/Source/System.Interactive.Async/project.json index df3ca529ee..c30adc786c 100644 --- a/Ix.NET/Source/System.Interactive.Async/project.json +++ b/Ix.NET/Source/System.Interactive.Async/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Interactive.Async.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Ix.NET/Source/System.Interactive.Providers/Properties/AssemblyInfo.cs b/Ix.NET/Source/System.Interactive.Providers/Properties/AssemblyInfo.cs index ef6ee586d4..1020b5b163 100644 --- a/Ix.NET/Source/System.Interactive.Providers/Properties/AssemblyInfo.cs +++ b/Ix.NET/Source/System.Interactive.Providers/Properties/AssemblyInfo.cs @@ -33,6 +33,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")] -[assembly: AssemblyInformationalVersion("1.2.0.0")] +[assembly: AssemblyInformationalVersion("1.2.0.0")] \ No newline at end of file diff --git a/Ix.NET/Source/System.Interactive.Providers/project.json b/Ix.NET/Source/System.Interactive.Providers/project.json index 6ef12ab0ba..0256163b94 100644 --- a/Ix.NET/Source/System.Interactive.Providers/project.json +++ b/Ix.NET/Source/System.Interactive.Providers/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Interactive.Providers.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Ix.NET/Source/System.Interactive/Properties/AssemblyInfo.cs b/Ix.NET/Source/System.Interactive/Properties/AssemblyInfo.cs index f6d3389842..d26d74f534 100644 --- a/Ix.NET/Source/System.Interactive/Properties/AssemblyInfo.cs +++ b/Ix.NET/Source/System.Interactive/Properties/AssemblyInfo.cs @@ -32,7 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")] [assembly: AssemblyInformationalVersion("1.2.0.0")] - diff --git a/Ix.NET/Source/System.Interactive/project.json b/Ix.NET/Source/System.Interactive/project.json index b4454ecf17..e43f8b94e3 100644 --- a/Ix.NET/Source/System.Interactive/project.json +++ b/Ix.NET/Source/System.Interactive/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Interactive.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Ix.NET/Source/build-new.ps1 b/Ix.NET/Source/build-new.ps1 index 47f9312d5a..acbdfd73af 100644 --- a/Ix.NET/Source/build-new.ps1 +++ b/Ix.NET/Source/build-new.ps1 @@ -15,10 +15,10 @@ $msbuild = Get-ItemProperty "hklm:\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0 $msbuildExe = Join-Path $msbuild.MSBuildToolsPath "msbuild.exe" # get tools -.\nuget.exe install -excludeversion -pre gitversion.commandline -outputdirectory packages +.\nuget.exe install -excludeversion -pre gitversion.commandline -Version 3.5.5-pullrequest0921 -outputdirectory packages #update version -.\packages\gitversion.commandline\tools\gitversion.exe /l console /output buildserver /updateassemblyinfo +.\packages\gitversion.commandline\tools\gitversion.exe /l console /output buildserver /updateassemblyinfo /excludeUpdateAssemblyVersion $versionObj = .\packages\gitversion.commandline\tools\gitversion.exe | ConvertFrom-Json diff --git a/Rx.NET/Source/GlobalAssemblyVersion.cs b/Rx.NET/Source/GlobalAssemblyVersion.cs new file mode 100644 index 0000000000..98ea9a72c3 --- /dev/null +++ b/Rx.NET/Source/GlobalAssemblyVersion.cs @@ -0,0 +1,22 @@ + +using System.Reflection; + + +#if NETSTANDARD1_0 || WP8 +[assembly: AssemblyVersion("3.0.0.0")] +#elif NETSTANDARD1_1 || WINDOWS8 || NET45 || NETCORE45 +[assembly: AssemblyVersion("3.0.1000.0")] +#elif NETSTANDARD1_2 || WINDOWS81 || NET451 || NETCORE451 || WPA81 +[assembly: AssemblyVersion("3.0.2000.0")] +#elif NETSTANDARD1_3 || NET46 +[assembly: AssemblyVersion("3.0.3000.0")] +#elif NETSTANDARD1_4 || UAP10_0 || NETCORE50 || NET461 +[assembly: AssemblyVersion("3.0.4000.0")] +#elif NETSTANDARD1_5 || NET462 +[assembly: AssemblyVersion("3.0.5000.0")] +#elif NETSTANDARD1_6 || NETCOREAPP1_0 || NET463 +[assembly: AssemblyVersion("3.0.6000.0")] +#else // this is here to prevent the build system from complaining. It should never be hit +[assembly: AssemblyVersion("invalid")] +#endif + diff --git a/Rx.NET/Source/Microsoft.Reactive.Testing/Properties/AssemblyInfo.cs b/Rx.NET/Source/Microsoft.Reactive.Testing/Properties/AssemblyInfo.cs index 34abdaf100..93153157cb 100644 --- a/Rx.NET/Source/Microsoft.Reactive.Testing/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/Microsoft.Reactive.Testing/Properties/AssemblyInfo.cs @@ -22,6 +22,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/Microsoft.Reactive.Testing/project.json b/Rx.NET/Source/Microsoft.Reactive.Testing/project.json index 36f630330e..b723ecd157 100644 --- a/Rx.NET/Source/Microsoft.Reactive.Testing/project.json +++ b/Rx.NET/Source/Microsoft.Reactive.Testing/project.json @@ -17,7 +17,10 @@ "keyFile": "../ReactiveX.snk", "define": [ "SIGNED" ], "nowarn": [ "CS1591" ], - "xmlDoc": true + "xmlDoc": true, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] + } }, "dependencies": { diff --git a/Rx.NET/Source/Rx.NET.sln b/Rx.NET/Source/Rx.NET.sln index be11e7a4ac..a7e01ff162 100644 --- a/Rx.NET/Source/Rx.NET.sln +++ b/Rx.NET/Source/Rx.NET.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.25402.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "System.Reactive.Core", "System.Reactive.Core\System.Reactive.Core.xproj", "{FDA62C35-4174-44B0-BEBE-61E80B2515BA}" EndProject @@ -38,6 +38,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject build-new.ps1 = build-new.ps1 global.json = global.json + GlobalAssemblyVersion.cs = GlobalAssemblyVersion.cs NuGet.Config = NuGet.Config EndProjectSection EndProject diff --git a/Rx.NET/Source/System.Reactive.Core/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Core/Properties/AssemblyInfo.cs index 5f8d0d8f40..7922b6d94a 100644 --- a/Rx.NET/Source/System.Reactive.Core/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Core/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Core/project.json b/Rx.NET/Source/System.Reactive.Core/project.json index 83dcbbf9d7..9174181d80 100644 --- a/Rx.NET/Source/System.Reactive.Core/project.json +++ b/Rx.NET/Source/System.Reactive.Core/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Reactive.Core.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Rx.NET/Source/System.Reactive.Experimental/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Experimental/Properties/AssemblyInfo.cs index 63ebd271a0..c22ebbdc61 100644 --- a/Rx.NET/Source/System.Reactive.Experimental/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Experimental/Properties/AssemblyInfo.cs @@ -33,6 +33,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Experimental/project.json b/Rx.NET/Source/System.Reactive.Experimental/project.json index 09f342599a..945a389690 100644 --- a/Rx.NET/Source/System.Reactive.Experimental/project.json +++ b/Rx.NET/Source/System.Reactive.Experimental/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Reactive.Experimental.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Rx.NET/Source/System.Reactive.Interfaces/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Interfaces/Properties/AssemblyInfo.cs index 16deafeb29..960b0ac9e3 100644 --- a/Rx.NET/Source/System.Reactive.Interfaces/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Interfaces/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Interfaces/project.json b/Rx.NET/Source/System.Reactive.Interfaces/project.json index 6c986c1b8e..da6e7d334c 100644 --- a/Rx.NET/Source/System.Reactive.Interfaces/project.json +++ b/Rx.NET/Source/System.Reactive.Interfaces/project.json @@ -17,7 +17,10 @@ "keyFile": "../ReactiveX.snk", "define": [ "SIGNED" ], "nowarn": [ "CS1591" ], - "xmlDoc": true + "xmlDoc": true, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] + } }, "dependencies": { diff --git a/Rx.NET/Source/System.Reactive.Linq/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Linq/Properties/AssemblyInfo.cs index 7704278a37..227cb6a6d7 100644 --- a/Rx.NET/Source/System.Reactive.Linq/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Linq/Properties/AssemblyInfo.cs @@ -32,7 +32,6 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Linq/project.json b/Rx.NET/Source/System.Reactive.Linq/project.json index 6eaa6ae3d8..6796ac50cd 100644 --- a/Rx.NET/Source/System.Reactive.Linq/project.json +++ b/Rx.NET/Source/System.Reactive.Linq/project.json @@ -24,7 +24,8 @@ "Reactive/Observer.Extensions.cs", "Reactive/Internal/Observers.cs", "Reactive/Internal/Producer.cs" - ] + ], + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] }, "embed": { "includeFiles": "Properties/System.Reactive.Linq.rd.xml" diff --git a/Rx.NET/Source/System.Reactive.Observable.Aliases/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Observable.Aliases/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..1518ba739b --- /dev/null +++ b/Rx.NET/Source/System.Reactive.Observable.Aliases/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System; +using System.Reflection; +using System.Resources; +using System.Runtime.InteropServices; +using System.Security; + +[assembly: AssemblyTitle("System.Reactive.Observable.Aliases")] +// Notice: same description as in the .nuspec files; see Source/Rx/Setup/NuGet +[assembly: AssemblyDescription("Reactive Extensions provides the aliases Map, FlatMap, and Filter.")] +#if DEBUG +[assembly: AssemblyConfiguration("Debug")] +#else +[assembly: AssemblyConfiguration("Retail")] +#endif +[assembly: AssemblyCompany(".NET Foundation and Contributors.")] +[assembly: AssemblyProduct("Reactive Extensions")] +[assembly: AssemblyCopyright("\x00a9 .NET Foundation and Contributors. All rights reserved.")] +[assembly: NeutralResourcesLanguage("en-US")] + +#if !PLIB +[assembly: ComVisible(false)] +#endif + +[assembly: CLSCompliant(true)] + +#if HAS_APTCA && NO_CODECOVERAGE +[assembly: AllowPartiallyTrustedCallers] +#endif + +// =========================================================================== +// DO NOT EDIT OR REMOVE ANYTHING BELOW THIS COMMENT. +// Version numbers are automatically generated in the msbuild files based on regular expressions +// =========================================================================== + +[assembly: AssemblyFileVersion("2.2.0.0")] +[assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Observable.Aliases/project.json b/Rx.NET/Source/System.Reactive.Observable.Aliases/project.json index 8437568c0f..2a6b1431c0 100644 --- a/Rx.NET/Source/System.Reactive.Observable.Aliases/project.json +++ b/Rx.NET/Source/System.Reactive.Observable.Aliases/project.json @@ -17,7 +17,10 @@ "keyFile": "../ReactiveX.snk", "define": [ "SIGNED" ], "nowarn": [ "CS1591" ], - "xmlDoc": true + "xmlDoc": true, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] + } }, "dependencies": { diff --git a/Rx.NET/Source/System.Reactive.PlatformServices/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.PlatformServices/Properties/AssemblyInfo.cs index d02f1f6029..0f5a140dca 100644 --- a/Rx.NET/Source/System.Reactive.PlatformServices/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.PlatformServices/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.PlatformServices/project.json b/Rx.NET/Source/System.Reactive.PlatformServices/project.json index fbe2c9a8bf..b61f72f85a 100644 --- a/Rx.NET/Source/System.Reactive.PlatformServices/project.json +++ b/Rx.NET/Source/System.Reactive.PlatformServices/project.json @@ -19,7 +19,8 @@ "nowarn": [ "CS1591" ], "xmlDoc": true, "compile": { - "exclude": [ "Strings_PlatformServices.Designer.cs" ] + "exclude": [ "Strings_PlatformServices.Designer.cs" ], + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] }, "embed": { "includeFiles": "Properties/System.Reactive.PlatformServices.rd.xml" diff --git a/Rx.NET/Source/System.Reactive.Providers/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Providers/Properties/AssemblyInfo.cs index 331ec64aef..664193a2a5 100644 --- a/Rx.NET/Source/System.Reactive.Providers/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Providers/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Providers/project.json b/Rx.NET/Source/System.Reactive.Providers/project.json index 1eb488456a..6309670a26 100644 --- a/Rx.NET/Source/System.Reactive.Providers/project.json +++ b/Rx.NET/Source/System.Reactive.Providers/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Reactive.Providers.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Rx.NET/Source/System.Reactive.Runtime.Remoting/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Runtime.Remoting/Properties/AssemblyInfo.cs index 4aa357d666..bb5591ec8c 100644 --- a/Rx.NET/Source/System.Reactive.Runtime.Remoting/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Runtime.Remoting/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Runtime.Remoting/project.json b/Rx.NET/Source/System.Reactive.Runtime.Remoting/project.json index c72263dfec..e9016dc66e 100644 --- a/Rx.NET/Source/System.Reactive.Runtime.Remoting/project.json +++ b/Rx.NET/Source/System.Reactive.Runtime.Remoting/project.json @@ -20,6 +20,9 @@ "xmlDoc": true, "embed": { "includeFiles": "Properties/System.Reactive.Runtime.Remoting.rd.xml" + }, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] } }, diff --git a/Rx.NET/Source/System.Reactive.Windows.Forms/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Windows.Forms/Properties/AssemblyInfo.cs index bc6455df68..a695a298fb 100644 --- a/Rx.NET/Source/System.Reactive.Windows.Forms/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Windows.Forms/Properties/AssemblyInfo.cs @@ -32,6 +32,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Windows.Forms/project.json b/Rx.NET/Source/System.Reactive.Windows.Forms/project.json index 19a8e002a6..3df58402e9 100644 --- a/Rx.NET/Source/System.Reactive.Windows.Forms/project.json +++ b/Rx.NET/Source/System.Reactive.Windows.Forms/project.json @@ -17,7 +17,10 @@ "keyFile": "../ReactiveX.snk", "define": [ "SIGNED" ], "nowarn": [ "CS1591" ], - "xmlDoc": true + "xmlDoc": true, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] + } }, "dependencies": { diff --git a/Rx.NET/Source/System.Reactive.Windows.Threading/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.Windows.Threading/Properties/AssemblyInfo.cs index e2dbfcdf26..4c2fbdb858 100644 --- a/Rx.NET/Source/System.Reactive.Windows.Threading/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.Windows.Threading/Properties/AssemblyInfo.cs @@ -39,6 +39,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.Windows.Threading/project.json b/Rx.NET/Source/System.Reactive.Windows.Threading/project.json index 4e165b5056..47a47edf69 100644 --- a/Rx.NET/Source/System.Reactive.Windows.Threading/project.json +++ b/Rx.NET/Source/System.Reactive.Windows.Threading/project.json @@ -17,7 +17,10 @@ "keyFile": "../ReactiveX.snk", "define": [ "SIGNED" ], "nowarn": [ "CS1591" ], - "xmlDoc": true + "xmlDoc": true, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] + } }, "dependencies": { diff --git a/Rx.NET/Source/System.Reactive.WindowsRuntime/Properties/AssemblyInfo.cs b/Rx.NET/Source/System.Reactive.WindowsRuntime/Properties/AssemblyInfo.cs index 580a3caf8c..c94011f6e3 100644 --- a/Rx.NET/Source/System.Reactive.WindowsRuntime/Properties/AssemblyInfo.cs +++ b/Rx.NET/Source/System.Reactive.WindowsRuntime/Properties/AssemblyInfo.cs @@ -30,6 +30,5 @@ // Version numbers are automatically generated in the msbuild files based on regular expressions // =========================================================================== -[assembly: AssemblyVersion("2.2.0.0")] [assembly: AssemblyFileVersion("2.2.0.0")] [assembly: AssemblyInformationalVersion("2.2.0.0")] diff --git a/Rx.NET/Source/System.Reactive.WindowsRuntime/project.json b/Rx.NET/Source/System.Reactive.WindowsRuntime/project.json index e3700f13c1..930ad56c03 100644 --- a/Rx.NET/Source/System.Reactive.WindowsRuntime/project.json +++ b/Rx.NET/Source/System.Reactive.WindowsRuntime/project.json @@ -17,7 +17,10 @@ "keyFile": "../ReactiveX.snk", "define": [ "SIGNED" ], "nowarn": [ "CS1591" ], - "xmlDoc": true + "xmlDoc": true, + "compile": { + "includeFiles": [ "../GlobalAssemblyVersion.cs" ] + } }, "dependencies": { diff --git a/Rx.NET/Source/build-new.ps1 b/Rx.NET/Source/build-new.ps1 index 7df29880cc..0801dd7d8a 100644 --- a/Rx.NET/Source/build-new.ps1 +++ b/Rx.NET/Source/build-new.ps1 @@ -13,8 +13,8 @@ $msbuild = Get-ItemProperty "hklm:\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0 $msbuildExe = Join-Path $msbuild.MSBuildToolsPath "msbuild.exe" # get version -.\nuget.exe install -excludeversion -pre gitversion.commandline -outputdirectory packages -.\packages\gitversion.commandline\tools\gitversion.exe /l console /output buildserver /updateassemblyinfo +.\nuget.exe install -excludeversion -pre gitversion.commandline -Version 3.5.5-pullrequest0921 -outputdirectory packages +.\packages\gitversion.commandline\tools\gitversion.exe /l console /output buildserver /updateassemblyinfo /excludeUpdateAssemblyVersion $versionObj = .\packages\gitversion.commandline\tools\gitversion.exe | ConvertFrom-Json