Skip to content

Commit

Permalink
IGNITE-15665 .NET: Use SharedAssemblyInfo.cs (apache#9461)
Browse files Browse the repository at this point in the history
  • Loading branch information
nizhikov committed Oct 1, 2021
1 parent 9a55652 commit 7083fce
Show file tree
Hide file tree
Showing 22 changed files with 41 additions and 163 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,9 @@
// associated with an assembly.
[assembly: AssemblyTitle("Apache.Ignite.AspNet.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("18ea4c71-a11d-4ab1-8042-418f7559d84f")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,11 @@

[assembly: AssemblyTitle("Apache.Ignite.AspNet")]
[assembly: AssemblyDescription("Apache Ignite.NET ASP.NET integration")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("13ea96fc-cc83-4164-a7c0-4f30ed797460")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]

[assembly: InternalsVisibleTo("Apache.Ignite.AspNet.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c9380ce05eb74bd7c531f72e9ea615c59d7eceb09bd9795cb3dff1fcf638fd799c2a58a9be42fff156efe1c8cdebb751e27763f6c9a7c80cdc1dc1bbf44283608ef18ccd5017fd57b2b026503637c89c2537f361807f3bdd49265f4d444716159d989342561d324b1a0961640338bb32eaf67f4ae0c95f1b210f65404b0909c6")]
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<CodeAnalysisRuleSet>..\Apache.Ignite.Tests.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" />
<ProjectReference Include="..\Apache.Ignite.Core\Apache.Ignite.Core.DotNetCore.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
<Compile Include="Model\TestModel.cs" />
<Compile Include="Binary\BinarizableReadBenchmark.cs" />
<Compile Include="Binary\BinarizableWriteBenchmark.cs" />
<Compile Include="..\SharedAssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Result\BenchmarkConsoleResultWriter.cs" />
<Compile Include="Result\BenchmarkFileResultWriter.cs" />
Expand Down Expand Up @@ -103,4 +104,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@

[assembly: AssemblyTitle("Apache.Ignite.Benchmarks")]
[assembly: AssemblyDescription("Apache Ignite.NET Benchmarks")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("8fae8395-7e91-411a-a78f-44d6d3fed0fc")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@

[assembly: AssemblyTitle("Apache.Ignite.Core.Tests.NuGet")]
[assembly: AssemblyDescription("Apache Ignite.NET NuGet tests")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]
[assembly: Guid("134707f6-155d-47f6-9eb2-c67abbf3c009")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@

[assembly: AssemblyTitle("Apache.Ignite.Core.Tests.TestDll")]
[assembly: AssemblyDescription("Apache Ignite.NET Tests Library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[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
Expand All @@ -34,17 +28,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("086e5873-013b-4ffb-93d2-d67881f75bc2")]

// 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("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,3 @@

[assembly: AssemblyTitle("Apache.Ignite.Core.Tests.TestDll2")]
[assembly: AssemblyDescription("Apache Ignite.NET Tests Library 2")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// 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("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" />
<Compile Remove="Deployment\**" />
<Compile Remove="Compute\Forked\**" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@

[assembly: AssemblyTitle("Apache.Ignite.Core.Tests")]
[assembly: AssemblyDescription("Apache Ignite.NET Tests")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("de8dd5cc-7c7f-4a09-80d5-7086d9416a7b")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<CodeAnalysisRuleSet>..\Apache.Ignite.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.0" />

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@
<Compile Include="Plugin\PluginNotFoundException.cs" />
<Compile Include="Plugin\PluginProviderTypeAttribute.cs" />
<Compile Include="Plugin\Cache\ICachePluginConfiguration.cs" />
<Compile Include="..\SharedAssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resource\InstanceResourceAttribute.cs" />
<Compile Include="Resource\StoreSessionResourceAttribute.cs" />
Expand Down Expand Up @@ -648,4 +649,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,11 @@

[assembly: AssemblyTitle("Apache.Ignite.Core")]
[assembly: AssemblyDescription("Apache Ignite.NET Core")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("97db45a8-f922-456a-a819-7b3c6e5e03ba")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]

#if !EXCLUDE_INTERNALS_VISIBLE_TO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,9 @@

[assembly: AssemblyTitle("Apache.Ignite.EntityFramework.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("cda5700e-78f3-4a9e-a9b0-704cbe94651c")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]
[assembly: CLSCompliant(true)]
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,10 @@

[assembly: AssemblyTitle("Apache.Ignite.EntityFramework")]
[assembly: AssemblyDescription("Apache Ignite.NET EntityFramework integration")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]
[assembly: Guid("c558518a-c1a0-4224-aaa9-a8688474b4dc")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]

[assembly: InternalsVisibleTo("Apache.Ignite.EntityFramework.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001005f45ca91396d3bb682c38d96bdc6e9ac5855a2b8f7dd7434493c278ceb75cae29d452714a376221e5bfc26dfc7dadcdbe9d0a8bb04b1945f6c326089481fc65da5fa8fc728fa9dde5fa2e1599f89678c6b1b38c59d5deef7d012eced64941d5d065aff987ec0196f5b352213d5c04b982647d7fb3bfb2496b890afc5ef1391b0")]
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
</PropertyGroup>

<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" />
<PackageReference Include="Remotion.Linq" Version="2.1.2" />
<ProjectReference Include="..\Apache.Ignite.Core\Apache.Ignite.Core.DotNetCore.csproj" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,10 @@

[assembly: AssemblyTitle("Apache.Ignite.Linq")]
[assembly: AssemblyDescription("Apache Ignite.NET LINQ Provider")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("5b571661-17f4-4f29-8c7d-0edb38ca9b55")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,10 @@

[assembly: AssemblyTitle("Apache.Ignite.Log4Net")]
[assembly: AssemblyDescription("Apache Ignite.NET log4net integration.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("6f82d669-382e-4435-8092-68c4440146d8")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,10 @@

[assembly: AssemblyTitle("Apache.Ignite.NLog")]
[assembly: AssemblyDescription("Apache Ignite.NET NLog integration.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("c6b58e4a-a2e9-4554-ad02-68ce6da5cfb7")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

[assembly: CLSCompliant(true)]
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs" />
<Compile Remove="Service\IgniteService.cs" />
<Compile Remove="Service\IgniteServiceInstaller.cs" />
</ItemGroup>
Expand Down
10 changes: 0 additions & 10 deletions modules/platforms/dotnet/Apache.Ignite/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@

[assembly: AssemblyTitle("Apache.Ignite")]
[assembly: AssemblyDescription("Apache Ignite.NET Executable")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("0f9702ec-da7d-4ce5-b4b7-73310c885355")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]
31 changes: 31 additions & 0 deletions modules/platforms/dotnet/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Apache Ignite.NET")]
[assembly: AssemblyCopyright("Copyright 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("2.12.0.56898")]
[assembly: AssemblyFileVersion("2.12.0.56898")]
[assembly: AssemblyInformationalVersion("2.12.0")]

0 comments on commit 7083fce

Please sign in to comment.