|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - <PropertyGroup> |
3 | | - <!--x-release-please-start-version--> |
4 | | - <Version>0.0.0</Version> |
5 | | - <!--x-release-please-end--> |
6 | | - <Nullable>disable</Nullable> |
7 | | - <!-- The BUILDFRAMEWORKS variable allows us to override the target frameworks with a |
8 | | - single framework that we are testing; this allows us to test with older SDK |
9 | | - versions that would error out if they saw any newer target frameworks listed |
10 | | - here, even if we weren't running those. --> |
11 | | - <BuildFrameworks Condition="'$(BUILDFRAMEWORKS)' == ''">netstandard2.0;net471;net8.0</BuildFrameworks> |
12 | | - <TargetFrameworks>$(BUILDFRAMEWORKS)</TargetFrameworks> |
13 | | - <LangVersion>7.3</LangVersion> |
14 | | - |
15 | | - <Description>LaunchDarkly Observability for Server-Side .NET SDK</Description> |
16 | | - <Authors>LaunchDarkly</Authors> |
17 | | - <Owners>LaunchDarkly</Owners> |
18 | | - <Company>LaunchDarkly</Company> |
19 | | - <Copyright>Copyright 2025 Catamorphic, Co</Copyright> |
20 | | - <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
21 | | - <PackageProjectUrl>https://github.com/launchdarkly/observability-sdk</PackageProjectUrl> |
22 | | - <RepositoryUrl>https://github.com/launchdarkly/observability-sdk</RepositoryUrl> |
23 | | - |
24 | | - <!-- fail if XML comments are missing or invalid --> |
25 | | - <WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors> |
26 | | - </PropertyGroup> |
27 | | - |
28 | | - <!-- Allow the testing project to access internals. --> |
29 | | - <ItemGroup Condition="'$(Configuration)'!='Release'"> |
30 | | - <InternalsVisibleTo Include="LaunchDarkly.Observability.Tests" /> |
31 | | - <!-- Dynamically generated assembly used by Moq. Required for mocking in unit tests. --> |
32 | | - <InternalsVisibleTo Include="DynamicProxyGenAssembly2"/> |
33 | | - </ItemGroup> |
34 | | - |
35 | | - <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(SKIP_SIGNING)'!='true'"> |
36 | | - <AssemblyOriginatorKeyFile>../../../../../LaunchDarkly.snk</AssemblyOriginatorKeyFile> |
37 | | - <SignAssembly>true</SignAssembly> |
38 | | - </PropertyGroup> |
39 | | - |
40 | | - <PropertyGroup> |
41 | | - <IncludeSymbols>true</IncludeSymbols> |
42 | | - <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
43 | | - </PropertyGroup> |
44 | | - |
45 | | - <ItemGroup> |
46 | | - <!-- Open Telemetry Dependencies --> |
47 | | - <PackageReference Include="OpenTelemetry" Version="1.12.0" /> |
48 | | - <PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.12.0" /> |
49 | | - <PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0" /> |
50 | | - <PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0" /> |
51 | | - <PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0" /> |
52 | | - <PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.12.0-beta.1" /> |
53 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.12.0" /> |
54 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="1.12.0-beta.1" /> |
55 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.12.0-beta.1" /> |
56 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.12.0" /> |
57 | | - <PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.12.0-beta.2" /> |
58 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Wcf" Version="1.12.0-beta.1" /> |
59 | | - </ItemGroup> |
60 | | - |
61 | | - <ItemGroup> |
62 | | - <!-- LaunchDarkly Dependencies --> |
63 | | - <PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.10.0,9.0.0)" /> |
64 | | - <PackageReference Include="LaunchDarkly.ServerSdk.Telemetry" Version="[1.3.0,2.0.0)" /> |
65 | | - </ItemGroup> |
66 | | - |
67 | | - <ItemGroup> |
68 | | - <!-- Temporary dependency until: https://github.com/open-telemetry/opentelemetry-dotnet/issues/5973 is resolved. --> |
69 | | - <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0" /> |
70 | | - </ItemGroup> |
71 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <!--x-release-please-start-version--> |
| 4 | + <Version>0.1.0</Version> |
| 5 | + <!--x-release-please-end--> |
| 6 | + <Nullable>disable</Nullable> |
| 7 | + <!-- The BUILDFRAMEWORKS variable allows us to override the target frameworks with a |
| 8 | + single framework that we are testing; this allows us to test with older SDK |
| 9 | + versions that would error out if they saw any newer target frameworks listed |
| 10 | + here, even if we weren't running those. --> |
| 11 | + <BuildFrameworks Condition="'$(BUILDFRAMEWORKS)' == ''">netstandard2.0;net471;net8.0</BuildFrameworks> |
| 12 | + <TargetFrameworks>$(BUILDFRAMEWORKS)</TargetFrameworks> |
| 13 | + <LangVersion>7.3</LangVersion> |
| 14 | + |
| 15 | + <Description>LaunchDarkly Observability for Server-Side .NET SDK</Description> |
| 16 | + <Authors>LaunchDarkly</Authors> |
| 17 | + <Owners>LaunchDarkly</Owners> |
| 18 | + <Company>LaunchDarkly</Company> |
| 19 | + <Copyright>Copyright 2025 Catamorphic, Co</Copyright> |
| 20 | + <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
| 21 | + <PackageProjectUrl>https://github.com/launchdarkly/observability-sdk</PackageProjectUrl> |
| 22 | + <RepositoryUrl>https://github.com/launchdarkly/observability-sdk</RepositoryUrl> |
| 23 | + |
| 24 | + <!-- fail if XML comments are missing or invalid --> |
| 25 | + <WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors> |
| 26 | + </PropertyGroup> |
| 27 | + |
| 28 | + <!-- Allow the testing project to access internals. --> |
| 29 | + <ItemGroup Condition="'$(Configuration)'!='Release'"> |
| 30 | + <InternalsVisibleTo Include="LaunchDarkly.Observability.Tests" /> |
| 31 | + <!-- Dynamically generated assembly used by Moq. Required for mocking in unit tests. --> |
| 32 | + <InternalsVisibleTo Include="DynamicProxyGenAssembly2"/> |
| 33 | + </ItemGroup> |
| 34 | + |
| 35 | + <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(SKIP_SIGNING)'!='true'"> |
| 36 | + <AssemblyOriginatorKeyFile>../../../../../LaunchDarkly.snk</AssemblyOriginatorKeyFile> |
| 37 | + <SignAssembly>true</SignAssembly> |
| 38 | + </PropertyGroup> |
| 39 | + |
| 40 | + <PropertyGroup> |
| 41 | + <IncludeSymbols>true</IncludeSymbols> |
| 42 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 43 | + </PropertyGroup> |
| 44 | + |
| 45 | + <ItemGroup> |
| 46 | + <!-- Open Telemetry Dependencies --> |
| 47 | + <PackageReference Include="OpenTelemetry" Version="1.12.0" /> |
| 48 | + <PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.12.0" /> |
| 49 | + <PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0" /> |
| 50 | + <PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0" /> |
| 51 | + <PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0" /> |
| 52 | + <PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.12.0-beta.1" /> |
| 53 | + <PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.12.0" /> |
| 54 | + <PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="1.12.0-beta.1" /> |
| 55 | + <PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.12.0-beta.1" /> |
| 56 | + <PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.12.0" /> |
| 57 | + <PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.12.0-beta.2" /> |
| 58 | + <PackageReference Include="OpenTelemetry.Instrumentation.Wcf" Version="1.12.0-beta.1" /> |
| 59 | + </ItemGroup> |
| 60 | + |
| 61 | + <ItemGroup> |
| 62 | + <!-- LaunchDarkly Dependencies --> |
| 63 | + <PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.10.0,9.0.0)" /> |
| 64 | + <PackageReference Include="LaunchDarkly.ServerSdk.Telemetry" Version="[1.3.0,2.0.0)" /> |
| 65 | + </ItemGroup> |
| 66 | + |
| 67 | + <ItemGroup> |
| 68 | + <!-- Temporary dependency until: https://github.com/open-telemetry/opentelemetry-dotnet/issues/5973 is resolved. --> |
| 69 | + <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0" /> |
| 70 | + </ItemGroup> |
| 71 | +</Project> |
0 commit comments