diff --git a/src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj b/src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj index ecc41472c..260f1ed93 100644 --- a/src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj +++ b/src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj @@ -62,16 +62,16 @@ - - + + - - - - - - - + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Microsoft.Graph.DotnetCore.Core.Test/Microsoft.Graph.DotnetCore.Core.Test.csproj b/tests/Microsoft.Graph.DotnetCore.Core.Test/Microsoft.Graph.DotnetCore.Core.Test.csproj index 854a28a59..0e2a5acf0 100644 --- a/tests/Microsoft.Graph.DotnetCore.Core.Test/Microsoft.Graph.DotnetCore.Core.Test.csproj +++ b/tests/Microsoft.Graph.DotnetCore.Core.Test/Microsoft.Graph.DotnetCore.Core.Test.csproj @@ -18,7 +18,7 @@ all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Microsoft.Graph.DotnetCore.Core.Test/Requests/GraphClientFactoryTests.cs b/tests/Microsoft.Graph.DotnetCore.Core.Test/Requests/GraphClientFactoryTests.cs index 84ef41db8..d48de2414 100644 --- a/tests/Microsoft.Graph.DotnetCore.Core.Test/Requests/GraphClientFactoryTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Core.Test/Requests/GraphClientFactoryTests.cs @@ -77,7 +77,8 @@ public void Should_CreatePipeline_Without_HttpMessageHandlerInput() using ParametersNameDecodingHandler odataQueryHandler = (ParametersNameDecodingHandler)redirectHandler.InnerHandler; using UserAgentHandler userAgentHandler = (UserAgentHandler)odataQueryHandler.InnerHandler; using HeadersInspectionHandler headersInspectionHandler = (HeadersInspectionHandler)userAgentHandler.InnerHandler; - using GraphTelemetryHandler telemetryHandler = (GraphTelemetryHandler)headersInspectionHandler.InnerHandler; + using BodyInspectionHandler bodyInspectionHandler = (BodyInspectionHandler)headersInspectionHandler.InnerHandler; + using GraphTelemetryHandler telemetryHandler = (GraphTelemetryHandler)bodyInspectionHandler.InnerHandler; using MockRedirectHandler innerMost = (MockRedirectHandler)telemetryHandler.InnerHandler; Assert.NotNull(telemetryHandler); @@ -106,7 +107,8 @@ public void CreatePipelineWithHttpMessageHandlerInput() using ParametersNameDecodingHandler odataQueryHandler = (ParametersNameDecodingHandler)redirectHandler.InnerHandler; using UserAgentHandler userAgentHandler = (UserAgentHandler)odataQueryHandler.InnerHandler; using HeadersInspectionHandler headersInspectionHandler = (HeadersInspectionHandler)userAgentHandler.InnerHandler; - using GraphTelemetryHandler telemetryHandler = (GraphTelemetryHandler)headersInspectionHandler.InnerHandler; + using BodyInspectionHandler bodyInspectionHandler = (BodyInspectionHandler)headersInspectionHandler.InnerHandler; + using GraphTelemetryHandler telemetryHandler = (GraphTelemetryHandler)bodyInspectionHandler.InnerHandler; using MockRedirectHandler innerMost = (MockRedirectHandler)telemetryHandler.InnerHandler; Assert.NotNull(telemetryHandler);