/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v8.0.5
test/Directory.Build.props
25 строк
1 KB
Brar Piening
Update the .NET TFMs for Npgsql 8 (#4878)
26 фев 2023, 20:38
Не верифицирован
26 фев 2023, 20:38
64a0bfa
Код
Авторство
О чём код?
<Project> <Import Project="../Directory.Build.props" /> <PropertyGroup> <TargetFrameworks Condition="'$(DeveloperBuild)' != 'True'">net8.0;netcoreapp3.1</TargetFrameworks> <TargetFramework Condition="'$(DeveloperBuild)' == 'True'">net8.0</TargetFramework> <IsPackable>false</IsPackable> <!-- Suppress warnings for [RequiresPreviewFeatures] (<EnablePreviewFeatures> doesn't seem to work across <ProjectReference>) --> <NoWarn>$(NoWarn);CA2252</NoWarn> </PropertyGroup> <!-- We use the netcoreapp3.1 TFM to tests compatibility with netstandard2.0 but may of the the packages issue warnings because they have not been tested with netcoreapp3.1. Since testing for compatibility is exactly what we want to do here, we disable the warnings. --> <PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1'"> <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> </PropertyGroup> <ItemGroup> <PackageReference Include="GitHubActionsTestLogger" /> </ItemGroup> </Project>