File tree Expand file tree Collapse file tree 4 files changed +18
-22
lines changed
GitHubActionsTestLogger.Demo
GitHubActionsTestLogger.Tests Expand file tree Collapse file tree 4 files changed +18
-22
lines changed Original file line number Diff line number Diff line change 12
12
</PropertyGroup >
13
13
14
14
<!-- Disable nullability warnings on older frameworks because there is no nullability info for BCL -->
15
- <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net462' " >
15
+ <PropertyGroup Condition =" !$([MSBuild]::IsTargetFrameworkCompatible( '$(TargetFramework)', 'netstandard2.1')) " >
16
16
<Nullable >annotations</Nullable >
17
17
</PropertyGroup >
18
18
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
-
3
2
<PropertyGroup >
4
3
<TargetFramework >net9.0</TargetFramework >
5
-
6
4
<!-- Prevent these tests from running by default, since they are intended to fail by design -->
7
5
<IsTestProject >false</IsTestProject >
8
6
</PropertyGroup >
9
-
10
7
<ItemGroup >
11
8
<PackageReference Include =" CSharpier.MsBuild" Version =" 1.0.2" PrivateAssets =" all" />
12
9
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.0" />
13
10
<PackageReference Include =" xunit" Version =" 2.9.3" />
14
11
<PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.0" PrivateAssets =" all" />
15
12
</ItemGroup >
16
-
17
13
<ItemGroup >
18
14
<ProjectReference Include =" ..\GitHubActionsTestLogger\GitHubActionsTestLogger.csproj" />
19
15
</ItemGroup >
20
-
21
- </Project >
16
+ </Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
-
3
2
<PropertyGroup >
4
3
<TargetFramework >net9.0</TargetFramework >
5
4
</PropertyGroup >
6
-
7
5
<ItemGroup >
8
6
<Content Include =" xunit.runner.json" CopyToOutputDirectory =" PreserveNewest" />
9
7
</ItemGroup >
10
-
11
8
<ItemGroup >
12
9
<PackageReference Include =" coverlet.collector" Version =" 6.0.4" PrivateAssets =" all" />
13
10
<PackageReference Include =" CSharpier.MsBuild" Version =" 1.0.2" PrivateAssets =" all" />
16
13
<PackageReference Include =" xunit" Version =" 2.9.3" />
17
14
<PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.0" PrivateAssets =" all" />
18
15
</ItemGroup >
19
-
20
16
<ItemGroup >
21
17
<ProjectReference Include =" ..\GitHubActionsTestLogger\GitHubActionsTestLogger.csproj" />
22
18
</ItemGroup >
23
-
24
- </Project >
19
+ </Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
-
3
2
<PropertyGroup >
4
3
<TargetFrameworks >netstandard2.0;net9.0</TargetFrameworks >
5
4
<IsPackable >true</IsPackable >
6
- <IsTrimmable Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))" >true</IsTrimmable >
7
- <IsAotCompatible Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))" >true</IsAotCompatible >
5
+ <IsTrimmable
6
+ Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))"
7
+ >true</IsTrimmable
8
+ >
9
+ <IsAotCompatible
10
+ Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))"
11
+ >true</IsAotCompatible
12
+ >
8
13
</PropertyGroup >
9
-
10
14
<PropertyGroup >
11
15
<Authors >$(Company)</Authors >
12
16
<Description >Custom test logger that reports test results in a structured format that GitHub Actions understands</Description >
17
21
<PackageLicenseExpression >MIT</PackageLicenseExpression >
18
22
<DevelopmentDependency >true</DevelopmentDependency >
19
23
</PropertyGroup >
20
-
21
24
<ItemGroup >
22
25
<None Include =" ../favicon.png" Pack =" true" PackagePath =" " Visible =" false" />
23
26
</ItemGroup >
24
-
25
27
<ItemGroup >
26
28
<PackageReference Include =" CSharpier.MsBuild" Version =" 1.0.2" PrivateAssets =" all" />
27
29
<PackageReference Include =" Microsoft.TestPlatform.ObjectModel" Version =" 17.14.0" />
28
30
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" all" />
29
31
<PackageReference Include =" PolyShim" Version =" 1.15.0" PrivateAssets =" all" />
30
- <PackageReference Include =" RazorBlade" Version =" 0.9.0" ExcludeAssets =" compile;runtime" PrivateAssets =" all" />
32
+ <PackageReference
33
+ Include =" RazorBlade"
34
+ Version =" 0.9.0"
35
+ ExcludeAssets =" compile;runtime"
36
+ PrivateAssets =" all"
37
+ />
31
38
</ItemGroup >
32
-
33
- </Project >
39
+ </Project >
You can’t perform that action at this time.
0 commit comments