From 193ca6d4f2843da7f8b52c41f39ae287220bf931 Mon Sep 17 00:00:00 2001 From: Eddy Nakamura Date: Tue, 30 Jun 2020 17:33:12 -0300 Subject: [PATCH] Cleaning AssemblyInfo.cs and *.csproj (#1929) * Cleaning AssemblyInfo.cs and *.csproj * adding ispackable false to test.props Co-authored-by: Cijo Thomas --- .props/Test.props | 4 ++++ .../DiagnosticSourceListener.Tests.csproj | 1 - .../EtwCollector.Tests/EtwCollector.Tests.csproj | 2 -- .../EtwCollector.Tests/Properties/AssemblyInfo.cs | 7 ------- .../EventSourceListener.Tests.csproj | 2 -- .../Properties/AssemblyInfo.cs | 7 ------- LOGGING/test/ILogger.Tests/ILogger.Tests.csproj | 1 - .../Log4NetAppender.Tests.csproj | 1 - .../Log4NetAppender.Tests/Properties/AssemblyInfo.cs | 12 ------------ .../test/NLogTarget.Tests/NLogTarget.Tests.csproj | 1 - .../test/NLogTarget.Tests/Properties/AssemblyInfo.cs | 12 ------------ .../TraceListener.Tests/Properties/AssemblyInfo.cs | 12 ------------ .../TraceListener.Tests/TraceListener.Tests.csproj | 1 - LOGGING/test/Xdt.Tests/Properties/AssemblyInfo.cs | 12 ------------ LOGGING/test/Xdt.Tests/Xdt.Tests.csproj | 1 - ...icrosoft.ApplicationInsights.WorkerService.csproj | 10 ---------- .../DependencyCollector.Tests.csproj | 2 +- .../DependencyCollector/Properties/AssemblyInfo.cs | 4 +--- .../HostingStartup.Tests/HostingStartup.Tests.csproj | 1 - .../HostingStartup.Tests/Properties/AssemblyInfo.cs | 12 ------------ .../PerformanceCollector/Xdt.Tests/Xdt.Tests.csproj | 1 - WEB/Src/Web/Web.Tests/Web.Tests.csproj | 1 - 22 files changed, 6 insertions(+), 101 deletions(-) diff --git a/.props/Test.props b/.props/Test.props index b35d0ef7d..ec22bd2f1 100644 --- a/.props/Test.props +++ b/.props/Test.props @@ -8,4 +8,8 @@ + + false + + \ No newline at end of file diff --git a/LOGGING/test/DiagnosticSourceListener.Tests/DiagnosticSourceListener.Tests.csproj b/LOGGING/test/DiagnosticSourceListener.Tests/DiagnosticSourceListener.Tests.csproj index 780145afa..edbcac41c 100644 --- a/LOGGING/test/DiagnosticSourceListener.Tests/DiagnosticSourceListener.Tests.csproj +++ b/LOGGING/test/DiagnosticSourceListener.Tests/DiagnosticSourceListener.Tests.csproj @@ -4,7 +4,6 @@ Microsoft.ApplicationInsights.DiagnosticSourceListener.Tests Microsoft.ApplicationInsights.DiagnosticSourceListener.Tests netcoreapp2.1;netcoreapp3.1 - false diff --git a/LOGGING/test/EtwCollector.Tests/EtwCollector.Tests.csproj b/LOGGING/test/EtwCollector.Tests/EtwCollector.Tests.csproj index 5a3c80126..05a78719e 100644 --- a/LOGGING/test/EtwCollector.Tests/EtwCollector.Tests.csproj +++ b/LOGGING/test/EtwCollector.Tests/EtwCollector.Tests.csproj @@ -4,8 +4,6 @@ Microsoft.ApplicationInsights.EtwCollector.Tests Microsoft.ApplicationInsights.EtwCollector.Tests net46 - false - false diff --git a/LOGGING/test/EtwCollector.Tests/Properties/AssemblyInfo.cs b/LOGGING/test/EtwCollector.Tests/Properties/AssemblyInfo.cs index 323353bc0..61380c0a4 100644 --- a/LOGGING/test/EtwCollector.Tests/Properties/AssemblyInfo.cs +++ b/LOGGING/test/EtwCollector.Tests/Properties/AssemblyInfo.cs @@ -2,13 +2,6 @@ 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("Microsoft.ApplicationInsights.EtwCollector.Tests")] -[assembly: AssemblyProduct("Microsoft.ApplicationInsights.EtwCollector.Tests")] -[assembly: AssemblyCopyright("Copyright © 2017")] - // 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. diff --git a/LOGGING/test/EventSourceListener.Tests/EventSourceListener.Tests.csproj b/LOGGING/test/EventSourceListener.Tests/EventSourceListener.Tests.csproj index 7f7b411f6..481daccf5 100644 --- a/LOGGING/test/EventSourceListener.Tests/EventSourceListener.Tests.csproj +++ b/LOGGING/test/EventSourceListener.Tests/EventSourceListener.Tests.csproj @@ -4,8 +4,6 @@ Microsoft.ApplicationInsights.EventSourceListener.Tests Microsoft.ApplicationInsights.EventSourceListener.Tests netcoreapp2.1;netcoreapp3.1 - false - false diff --git a/LOGGING/test/EventSourceListener.Tests/Properties/AssemblyInfo.cs b/LOGGING/test/EventSourceListener.Tests/Properties/AssemblyInfo.cs index 6f0f41b8f..efe4c5e29 100644 --- a/LOGGING/test/EventSourceListener.Tests/Properties/AssemblyInfo.cs +++ b/LOGGING/test/EventSourceListener.Tests/Properties/AssemblyInfo.cs @@ -8,13 +8,6 @@ using System.Reflection; 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("Microsoft.ApplicationInsights.EventSourceListener.Tests")] -[assembly: AssemblyProduct("Microsoft.ApplicationInsights.EventSourceListener.Tests")] -[assembly: AssemblyCopyright("Copyright © 2017")] - // 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. diff --git a/LOGGING/test/ILogger.Tests/ILogger.Tests.csproj b/LOGGING/test/ILogger.Tests/ILogger.Tests.csproj index 30244c670..00dcc62cb 100644 --- a/LOGGING/test/ILogger.Tests/ILogger.Tests.csproj +++ b/LOGGING/test/ILogger.Tests/ILogger.Tests.csproj @@ -3,7 +3,6 @@ netcoreapp2.1;netcoreapp3.1 - false diff --git a/LOGGING/test/Log4NetAppender.Tests/Log4NetAppender.Tests.csproj b/LOGGING/test/Log4NetAppender.Tests/Log4NetAppender.Tests.csproj index b0956b61b..102b6f64e 100644 --- a/LOGGING/test/Log4NetAppender.Tests/Log4NetAppender.Tests.csproj +++ b/LOGGING/test/Log4NetAppender.Tests/Log4NetAppender.Tests.csproj @@ -5,7 +5,6 @@ Microsoft.ApplicationInsights.Log4NetAppender.Tests Microsoft.ApplicationInsights.Log4NetAppender.Tests net45;netcoreapp2.1;netcoreapp3.1 - false diff --git a/LOGGING/test/Log4NetAppender.Tests/Properties/AssemblyInfo.cs b/LOGGING/test/Log4NetAppender.Tests/Properties/AssemblyInfo.cs index 93b972807..3ffd2469d 100644 --- a/LOGGING/test/Log4NetAppender.Tests/Properties/AssemblyInfo.cs +++ b/LOGGING/test/Log4NetAppender.Tests/Properties/AssemblyInfo.cs @@ -9,18 +9,6 @@ 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("Log4NetAppender.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Log4NetAppender.Tests")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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. diff --git a/LOGGING/test/NLogTarget.Tests/NLogTarget.Tests.csproj b/LOGGING/test/NLogTarget.Tests/NLogTarget.Tests.csproj index 3f73e3207..e32fd7687 100644 --- a/LOGGING/test/NLogTarget.Tests/NLogTarget.Tests.csproj +++ b/LOGGING/test/NLogTarget.Tests/NLogTarget.Tests.csproj @@ -5,7 +5,6 @@ Microsoft.ApplicationInsights.NLogTarget.Tests Microsoft.ApplicationInsights.NLogTarget.Tests net45;netcoreapp2.1;netcoreapp3.1 - false diff --git a/LOGGING/test/NLogTarget.Tests/Properties/AssemblyInfo.cs b/LOGGING/test/NLogTarget.Tests/Properties/AssemblyInfo.cs index abb8b02f1..0c749f6cd 100644 --- a/LOGGING/test/NLogTarget.Tests/Properties/AssemblyInfo.cs +++ b/LOGGING/test/NLogTarget.Tests/Properties/AssemblyInfo.cs @@ -9,18 +9,6 @@ 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("NLogTarget.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NLogTarget.Tests")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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. diff --git a/LOGGING/test/TraceListener.Tests/Properties/AssemblyInfo.cs b/LOGGING/test/TraceListener.Tests/Properties/AssemblyInfo.cs index 408b30adb..817469834 100644 --- a/LOGGING/test/TraceListener.Tests/Properties/AssemblyInfo.cs +++ b/LOGGING/test/TraceListener.Tests/Properties/AssemblyInfo.cs @@ -9,18 +9,6 @@ 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("TraceListener.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TraceListener.Tests")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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. diff --git a/LOGGING/test/TraceListener.Tests/TraceListener.Tests.csproj b/LOGGING/test/TraceListener.Tests/TraceListener.Tests.csproj index 50035ebac..72f6e7073 100644 --- a/LOGGING/test/TraceListener.Tests/TraceListener.Tests.csproj +++ b/LOGGING/test/TraceListener.Tests/TraceListener.Tests.csproj @@ -5,7 +5,6 @@ Microsoft.ApplicationInsights.TraceListener.Tests Microsoft.ApplicationInsights.TraceListener.Tests net45;netcoreapp2.1;netcoreapp3.1 - false diff --git a/LOGGING/test/Xdt.Tests/Properties/AssemblyInfo.cs b/LOGGING/test/Xdt.Tests/Properties/AssemblyInfo.cs index 65b1134a2..d2ee8a62a 100644 --- a/LOGGING/test/Xdt.Tests/Properties/AssemblyInfo.cs +++ b/LOGGING/test/Xdt.Tests/Properties/AssemblyInfo.cs @@ -9,18 +9,6 @@ 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("Xdt.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Xdt.Tests")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[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. diff --git a/LOGGING/test/Xdt.Tests/Xdt.Tests.csproj b/LOGGING/test/Xdt.Tests/Xdt.Tests.csproj index eea52611b..2f97200ad 100644 --- a/LOGGING/test/Xdt.Tests/Xdt.Tests.csproj +++ b/LOGGING/test/Xdt.Tests/Xdt.Tests.csproj @@ -5,7 +5,6 @@ Xdt.Tests Xdt.Tests net45 - false diff --git a/NETCORE/src/Microsoft.ApplicationInsights.WorkerService/Microsoft.ApplicationInsights.WorkerService.csproj b/NETCORE/src/Microsoft.ApplicationInsights.WorkerService/Microsoft.ApplicationInsights.WorkerService.csproj index 8eb7756d7..19d140894 100644 --- a/NETCORE/src/Microsoft.ApplicationInsights.WorkerService/Microsoft.ApplicationInsights.WorkerService.csproj +++ b/NETCORE/src/Microsoft.ApplicationInsights.WorkerService/Microsoft.ApplicationInsights.WorkerService.csproj @@ -1,16 +1,6 @@  - - - true - true - true - true - true - true - - Microsoft.ApplicationInsights.WorkerService netstandard2.0 diff --git a/WEB/Src/DependencyCollector/DependencyCollector.Tests/DependencyCollector.Tests.csproj b/WEB/Src/DependencyCollector/DependencyCollector.Tests/DependencyCollector.Tests.csproj index c4199282f..1dfaaf97e 100644 --- a/WEB/Src/DependencyCollector/DependencyCollector.Tests/DependencyCollector.Tests.csproj +++ b/WEB/Src/DependencyCollector/DependencyCollector.Tests/DependencyCollector.Tests.csproj @@ -3,7 +3,7 @@ net45;netcoreapp2.1;netcoreapp3.1 - Microsoft.ApplicationInsights.DependencyCollector.NetCore.Tests + Microsoft.ApplicationInsights.DependencyCollector.Tests Microsoft.AI.DependencyCollector.Tests true diff --git a/WEB/Src/DependencyCollector/DependencyCollector/Properties/AssemblyInfo.cs b/WEB/Src/DependencyCollector/DependencyCollector/Properties/AssemblyInfo.cs index f0682814a..896f1366f 100644 --- a/WEB/Src/DependencyCollector/DependencyCollector/Properties/AssemblyInfo.cs +++ b/WEB/Src/DependencyCollector/DependencyCollector/Properties/AssemblyInfo.cs @@ -9,9 +9,7 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] -[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.DependencyCollector.Net45.Tests, PublicKey=" + AssemblyInfo.PublicKey)] -[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.DependencyCollector.Net46.Tests, PublicKey=" + AssemblyInfo.PublicKey)] -[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.DependencyCollector.NetCore.Tests, PublicKey=" + AssemblyInfo.PublicKey)] +[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.DependencyCollector.Tests, PublicKey=" + AssemblyInfo.PublicKey)] // Assembly dynamically generated by Moq in unit tests [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=" + AssemblyInfo.MoqPublicKey)] diff --git a/WEB/Src/HostingStartup/HostingStartup.Tests/HostingStartup.Tests.csproj b/WEB/Src/HostingStartup/HostingStartup.Tests/HostingStartup.Tests.csproj index 497ab2039..9f389e379 100644 --- a/WEB/Src/HostingStartup/HostingStartup.Tests/HostingStartup.Tests.csproj +++ b/WEB/Src/HostingStartup/HostingStartup.Tests/HostingStartup.Tests.csproj @@ -5,7 +5,6 @@ Microsoft.ApplicationInsights.HostingStartup.Tests Microsoft.ApplicationInsights.HostingStartup.Tests net45 - false diff --git a/WEB/Src/HostingStartup/HostingStartup.Tests/Properties/AssemblyInfo.cs b/WEB/Src/HostingStartup/HostingStartup.Tests/Properties/AssemblyInfo.cs index 305bc43c4..3ffd2469d 100644 --- a/WEB/Src/HostingStartup/HostingStartup.Tests/Properties/AssemblyInfo.cs +++ b/WEB/Src/HostingStartup/HostingStartup.Tests/Properties/AssemblyInfo.cs @@ -9,18 +9,6 @@ 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("HostingStartup.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("HostingStartup.Tests")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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. diff --git a/WEB/Src/PerformanceCollector/Xdt.Tests/Xdt.Tests.csproj b/WEB/Src/PerformanceCollector/Xdt.Tests/Xdt.Tests.csproj index 62e3afa7c..8f9bc2b07 100644 --- a/WEB/Src/PerformanceCollector/Xdt.Tests/Xdt.Tests.csproj +++ b/WEB/Src/PerformanceCollector/Xdt.Tests/Xdt.Tests.csproj @@ -6,7 +6,6 @@ Xdt.Tests net45 false - false diff --git a/WEB/Src/Web/Web.Tests/Web.Tests.csproj b/WEB/Src/Web/Web.Tests/Web.Tests.csproj index 08d5f3b14..cf637fae6 100644 --- a/WEB/Src/Web/Web.Tests/Web.Tests.csproj +++ b/WEB/Src/Web/Web.Tests/Web.Tests.csproj @@ -4,7 +4,6 @@ Microsoft.ApplicationInsights.Web.Tests net45 - false