<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <!-- To avoid application crash with .Net Core 3.1 and .NET 5.0 apps 
         this project should target netcoreapp3.1.
         Reference: https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/issues/1644 -->
    <TargetFrameworks>netcoreapp3.1</TargetFrameworks>
    <Description>StartupHook used by the OpenTelemetry.AutoInstrumentation project.</Description>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Constants.cs" Link="Constants.cs" />
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\InternalLogger.cs">
      <Link>Logging\InternalLogger.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\NoopLogger.cs">
      <Link>Logging\NoopLogger.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\ConsoleSink.cs">
      <Link>Logging\ConsoleSink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\FileSink.cs">
      <Link>Logging\FileSink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\RollingFileSink.cs">
      <Link>Logging\RollingFileSink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\PeriodicFlushToDiskSink.cs">
      <Link>Logging\PeriodicFlushToDiskSink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\RollingInterval.cs">
      <Link>Logging\RollingInterval.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\PathRoller.cs">
      <Link>Logging\PathRoller.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\RollingLogFile.cs">
      <Link>Logging\RollingLogFile.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\RollingIntervalExtensions.cs">
      <Link>Logging\RollingIntervalExtensions.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\IOtelLogger.cs">
      <Link>Logging\IOtelLogger.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\ISink.cs">
      <Link>Logging\ISink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\LogLevel.cs">
      <Link>Logging\LogLevel.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\LogSink.cs">
      <Link>Logging\LogSink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\NoopSink.cs">
      <Link>Logging\NoopSink.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\OtelLogging.cs">
      <Link>Logging\OtelLogging.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Logging\WriteCountingStream.cs">
      <Link>Logging\WriteCountingStream.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\AutoInstrumentationEventSource.cs">
      <Link>AutoInstrumentationEventSource.cs</Link>
    </Compile>
    <Compile Include="..\OpenTelemetry.AutoInstrumentation\Configurations\ConfigurationKeys.FailFast.cs">
      <Link>Configurations\ConfigurationKeys.FailFast.cs</Link>
    </Compile>
  </ItemGroup>

</Project>
