-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
56 lines (52 loc) · 2.59 KB
/
Directory.Build.props
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<Project>
<PropertyGroup>
<Version>0.0.1</Version>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<RootDir>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RootDir>
<CIBuild Condition=" '$(NBGV_CloudBuildNumber)' != '' or '$(GITHUB_SHA)' != '' ">true</CIBuild>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DefaultTargetFramework>net9.0</DefaultTargetFramework>
<RollForward>Major</RollForward>
<RepoBuildPath>$(RootDir)build\</RepoBuildPath>
<RepoBinPath>$(RepoBuildPath)bin\</RepoBinPath>
<RepoObjPath>$(RepoBuildPath)obj\</RepoObjPath>
<BaseIntermediateOutputPath>$(RepoObjPath)$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(RepoBinPath)$(MSBuildProjectName)\</BaseOutputPath>
<TargetFramework Condition=" '$(TargetFramework)' == '' ">$(DefaultTargetFramework)</TargetFramework>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageOutputPath>$(RepoBuildPath)packages\$(Configuration)\</PackageOutputPath>
<Company>PostHog, Inc.</Company>
<Copyright>Copyright © 2025</Copyright>
<Authors>PostHog</Authors>
<PackageTags>analytics;posthog;feature-flags</PackageTags>
<RepositoryUrl>https://github.com/PostHog/posthog-dotnet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>package-icon.png</PackageIcon>
</PropertyGroup>
<Target Name="CleanBuildArtifacts" AfterTargets="AfterClean">
<RemoveDir Directories="$(OutputPath);$(PackageOutputPath)" />
</Target>
<Target Name="ReportVersions" AfterTargets="AfterBuild">
<Message Importance="High" Text="$(AssemblyName) -> $(NuGetPackageVersion)" />
</Target>
<!-- Global Warning Suppressions -->
<PropertyGroup>
<!--
Since we don't have a synchronization context, we don't need
to worry about this. Also, we're a library, so it's incumbent
on the caller to worry about this, not us.
-->
<NoWarn>CA2007</NoWarn>
<!--
Someday we'll use resource strings.
-->
<NoWarn>CA1303; $(NoWarn)</NoWarn>
</PropertyGroup>
</Project>