-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpenTelemetry.AutoInstrumentation.csproj
More file actions
64 lines (57 loc) · 3.52 KB
/
OpenTelemetry.AutoInstrumentation.csproj
File metadata and controls
64 lines (57 loc) · 3.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CommonExcludedAssets.props" />
<PropertyGroup>
<PackageId>OpenTelemetry.AutoInstrumentation.Runtime.Managed</PackageId>
<Description>Managed components used by the OpenTelemetry.AutoInstrumentation project.</Description>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<GeneratedFolder>Generated</GeneratedFolder>
<CompilerGeneratedFilesOutputPath>$(GeneratedFolder)\$(TargetFramework)</CompilerGeneratedFilesOutputPath>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<!-- Do not catch general exception types. Typically, we need to handle all Exception to do not break application. -->
<NoWarn>$(NoWarn);CA1031</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\SourceGenerators\SourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer" />
<Compile Remove="$(GeneratedFolder)/*/**/*.cs" />
</ItemGroup>
<!-- Separate dependencies are to be shipped in the distribution but not on the NuGet package -->
<ItemGroup Condition="$(_IsPacking) != true">
<!-- Dependencies below are shipped on the distribution folder, but not included in the NuGet package. -->
<!-- If necessary these packages are flagged by custom build tasks and manually added to the targeted -->
<!-- projects that are using the NuGet package. -->
<PackageReference Include="OpenTelemetry.Instrumentation.StackExchangeRedis" Condition=" '$(TargetFramework)' == 'net8.0' " />
</ItemGroup>
<ItemGroup>
<PackageReference Include="OpenTelemetry" />
<PackageReference Include="OpenTelemetry.Api" />
<PackageReference Include="OpenTelemetry.Exporter.Console" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" />
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.HttpListener" />
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" />
<PackageReference Include="OpenTelemetry.Extensions.Propagators" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" />
<PackageReference Include="OpenTelemetry.Instrumentation.Quartz" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" />
<PackageReference Include="OpenTelemetry.Instrumentation.Process" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" />
<PackageReference Include="OpenTelemetry.Resources.Azure" />
<PackageReference Include="OpenTelemetry.Resources.Host" />
<PackageReference Include="OpenTelemetry.Resources.OperatingSystem" />
<PackageReference Include="OpenTelemetry.Resources.Process" />
<PackageReference Include="OpenTelemetry.Resources.ProcessRuntime" />
<PackageReference Include="OpenTelemetry.Shims.OpenTracing" />
<PackageReference Include="OpenTelemetry.Instrumentation.Wcf" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
<Reference Include="System.ServiceModel" ExcludeAssets="all" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNet" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" />
<PackageReference Include="OpenTelemetry.Instrumentation.EntityFrameworkCore" />
<PackageReference Include="OpenTelemetry.Resources.Container" />
</ItemGroup>
</Project>