Skip to content

Commit

Permalink
reuse assembly info
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEggers committed Mar 14, 2014
1 parent 1f9f286 commit cb5a93d
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 75 deletions.
18 changes: 10 additions & 8 deletions CefSharp.BrowserSubprocess/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
using System.Reflection;
using CefSharp;
using System;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CefSharp.BrowserSubprocess")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The CefSharp Project")]
[assembly: AssemblyProduct("CefSharp.BrowserSubprocess")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: AssemblyVersion("3.29.0.0")]
[assembly: AssemblyFileVersion("3.29.0.0")]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]
[assembly: CLSCompliant(AssemblyInfo.ClsCompliant)]
38 changes: 17 additions & 21 deletions CefSharp.Core/AssemblyInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,24 @@ using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
using namespace CefSharp;

[assembly:AssemblyTitle("CefSharp")];
[assembly:AssemblyCompany("The CefSharp Project")];
[assembly:AssemblyProduct("CefSharp")];
[assembly:AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]
[assembly:AssemblyTitle("CefSharp.Core")];
[assembly:AssemblyCompany(AssemblyInfo::AssemblyCompany)];
[assembly:AssemblyProduct(AssemblyInfo::AssemblyProduct)];
[assembly:AssemblyCopyright(AssemblyInfo::AssemblyCopyright)]

[assembly:AssemblyVersion("3.29.0.0")];
[assembly:ComVisible(false)];
[assembly:CLSCompliant(true)];
[assembly:AssemblyVersion(AssemblyInfo::AssemblyVersion)];
[assembly:ComVisible(AssemblyInfo::ComVisible)];
[assembly:CLSCompliant(AssemblyInfo::ClsCompliant)];
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

[assembly:InternalsVisibleTo("CefSharp.Wpf, PublicKey="
"0024000004800000940000000602000000240000525341310004000001000100c5ddf5d063ca8e"
"695d4b8b5ad76634f148db9a41badaed8850868b75f916e313f15abb62601d658ce2bed877d733"
"14d5ed202019156c21033983fed80ce994a325b5d4d93b0f63a86a1d7db49800aa5638bb3fd98f"
"4a33cceaf8b8ba1800b7d7bff67b72b90837271491b61c91ef6d667be0521ce171f77e114fc2bb"
"cfd185d3"
)];
[assembly:InternalsVisibleTo("CefSharp.WinForms, PublicKey="
"0024000004800000940000000602000000240000525341310004000001000100c5ddf5d063ca8e"
"695d4b8b5ad76634f148db9a41badaed8850868b75f916e313f15abb62601d658ce2bed877d733"
"14d5ed202019156c21033983fed80ce994a325b5d4d93b0f63a86a1d7db49800aa5638bb3fd98f"
"4a33cceaf8b8ba1800b7d7bff67b72b90837271491b61c91ef6d667be0521ce171f77e114fc2bb"
"cfd185d3"
)];
[assembly:AssemblyDescription("")]
[assembly:AssemblyConfiguration("")]
[assembly:AssemblyTrademark("")]
[assembly:AssemblyCulture("")]

[assembly:InternalsVisibleTo(AssemblyInfo::CefSharpBrowserSubprocessProject )];
[assembly:InternalsVisibleTo(AssemblyInfo::CefSharpWpfProject )];
[assembly:InternalsVisibleTo(AssemblyInfo::CefSharpWinFormsProject )];
[assembly:InternalsVisibleTo(AssemblyInfo::CefSharpTestProject )];
20 changes: 14 additions & 6 deletions CefSharp.Example/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
using System.Reflection;
using CefSharp;
using System;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CefSharp.Example")]
[assembly: AssemblyCompany("Anthony Taranto")]
[assembly: AssemblyProduct("CefSharp.Example")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("1.25.2.*")]
[assembly: ComVisible(false)]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]
[assembly: CLSCompliant(AssemblyInfo.ClsCompliant)]
20 changes: 14 additions & 6 deletions CefSharp.Test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
using System.Reflection;
using CefSharp;
using System;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CefSharp.Test")]
[assembly: AssemblyCompany("Anthony Taranto")]
[assembly: AssemblyProduct("CefSharp")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("1.25.2.*")]
[assembly: ComVisible(false)]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]
[assembly: CLSCompliant(AssemblyInfo.ClsCompliant)]
20 changes: 14 additions & 6 deletions CefSharp.WinForms.Example/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
using System.Reflection;
using CefSharp;
using System;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CefSharp.WinForms.Example")]
[assembly: AssemblyCompany("The CefSharp Project")]
[assembly: AssemblyProduct("CefSharp")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("3.29.0.0")]
[assembly: ComVisible(false)]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]
[assembly: CLSCompliant(AssemblyInfo.ClsCompliant)]
19 changes: 10 additions & 9 deletions CefSharp.WinForms/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
using System.Reflection;
using CefSharp;
using System;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CefSharp.WinForm")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The CefSharp Project")]
[assembly: AssemblyProduct("CefSharp.WinForm")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]

