-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Directory.Build.props
79 lines (68 loc) · 3.24 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFrameworks Condition="'$(SDK_VERSION)' == ''">net8.0;net9.0</TargetFrameworks>
<!--suppress MsbuildTargetFrameworkTagInspection -->
<TargetFrameworks Condition="'$(SDK_VERSION)' == 'net8'">net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(SDK_VERSION)' == 'net9'">net8.0;net9.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<TrimmerSingleWarn>false</TrimmerSingleWarn>
<NoWarn>NU1507;NU1903;CS9107</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName.StartsWith('TUnit.Analyzers.Roslyn'))">
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<AssemblyName>TUnit.Analyzers</AssemblyName>
<RootNamespace>TUnit.Analyzers</RootNamespace>
<IsPackable>false</IsPackable>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName.StartsWith('TUnit.Core.SourceGenerator.Roslyn'))">
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<AssemblyName>TUnit.Core.SourceGenerator</AssemblyName>
<RootNamespace>TUnit.Core.SourceGenerator</RootNamespace>
<IsPackable>false</IsPackable>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>TUnit.Engine</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>TUnit.UnitTests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<PropertyGroup>
<CurrentYear>$([System.DateTime]::Now.ToString("yyyy"))</CurrentYear>
</PropertyGroup>
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) Tom Longhurst $(CurrentYear)</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/thomhurst/TUnit</PackageProjectUrl>
<Description>A .NET Testing Framework</Description>
<Authors>Tom Longhurst</Authors>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageIcon>logo.png</PackageIcon>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PackageTags>testing;unit;integration;component;test;assert;tester;framework</PackageTags>
</PropertyGroup>
<PropertyGroup>
<RoslynVersion Condition="'$(RoslynVersion)' == ''">4.7</RoslynVersion>
</PropertyGroup>
<PropertyGroup>
<IsTestingPlatformApplication Condition="'$(IsTestingPlatformApplication)' == ''">false</IsTestingPlatformApplication>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)assets/logo.png" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>