-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
32 lines (32 loc) · 1.63 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
<Project>
<PropertyGroup>
<Product>Bluehill.Deconstructors</Product>
<PackageProjectUrl>https://na1307.github.io/Bluehill.Deconstructors</PackageProjectUrl>
<PackageTags>deconstructor;deconstruct;na1307;bluehill</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>https://na1307.github.io/Bluehill.Deconstructors/CHANGELOG.html</PackageReleaseNotes>
<RepositoryUrl>https://github.com/na1307/Bluehill.Deconstructors</RepositoryUrl>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName.Substring($([MSBuild]::Subtract($(MSBuildProjectName.Length), 5))))' == 'Tests'">
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<PropertyGroup Condition="'$(IsTestProject)' == 'true'">
<TargetFramework>net9.0</TargetFramework>
<IsPackable>false</IsPackable>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</RestoreLockedMode>
</PropertyGroup>
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<Using Include="Xunit" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="xunit.runner.visualstudio">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="xunit.v3" />
</ItemGroup>
</Project>