-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
39 lines (34 loc) · 1.65 KB
/
Directory.Build.props
File metadata and controls
39 lines (34 loc) · 1.65 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
37
38
39
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
<Choose>
<When Condition="$(MSBuildProjectName.EndsWith('.Tests')) OR $(MSBuildProjectName.EndsWith('.Tests.UI')) OR $(MSBuildProjectName.EndsWith('.Samples'))">
<!-- Adda anything specific to non-publishable projects here. -->
</When>
<Otherwise>
<PropertyGroup>
<Authors>Lombiq Technologies</Authors>
<Copyright>Copyright © 2025, Lombiq Technologies Ltd.</Copyright>
<PackageIcon>NuGetIcon.png</PackageIcon>
<PackageTags>OrchardCore;Lombiq;AspNetCore</PackageTags>
<RepositoryUrl>https://github.com/Lombiq/MSBuild-Targets</RepositoryUrl>
<PackageProjectUrl>https://github.com/Lombiq/MSBuild-Targets</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<None Include="Readme.md" Condition="Exists('Readme.md')" />
<None Include="NuGetIcon.png" Pack="true" PackagePath="" Condition="Exists('NuGetIcon.png')" />
<None Include="Sdk\**" Pack="true" PackagePath="Sdk\" Condition="Exists('Sdk')" />
<None Include="build\**" Pack="true" PackagePath="build\" Condition="Exists('build')" />
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Sdk')) AND MSBuildProjectName != 'Lombiq.MSBuild.Base.Sdk'">
<None Include="..\Lombiq.MSBuild.Base.Sdk\Sdk\*.*"
Link="Lombiq.MSBuild.Base.Sdk\*.*"
Pack="true"
PackagePath="Lombiq.MSBuild.Base.Sdk\"
Visible="false"/>
</ItemGroup>
</Otherwise>
</Choose>
</Project>