From 321dbc517b7fdebf46b692381cdb5beb1247a859 Mon Sep 17 00:00:00 2001 From: Alessio Parma Date: Sat, 15 Apr 2017 22:41:22 +0200 Subject: [PATCH] cfg cleanup --- .../CodeProject.ObjectPool.csproj | 4 -- .../Properties/AssemblyInfo.cs | 13 +----- .../CodeProject.ObjectPool.Benchmarks.csproj | 11 +---- .../Properties/AssemblyInfo.cs | 40 ++++++++++++------- .../CodeProject.ObjectPool.Examples.csproj | 6 --- .../Properties/AssemblyInfo.cs | 40 ++++++++++++------- .../CodeProject.ObjectPool.UnitTests.csproj | 12 ++---- .../Properties/AssemblyInfo.cs | 40 ++++++++++++------- 8 files changed, 85 insertions(+), 81 deletions(-) diff --git a/src/CodeProject.ObjectPool/CodeProject.ObjectPool.csproj b/src/CodeProject.ObjectPool/CodeProject.ObjectPool.csproj index 625aeef..bb72b3d 100644 --- a/src/CodeProject.ObjectPool/CodeProject.ObjectPool.csproj +++ b/src/CodeProject.ObjectPool/CodeProject.ObjectPool.csproj @@ -8,11 +8,7 @@ ../../pomma89.snk true true - 1.6.1 false - false - false - false diff --git a/src/CodeProject.ObjectPool/Properties/AssemblyInfo.cs b/src/CodeProject.ObjectPool/Properties/AssemblyInfo.cs index 628d201..3b842b4 100644 --- a/src/CodeProject.ObjectPool/Properties/AssemblyInfo.cs +++ b/src/CodeProject.ObjectPool/Properties/AssemblyInfo.cs @@ -10,18 +10,12 @@ using System; using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; -[assembly: AssemblyVersion("3.0.0")] - // 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: AssemblyConfiguration("")] -[assembly: AssemblyCompany("CodeProject")] -[assembly: AssemblyProduct("CodeProject.ObjectPool")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyVersion("3.0.0")] // 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. @@ -33,7 +27,4 @@ // Allows an assembly to be called by partially trusted code. Without this declaration, only fully // trusted callers are able to use the assembly. -[assembly: AllowPartiallyTrustedCallers] - -// To allow simpler unit testing. -[assembly: InternalsVisibleTo("CodeProject.ObjectPool.UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100efe22a8787b348e219d6b501b425d79f31502681d5a9f7d11030852e44e7ef2b29ddbc7dfcd6461fc3e67a6d7a186dea40535dad461679209a079a45440a99440bd292498b623e9a7fc5161c519c8d45b79fdfbd95a6e0ac5e211d5438d47b8635662d108448cb84bf1212983fab0010c68b41d5168bcbe5a59f9149974852c4")] \ No newline at end of file +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/test/CodeProject.ObjectPool.Benchmarks/CodeProject.ObjectPool.Benchmarks.csproj b/test/CodeProject.ObjectPool.Benchmarks/CodeProject.ObjectPool.Benchmarks.csproj index d76ad76..8e88200 100644 --- a/test/CodeProject.ObjectPool.Benchmarks/CodeProject.ObjectPool.Benchmarks.csproj +++ b/test/CodeProject.ObjectPool.Benchmarks/CodeProject.ObjectPool.Benchmarks.csproj @@ -1,13 +1,7 @@  - net46 - CodeProject.ObjectPool.Benchmarks Exe - CodeProject.ObjectPool.Benchmarks - false - false - false @@ -21,8 +15,7 @@ - + - - + \ No newline at end of file diff --git a/test/CodeProject.ObjectPool.Benchmarks/Properties/AssemblyInfo.cs b/test/CodeProject.ObjectPool.Benchmarks/Properties/AssemblyInfo.cs index 6d78cfa..3181cef 100644 --- a/test/CodeProject.ObjectPool.Benchmarks/Properties/AssemblyInfo.cs +++ b/test/CodeProject.ObjectPool.Benchmarks/Properties/AssemblyInfo.cs @@ -1,19 +1,31 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +// File name: AssemblyInfo.cs +// +// Author(s): Alessio Parma +// +// The MIT License (MIT) +// +// Copyright (c) 2013-2018 Alessio Parma +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +// associated documentation files (the "Software"), to deal in the Software without restriction, +// including without limitation the rights to use, copy, modify, merge, publish, distribute, +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or +// substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +// OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// 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: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hewlett-Packard")] -[assembly: AssemblyProduct("CodeProject.ObjectPool.Benchmarks")] -[assembly: AssemblyTrademark("")] +using System.Runtime.InteropServices; -// 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. +// 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("9c66b27c-8424-4d2e-a033-612776d59202")] +[assembly: Guid("9c66b27c-8424-4d2e-a033-612776d59202")] \ No newline at end of file diff --git a/test/CodeProject.ObjectPool.Examples/CodeProject.ObjectPool.Examples.csproj b/test/CodeProject.ObjectPool.Examples/CodeProject.ObjectPool.Examples.csproj index 538a48c..58400ff 100644 --- a/test/CodeProject.ObjectPool.Examples/CodeProject.ObjectPool.Examples.csproj +++ b/test/CodeProject.ObjectPool.Examples/CodeProject.ObjectPool.Examples.csproj @@ -1,14 +1,8 @@  netcoreapp1.1 - CodeProject.ObjectPool.Examples Exe - CodeProject.ObjectPool.Examples - 1.1.1 $(PackageTargetFallback);dnxcore50 - false - false - false diff --git a/test/CodeProject.ObjectPool.Examples/Properties/AssemblyInfo.cs b/test/CodeProject.ObjectPool.Examples/Properties/AssemblyInfo.cs index ef49568..d55a5cc 100644 --- a/test/CodeProject.ObjectPool.Examples/Properties/AssemblyInfo.cs +++ b/test/CodeProject.ObjectPool.Examples/Properties/AssemblyInfo.cs @@ -1,19 +1,31 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +// File name: AssemblyInfo.cs +// +// Author(s): Alessio Parma +// +// The MIT License (MIT) +// +// Copyright (c) 2013-2018 Alessio Parma +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +// associated documentation files (the "Software"), to deal in the Software without restriction, +// including without limitation the rights to use, copy, modify, merge, publish, distribute, +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or +// substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +// OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// 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: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hewlett-Packard")] -[assembly: AssemblyProduct("CodeProject.ObjectPool.Examples")] -[assembly: AssemblyTrademark("")] +using System.Runtime.InteropServices; -// 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. +// 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("362c2e4a-3ee7-41be-a233-70649b258439")] +[assembly: Guid("362c2e4a-3ee7-41be-a233-70649b258439")] \ No newline at end of file diff --git a/test/CodeProject.ObjectPool.UnitTests/CodeProject.ObjectPool.UnitTests.csproj b/test/CodeProject.ObjectPool.UnitTests/CodeProject.ObjectPool.UnitTests.csproj index ffe6ef3..58f0713 100644 --- a/test/CodeProject.ObjectPool.UnitTests/CodeProject.ObjectPool.UnitTests.csproj +++ b/test/CodeProject.ObjectPool.UnitTests/CodeProject.ObjectPool.UnitTests.csproj @@ -1,13 +1,7 @@  - CodeProject.ObjectPool.UnitTests - CodeProject.ObjectPool.UnitTests netcoreapp1.1;net35;net40;net45;net46 - 1.1.1 Exe - false - false - false @@ -44,8 +38,8 @@ - + @@ -53,8 +47,8 @@ - + @@ -62,7 +56,7 @@ - + \ No newline at end of file diff --git a/test/CodeProject.ObjectPool.UnitTests/Properties/AssemblyInfo.cs b/test/CodeProject.ObjectPool.UnitTests/Properties/AssemblyInfo.cs index 04906d8..e499881 100644 --- a/test/CodeProject.ObjectPool.UnitTests/Properties/AssemblyInfo.cs +++ b/test/CodeProject.ObjectPool.UnitTests/Properties/AssemblyInfo.cs @@ -1,19 +1,31 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +// File name: AssemblyInfo.cs +// +// Author(s): Alessio Parma +// +// The MIT License (MIT) +// +// Copyright (c) 2013-2018 Alessio Parma +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +// associated documentation files (the "Software"), to deal in the Software without restriction, +// including without limitation the rights to use, copy, modify, merge, publish, distribute, +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or +// substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +// OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// 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: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hewlett-Packard")] -[assembly: AssemblyProduct("CodeProject.ObjectPool.UnitTests")] -[assembly: AssemblyTrademark("")] +using System.Runtime.InteropServices; -// 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. +// 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("3d1139bd-b992-487b-9e55-cf052d815450")] +[assembly: Guid("3d1139bd-b992-487b-9e55-cf052d815450")] \ No newline at end of file