|
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 | | - <!-- To enable only specific source files. --> |
24 | | - <EnableDefaultCompileItems>false</EnableDefaultCompileItems> |
25 | | - |
26 | | - <!-- fail if XML comments are missing or invalid --> |
27 | | - <WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors> |
28 | | - </PropertyGroup> |
29 | | - |
30 | | - <!-- Allow the testing project to access internals. --> |
31 | | - <ItemGroup Condition="'$(Configuration)'!='Release'"> |
32 | | - <InternalsVisibleTo Include="LaunchDarkly.Observability.Tests"/> |
33 | | - <!-- Dynamically generated assembly used by Moq. Required for mocking in unit tests. --> |
34 | | - <InternalsVisibleTo Include="DynamicProxyGenAssembly2"/> |
35 | | - </ItemGroup> |
36 | | - |
37 | | - <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(SKIP_SIGNING)'!='true'"> |
38 | | - <AssemblyOriginatorKeyFile>../../../../../LaunchDarkly.snk</AssemblyOriginatorKeyFile> |
39 | | - <SignAssembly>true</SignAssembly> |
40 | | - </PropertyGroup> |
41 | | - |
42 | | - <!-- Common --> |
43 | | - <ItemGroup> |
44 | | - <Compile Include="**\*.cs" Exclude="Asp\**\*.cs;bin\**\*.cs;obj\**\*.cs"/> |
45 | | - </ItemGroup> |
46 | | - |
47 | | - <!-- Asp.Net non-core --> |
48 | | - <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'"> |
49 | | - <Compile Include="Asp\Legacy\*.cs" /> |
50 | | - </ItemGroup> |
51 | | - |
52 | | - <!-- Asp.Net Core --> |
53 | | - <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' != 'net'"> |
54 | | - <Compile Include="Asp\Core\*.cs" /> |
55 | | - </ItemGroup> |
56 | | - |
57 | | - <ItemGroup> |
58 | | - <!-- Common Open Telemetry Dependencies --> |
59 | | - <PackageReference Include="OpenTelemetry" Version="1.12.0"/> |
60 | | - <PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.12.0"/> |
61 | | - <PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0"/> |
62 | | - <PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0"/> |
63 | | - <PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.12.0-beta.1"/> |
64 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.12.0"/> |
65 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="1.12.0-beta.1"/> |
66 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.12.0-beta.1"/> |
67 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.12.0"/> |
68 | | - <PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.12.0-beta.2"/> |
69 | | - <PackageReference Include="OpenTelemetry.Instrumentation.Wcf" Version="1.12.0-beta.1"/> |
70 | | - </ItemGroup> |
71 | | - |
72 | | - <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'"> |
73 | | - <!-- Open Telemetry Dependencies for .NET Framework, non-core ASP --> |
74 | | - <PackageReference Include="OpenTelemetry.Instrumentation.AspNet" Version="1.12.0-beta.1"/> |
75 | | - </ItemGroup> |
76 | | - |
77 | | - <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' != 'net'"> |
78 | | - <!-- Open Telemetry Dependencies - ASP.Net Core --> |
79 | | - <PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0"/> |
80 | | - </ItemGroup> |
81 | | - |
82 | | - <ItemGroup> |
83 | | - <!-- LaunchDarkly Dependencies --> |
84 | | - <PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.10.0,9.0.0)"/> |
85 | | - <PackageReference Include="LaunchDarkly.ServerSdk.Telemetry" Version="[1.3.0,2.0.0)"/> |
86 | | - </ItemGroup> |
87 | | - |
88 | | - <PropertyGroup> |
89 | | - <IncludeSymbols>true</IncludeSymbols> |
90 | | - <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
91 | | - </PropertyGroup> |
92 | | - |
93 | | - <ItemGroup> |
94 | | - <!-- Temporary dependency until: https://github.com/open-telemetry/opentelemetry-dotnet/issues/5973 is resolved. --> |
95 | | - <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0"/> |
96 | | - </ItemGroup> |
97 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <!--x-release-please-start-version--> |
| 4 | + <Version>0.2.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 | + <!-- To enable only specific source files. --> |
| 24 | + <EnableDefaultCompileItems>false</EnableDefaultCompileItems> |
| 25 | + |
| 26 | + <!-- fail if XML comments are missing or invalid --> |
| 27 | + <WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors> |
| 28 | + </PropertyGroup> |
| 29 | + |
| 30 | + <!-- Allow the testing project to access internals. --> |
| 31 | + <ItemGroup Condition="'$(Configuration)'!='Release'"> |
| 32 | + <InternalsVisibleTo Include="LaunchDarkly.Observability.Tests"/> |
| 33 | + <!-- Dynamically generated assembly used by Moq. Required for mocking in unit tests. --> |
| 34 | + <InternalsVisibleTo Include="DynamicProxyGenAssembly2"/> |
| 35 | + </ItemGroup> |
| 36 | + |
| 37 | + <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(SKIP_SIGNING)'!='true'"> |
| 38 | + <AssemblyOriginatorKeyFile>../../../../../LaunchDarkly.snk</AssemblyOriginatorKeyFile> |
| 39 | + <SignAssembly>true</SignAssembly> |
| 40 | + </PropertyGroup> |
| 41 | + |
| 42 | + <!-- Common --> |
| 43 | + <ItemGroup> |
| 44 | + <Compile Include="**\*.cs" Exclude="Asp\**\*.cs;bin\**\*.cs;obj\**\*.cs"/> |
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <!-- Asp.Net non-core --> |
| 48 | + <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'"> |
| 49 | + <Compile Include="Asp\Legacy\*.cs" /> |
| 50 | + </ItemGroup> |
| 51 | + |
| 52 | + <!-- Asp.Net Core --> |
| 53 | + <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' != 'net'"> |
| 54 | + <Compile Include="Asp\Core\*.cs" /> |
| 55 | + </ItemGroup> |
| 56 | + |
| 57 | + <ItemGroup> |
| 58 | + <!-- Common Open Telemetry Dependencies --> |
| 59 | + <PackageReference Include="OpenTelemetry" Version="1.12.0"/> |
| 60 | + <PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.12.0"/> |
| 61 | + <PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0"/> |
| 62 | + <PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0"/> |
| 63 | + <PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.12.0-beta.1"/> |
| 64 | + <PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.12.0"/> |
| 65 | + <PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="1.12.0-beta.1"/> |
| 66 | + <PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.12.0-beta.1"/> |
| 67 | + <PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.12.0"/> |
| 68 | + <PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.12.0-beta.2"/> |
| 69 | + <PackageReference Include="OpenTelemetry.Instrumentation.Wcf" Version="1.12.0-beta.1"/> |
| 70 | + </ItemGroup> |
| 71 | + |
| 72 | + <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'"> |
| 73 | + <!-- Open Telemetry Dependencies for .NET Framework, non-core ASP --> |
| 74 | + <PackageReference Include="OpenTelemetry.Instrumentation.AspNet" Version="1.12.0-beta.1"/> |
| 75 | + </ItemGroup> |
| 76 | + |
| 77 | + <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' != 'net'"> |
| 78 | + <!-- Open Telemetry Dependencies - ASP.Net Core --> |
| 79 | + <PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0"/> |
| 80 | + </ItemGroup> |
| 81 | + |
| 82 | + <ItemGroup> |
| 83 | + <!-- LaunchDarkly Dependencies --> |
| 84 | + <PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.10.0,9.0.0)"/> |
| 85 | + <PackageReference Include="LaunchDarkly.ServerSdk.Telemetry" Version="[1.3.0,2.0.0)"/> |
| 86 | + </ItemGroup> |
| 87 | + |
| 88 | + <PropertyGroup> |
| 89 | + <IncludeSymbols>true</IncludeSymbols> |
| 90 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 91 | + </PropertyGroup> |
| 92 | + |
| 93 | + <ItemGroup> |
| 94 | + <!-- Temporary dependency until: https://github.com/open-telemetry/opentelemetry-dotnet/issues/5973 is resolved. --> |
| 95 | + <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0"/> |
| 96 | + </ItemGroup> |
| 97 | +</Project> |
0 commit comments