-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
53 lines (45 loc) · 2.98 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
<?xml version="1.0" encoding="utf-8" ?>
<Project>
<PropertyGroup>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
<IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
<SolutionRoot>$(MSBuildThisFileDirectory)</SolutionRoot>
<RepositoryEngineeringDir>$(SolutionRoot)eng/</RepositoryEngineeringDir>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ArtifactsDir>$([MSBuild]::NormalizeDirectory('$(SolutionRoot)', 'artifacts'))</ArtifactsDir>
<ArtifactsBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin'))</ArtifactsBinDir>
<ArtifactsObjDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'obj'))</ArtifactsObjDir>
<PackageOutputPath>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'packages', '$(PlatformName)', '$(Configuration)'))</PackageOutputPath>
<BaseIntermediateOutputPath>$([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', '$(MSBuildProjectName)'))</BaseIntermediateOutputPath>
<MSBuildProjectExtensionsPath>$(BaseIntermediateOutputPath)</MSBuildProjectExtensionsPath>
<BaseOutputPath>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', '$(MSBuildProjectName)'))</BaseOutputPath>
<IntermediateOutputPath Condition="'$(PlatformName)' == 'AnyCPU'">$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
<IntermediateOutputPath Condition="'$(PlatformName)' != 'AnyCPU'">$(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\</IntermediateOutputPath>
<NoWarn Condition="$(MSBuildProjectName.Contains('Test'))">$(NoWarn);CS8002</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
</PropertyGroup>
<PropertyGroup>
<ConfigurationSecretsManagerVersion>0.5.1</ConfigurationSecretsManagerVersion>
</PropertyGroup>
<PropertyGroup>
<Authors>Matt DeKrey</Authors>
<PackageProjectUrl>https://github.com/PrincipleStudios/dotnet-extensions</PackageProjectUrl>
<RepositoryUrl>https://github.com/PrincipleStudios/dotnet-extensions.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<RepositoryBranch>main</RepositoryBranch>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageIcon>principle_square.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<Copyright>Matt DeKrey & Principle Studios</Copyright>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)assets\principle_square.png" Pack="true" PackagePath="\" Visible="false"/>
<None Include="$(MSBuildThisFileDirectory)assets\readme.md" Pack="true" PackagePath="\" Visible="false"/>
</ItemGroup>
<Target Name="_FormatSourceFiles" BeforeTargets="BeforeBuild" Inputs="@(Compile)" Outputs="@(IntermediateAssembly)">
<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet format" />
</Target>
</Project>