diff --git a/Src/Common/InjectionGuardConstants.cs b/Src/Common/InjectionGuardConstants.cs index 48f7fda6..23d0d31d 100644 --- a/Src/Common/InjectionGuardConstants.cs +++ b/Src/Common/InjectionGuardConstants.cs @@ -5,12 +5,7 @@ /// These max limits are intentionally exaggerated to allow for unexpected responses, while still guarding against unreasonably large responses. /// Example: While a 32 character response may be expected, 50 characters may be permitted while a 10,000 character response would be unreasonable and malicious. /// -#if DEPENDENCY_COLLECTOR - public -#else - internal -#endif - static class InjectionGuardConstants + internal static class InjectionGuardConstants { /// /// Max length of AppId allowed in response from Breeze. diff --git a/Src/Common/StringUtilities.cs b/Src/Common/StringUtilities.cs index 078cd880..2bf60afe 100644 --- a/Src/Common/StringUtilities.cs +++ b/Src/Common/StringUtilities.cs @@ -8,12 +8,7 @@ /// /// Generic functions to perform common operations on a string. /// -#if DEPENDENCY_COLLECTOR - public -#else - internal -#endif - static class StringUtilities + internal static class StringUtilities { private static readonly uint[] Lookup32 = CreateLookup32(); diff --git a/Src/Common/W3C/W3CActivityExtensions.cs b/Src/Common/W3C/W3CActivityExtensions.cs index b7d2b457..990eb90f 100644 --- a/Src/Common/W3C/W3CActivityExtensions.cs +++ b/Src/Common/W3C/W3CActivityExtensions.cs @@ -13,12 +13,7 @@ /// [Obsolete("Not ready for public consumption.")] [EditorBrowsable(EditorBrowsableState.Never)] -#if DEPENDENCY_COLLECTOR - public -#else - internal -#endif - static class W3CActivityExtensions + internal static class W3CActivityExtensions { private static readonly Regex TraceIdRegex = new Regex("^[a-f0-9]{32}$", RegexOptions.Compiled); private static readonly Regex SpanIdRegex = new Regex("^[a-f0-9]{16}$", RegexOptions.Compiled); diff --git a/Src/Common/W3C/W3CConstants.cs b/Src/Common/W3C/W3CConstants.cs index be319055..4d8c2f7c 100644 --- a/Src/Common/W3C/W3CConstants.cs +++ b/Src/Common/W3C/W3CConstants.cs @@ -8,12 +8,7 @@ /// [Obsolete("Not ready for public consumption.")] [EditorBrowsable(EditorBrowsableState.Never)] -#if DEPENDENCY_COLLECTOR - public -#else - internal -#endif - static class W3CConstants + internal static class W3CConstants { /// /// W3C traceparent header name. diff --git a/Src/Common/W3C/W3COperationCorrelationTelemetryInitializer.cs b/Src/Common/W3C/W3COperationCorrelationTelemetryInitializer.cs index 6a10ea13..12f59d8b 100644 --- a/Src/Common/W3C/W3COperationCorrelationTelemetryInitializer.cs +++ b/Src/Common/W3C/W3COperationCorrelationTelemetryInitializer.cs @@ -17,12 +17,7 @@ [Obsolete("Not ready for public consumption.")] [SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "TelemetryInitializers are intended to be instatiated by the framework when added to a config.")] [EditorBrowsable(EditorBrowsableState.Never)] -#if DEPENDENCY_COLLECTOR - public -#else - internal -#endif - class W3COperationCorrelationTelemetryInitializer : ITelemetryInitializer + internal class W3COperationCorrelationTelemetryInitializer : ITelemetryInitializer { private const string RddDiagnosticSourcePrefix = "rdddsc"; private const string SqlRemoteDependencyType = "SQL"; diff --git a/Src/Web/Web/Web.csproj b/Src/Web/Web/Web.csproj index 2c0c6124..bb5be32c 100644 --- a/Src/Web/Web/Web.csproj +++ b/Src/Web/Web/Web.csproj @@ -1,4 +1,4 @@ - + @@ -45,6 +45,10 @@ + + + + diff --git a/Src/WindowsServer/WindowsServer/WindowsServer.csproj b/Src/WindowsServer/WindowsServer/WindowsServer.csproj index 2be9b21a..904afb4c 100644 --- a/Src/WindowsServer/WindowsServer/WindowsServer.csproj +++ b/Src/WindowsServer/WindowsServer/WindowsServer.csproj @@ -36,11 +36,6 @@ - - - runtime - - @@ -57,11 +52,16 @@ - + + + + + +