[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: AssemblyVersion("3.29.0.0")]
[assembly: AssemblyFileVersion("3.29.0.0")]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]
[assembly: CLSCompliant(AssemblyInfo.ClsCompliant)]
16 changes: 8 additions & 8 deletions CefSharp.Wpf/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
using System.Reflection;
using CefSharp;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;

[assembly: AssemblyTitle("CefSharp.Wpf")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The CefSharp Project")]
[assembly: AssemblyProduct("CefSharp")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]

[assembly: ThemeInfo(
ResourceDictionaryLocation.None,
ResourceDictionaryLocation.SourceAssembly
)]

[assembly: AssemblyVersion("3.29.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
37 changes: 26 additions & 11 deletions CefSharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,45 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CefSharp;
using System;

[assembly: AssemblyTitle("CefSharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The CefSharp Project")]
[assembly: AssemblyProduct("CefSharp")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Authors 2010-2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct(AssemblyInfo.AssemblyProduct)]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: ComVisible(AssemblyInfo.ComVisible)]
[assembly: AssemblyVersion(AssemblyInfo.AssemblyVersion)]
[assembly: AssemblyFileVersion(AssemblyInfo.AssemblyFileVersion)]
[assembly: CLSCompliant(AssemblyInfo.ClsCompliant)]

[assembly: AssemblyVersion("3.29.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: InternalsVisibleTo("CefSharp.Core, PublicKey=" + AssemblyInfo.PublicKey )]
[assembly: InternalsVisibleTo("CefSharp.BrowserSubprocess, PublicKey=" + AssemblyInfo.PublicKey)]
[assembly: InternalsVisibleTo("CefSharp.Wpf, PublicKey=" + AssemblyInfo.PublicKey)]
[assembly: InternalsVisibleTo("CefSharp.WinForms, PublicKey=" + AssemblyInfo.PublicKey)]
[assembly: InternalsVisibleTo(AssemblyInfo.CefSharpCoreProject)]
[assembly: InternalsVisibleTo(AssemblyInfo.CefSharpBrowserSubprocessProject)]
[assembly: InternalsVisibleTo(AssemblyInfo.CefSharpWpfProject)]
[assembly: InternalsVisibleTo(AssemblyInfo.CefSharpWinFormsProject)]
[assembly: InternalsVisibleTo(AssemblyInfo.CefSharpTestProject)]

namespace CefSharp
{
public static class AssemblyInfo
{
public const bool ClsCompliant = false;
public const bool ComVisible = false;
public const string AssemblyCompany = "The CefSharp Project";
public const string AssemblyProduct = "CefSharp";
public const string AssemblyVersion = "3.29.0.0";
public const string AssemblyFileVersion = "3.29.0.0";
public const string AssemblyCopyright = "Copyright © The CefSharp Authors 2010-2013";
public const string CefSharpCoreProject = "CefSharp.Core, PublicKey=" + AssemblyInfo.PublicKey;
public const string CefSharpBrowserSubprocessProject = "CefSharp.BrowserSubprocess, PublicKey=" + AssemblyInfo.PublicKey;
public const string CefSharpWpfProject = "CefSharp.Wpf, PublicKey=" + AssemblyInfo.PublicKey;
public const string CefSharpWinFormsProject = "CefSharp.WinForms, PublicKey=" + AssemblyInfo.PublicKey;
public const string CefSharpTestProject = "CefSharp.Test, PublicKey=" + AssemblyInfo.PublicKey;

//use "%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\sn.exe" -Tp <assemblyname> to get PublicKey
public const string PublicKey = "0024000004800000940000000602000000240000525341310004000001000100c5ddf5d063ca8e695d4b8b5ad76634f148db9a41badaed8850868b75f916e313f15abb62601d658ce2bed877d73314d5ed202019156c21033983fed80ce994a325b5d4d93b0f63a86a1d7db49800aa5638bb3fd98f4a33cceaf8b8ba1800b7d7bff67b72b90837271491b61c91ef6d667be0521ce171f77e114fc2bbcfd185d3";
}
Expand Down

0 comments on commit cb5a93d

Please sign in to comment.