From c13a9525ba329b8bd5827f9d4fbaf2bfeb3d739b Mon Sep 17 00:00:00 2001 From: Alexandros Kritikos Date: Wed, 19 Mar 2025 00:31:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Adds=20basic=20Configuration=20f?= =?UTF-8?q?or=20all=20projects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Directory.Build.props | 227 ++++++++++++++++++++++++++++++++++++++++ Directory.Build.targets | 67 ++++++++++++ 2 files changed, 294 insertions(+) create mode 100644 Directory.Build.props create mode 100644 Directory.Build.targets diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..7430feb --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,227 @@ + + + + + + + true + + true + + Kritikos.$(MSBuildProjectName) + + enable + + true + true + $(NoWarn);1591;1701;1702;NU1507 + + false + + true + + true + + true + + enable + + True + + preview + All + true + + true + + true + false + + preview + false + + true + PerMonitorV2 + true + true + False + $(DefaultItemExcludes);*.log;*.binlog + + + + $(MSBuildThisFileDirectory)artifacts + + + + + true + + true + + + + + $(MSBuildThisFileDirectory)\icon.png + + + $(MSBuildProjectDirectory)\icon.png + + true + + + $(MSBuildThisFileDirectory)\README.md + + + $(MSBuildProjectDirectory)\README.md + + true + + + + false + false + + + + true + + + + true + $(MSBuildProjectDirectory)/OpenApi + + + + Full + true + true + + + + + + $(InterceptorsPreviewNamespaces);Microsoft.EntityFrameworkCore.GeneratedInterceptors + + true + build + + + + + + true + + + true + + + true + + + true + + + + + + + + + + + true + + + + <_Parameter1>$(ClsCompliant) + <_Parameter1_TypeName>System.Boolean + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)\dotnet.ruleset + + + + + + PreserveNewest + + + + + + + + + + + $(RootNamespace) + Kritikos IO + Alexandros Kritikos + $([System.DateTime]::Now.ToString(yyyy)) + Copyright © 2017-$(CurrentYear) Kritikos IO. All rights reserved. + false + $(MSBuildThisFileDirectory)/packages + $(MSBuildThisFileDirectory)/upload/$(ProjectName) + icon.png + README.md + true + git + + + true + + true + true + snupkg + Apache-2.0 + true + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 0000000..7e745b0 --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,67 @@ + + + + + + + false + false + true + + + + + + + + + + + + + + + + + + + + + + <_Parameter1>%(InternalsVisibleTo.Identity) + + + + + + + <_Parameter1>$(AssemblyName)%(InternalsVisibleToSuffix.Identity) + + + + + + + + + + @(ReleaseNoteLines, '%0a') + + +