diff --git a/Octokit.Reactive/IObservableGitHubClient.cs b/Octokit.Reactive/IObservableGitHubClient.cs index 499088c6..f315196b 100644 --- a/Octokit.Reactive/IObservableGitHubClient.cs +++ b/Octokit.Reactive/IObservableGitHubClient.cs @@ -1,6 +1,4 @@ -using Octokit.Internal; - -namespace Octokit.Reactive +namespace Octokit.Reactive { public interface IObservableGitHubClient { diff --git a/Octokit.Reactive/Octokit.Reactive.csproj b/Octokit.Reactive/Octokit.Reactive.csproj index 403d321a..3efb8cd4 100644 --- a/Octokit.Reactive/Octokit.Reactive.csproj +++ b/Octokit.Reactive/Octokit.Reactive.csproj @@ -82,6 +82,9 @@ Helpers\Ensure.cs + + Properties\SolutionInfo.cs + @@ -117,6 +120,7 @@ Octokit + diff --git a/Octokit.Reactive/Properties/AssemblyInfo.cs b/Octokit.Reactive/Properties/AssemblyInfo.cs index 1d92c771..f9d22c63 100644 --- a/Octokit.Reactive/Properties/AssemblyInfo.cs +++ b/Octokit.Reactive/Properties/AssemblyInfo.cs @@ -1,36 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. [assembly: AssemblyTitle("Octokit.Reactive")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Octokit.Reactive")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("aed1a054-7d2c-4490-a16b-648964b4f128")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyDescription("An IObservable based GitHub API client library for .NET using Reactive Extensions")] diff --git a/Octokit.sln b/Octokit.sln index 4617ac70..c56fd49e 100644 --- a/Octokit.sln +++ b/Octokit.sln @@ -22,6 +22,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Meta", "Meta", "{397C742D-2 CONTRIBUTING.md = CONTRIBUTING.md LICENSE.txt = LICENSE.txt README.md = README.md + SolutionInfo.cs = SolutionInfo.cs EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OctokitRT", "Octokit\OctokitRT.csproj", "{C8BC13B6-3FA3-4716-827D-E7706F976FE1}" diff --git a/Octokit/Octokit.csproj b/Octokit/Octokit.csproj index 8caab489..01d2c0ea 100644 --- a/Octokit/Octokit.csproj +++ b/Octokit/Octokit.csproj @@ -78,6 +78,10 @@ + + Properties\SolutionInfo.cs + + @@ -172,7 +176,6 @@ - diff --git a/Octokit/OctokitRT.csproj b/Octokit/OctokitRT.csproj index 41f99411..726aa821 100644 --- a/Octokit/OctokitRT.csproj +++ b/Octokit/OctokitRT.csproj @@ -99,6 +99,9 @@ true + + Properties\SolutionInfo.cs + diff --git a/Octokit/Properties/AssemblyInfo.cs b/Octokit/Properties/AssemblyInfo.cs index 126716e9..0c4ca80e 100644 --- a/Octokit/Properties/AssemblyInfo.cs +++ b/Octokit/Properties/AssemblyInfo.cs @@ -1,43 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. [assembly: AssemblyTitle("Octokit")] -[assembly: AssemblyDescription("A .NET client library for the GitHub API")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("Octokit")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2012")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: InternalsVisibleTo("Octokit.Tests")] -[assembly: InternalsVisibleTo("OctokitRT.Tests")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. - -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM - -[assembly: Guid("ef83c56b-1c49-43c0-92fd-282adc4f0743")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] - -[assembly: AssemblyVersion("0.9.0.0")] -[assembly: AssemblyFileVersion("0.9.0.0")] -[assembly: AssemblyInformationalVersion("0.9.0.0")] +[assembly: AssemblyDescription("A Task based GitHub API client library for .NET")] diff --git a/SolutionInfo.cs b/SolutionInfo.cs new file mode 100644 index 00000000..0ef4ac48 --- /dev/null +++ b/SolutionInfo.cs @@ -0,0 +1,25 @@ +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyVersion(SolutionInfo.Version + ".0")] +[assembly: AssemblyInformationalVersion(SolutionInfo.Version)] +[assembly: AssemblyFileVersion(SolutionInfo.Version + ".0")] + +[assembly: ComVisible(false)] + +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("GitHub")] +[assembly: AssemblyProduct("Octokit")] +[assembly: AssemblyCopyright("Copyright © GitHub 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: InternalsVisibleTo("Octokit.Tests")] +[assembly: InternalsVisibleTo("OctokitRT.Tests")] +[assembly: CLSCompliant(false)] + +class SolutionInfo +{ + public const string Version = "0.1.0"; +}