-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
45 lines (37 loc) · 1.83 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
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<ArtifactsDir>$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts'))</ArtifactsDir>
<ArtifactsBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin'))</ArtifactsBinDir>
<ArtifactsObjDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'obj'))</ArtifactsObjDir>
<BaseOutputPath>$([System.IO.Path]::GetFullPath('$(ArtifactsBinDir)$(MSBuildProjectName)\'))</BaseOutputPath>
<BaseIntermediateOutputPath>$([System.IO.Path]::GetFullPath('$(ArtifactsObjDir)$(MSBuildProjectName)\'))</BaseIntermediateOutputPath>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
</PropertyGroup>
<PropertyGroup>
<Authors>Viktor Hofer</Authors>
<Company>Viktor Hofer</Company>
<Copyright>© Viktor Hofer</Copyright>
<PackageProjectUrl>https://github.com/ViktorHofer/PackAsAnalyzer</PackageProjectUrl>
<PackageIcon Condition="'$(PackageIcon)' == ''">Icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIconPath>$(MSBuildThisFileDirectory)$(PackageIcon)</PackageIconPath>
<RepositoryUrl>https://github.com/ViktorHofer/PackAsAnalyzer.git</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Include="Sdk\**"
Pack="true"
PackagePath="Sdk\" />
<None Include="$(MSBuildThisFileDirectory)README.md"
Pack="true"
PackagePath="\" />
<None Include="$(PackageIconPath)"
Pack="true"
PackagePath="\"
Visible="false" />
</ItemGroup>
</Project>