-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
36 lines (35 loc) · 1.4 KB
/
Directory.Build.props
File metadata and controls
36 lines (35 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Project>
<PropertyGroup>
<!-- Disable annoying warnings -->
<NoWarn>;NU1608</NoWarn>
<NoWarn>;CS0169</NoWarn>
<!-- Use latest C# version. -->
<LangVersion>latest</LangVersion>
<!-- Use .NET 8+ build structure -->
<UseArtifactsOutput>true</UseArtifactsOutput>
<ArtifactsPath>$(MSBuildThisFileDirectory).artifacts</ArtifactsPath>
<!-- Common package properties -->
<Authors>martycook</Authors>
<Company>CodeGator</Company>
<Copyright>Copyright © 2002 - 2026 by CodeGator. All rights reserved.</Copyright>
<Product>MimiCloud</Product>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<RepositoryUrl>https://github.com/codegator/MimiCloud</RepositoryUrl>
<!-- Don't Freak Azure Pipelines Out -->
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
<!-- Suppress appsettingsschema.json errors by creating empty schema file if it doesn't exist -->
<Target Name="EnsureAppSettingsSchema" BeforeTargets="Build">
<PropertyGroup>
<AppSettingsSchemaPath>$(TEMP)\appsettingsschema.json</AppSettingsSchemaPath>
</PropertyGroup>
<WriteLinesToFile
File="$(AppSettingsSchemaPath)"
Lines="{}"
Overwrite="false"
Condition="!Exists('$(AppSettingsSchemaPath)')" />
</Target>
</Project>