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

    <PropertyGroup>
        <TargetFrameworks>net8.0;net10.0</TargetFrameworks>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
    </PropertyGroup>

    <ItemGroup>
        <InternalsVisibleTo Include="Microsoft.Teams.Bot.Core.UnitTests" />
        <InternalsVisibleTo Include="Microsoft.Teams.Bot.Apps" />
		<InternalsVisibleTo Include="Microsoft.Teams.Bot.Compat" />
    </ItemGroup>
    <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
        <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.22" />
        <PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.22" />
        <PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.1" />
		<PackageReference Include="System.Security.Cryptography.Xml" Version="8.0.3" />
    </ItemGroup>
    <ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
        <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.6" />
        <PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.6" />
		<PackageReference Include="System.Security.Cryptography.Xml" Version="10.0.6" />
    </ItemGroup>
    <ItemGroup>
        <PackageReference Include="Microsoft.Identity.Web.UI" Version="4.7.0" />
        <PackageReference Include="Microsoft.Identity.Web.AgentIdentities" Version="4.7.0" />
    </ItemGroup>
    <ItemGroup>
        <Using Include="System.Text.Json.Serialization" />
    </ItemGroup>
</Project>
