<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<!--commenting this ItemGroup fixes the issue-->
<ItemGroup>
<Email__Host>smtp.gmail.com</Email__Host>
<Email__UserName>$(EMAIL_USERNAME)</Email__UserName>
<Email__Password>$(EMAIL_PASSWORD)</Email__Password>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0-preview.2.23128.3" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<!--commenting this ItemGroup fixes the issue-->
<ItemGroup>
<Email__Host>smtp.gmail.com</Email__Host>
<Email__UserName>$(EMAIL_USERNAME)</Email__UserName>
<Email__Password>$(EMAIL_PASSWORD)</Email__Password>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0-preview.2.23128.3" />
</ItemGroup>
</Project>