Skip to content

removed .netstandard2.0 asa a target framework from example projects. #25

removed .netstandard2.0 asa a target framework from example projects.

removed .netstandard2.0 asa a target framework from example projects. #25

Triggered via push March 25, 2024 13:23
Status Failure
Total duration 46s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 21 warnings
build (netstandard2.0)
Assets file '/home/runner/work/Motiv/Motiv/examples/Karlssberg.Motiv.Poker/obj/project.assets.json' doesn't have a target for 'netstandard2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project.
build (netstandard2.0)
Assets file '/home/runner/work/Motiv/Motiv/examples/Karlssberg.Motiv.Poker.Tests/obj/project.assets.json' doesn't have a target for 'netstandard2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project.
build (netstandard2.0)
Assets file '/home/runner/work/Motiv/Motiv/examples/Karlssberg.Motiv.Poker/obj/project.assets.json' doesn't have a target for 'netstandard2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project.
build (netstandard2.0)
Assets file '/home/runner/work/Motiv/Motiv/examples/Karlssberg.Motiv.Poker.Tests/obj/project.assets.json' doesn't have a target for 'netstandard2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project.
build (netstandard2.0)
Process completed with exit code 1.
build (net8.0)
The job was canceled because "netstandard2_0" failed.
build (net8.0)
The operation was canceled.
build (netstandard2.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (netstandard2.0): Karlssberg.Motiv.Tests/BooleanResultPredicateMetadataSpecTests.cs#L16
Theory method 'Should_replace_the_metadata_with_new_metadata' on test class 'BooleanResultPredicateMetadataSpecTests' does not use parameter 'expected'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L10
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L27
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L44
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L61
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L77
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/BooleanResultPredicateMetadataSpecTests.cs#L16
Theory method 'Should_replace_the_metadata_with_new_metadata' on test class 'BooleanResultPredicateMetadataSpecTests' does not use parameter 'expected'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L10
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L27
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (netstandard2.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L44
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (net8.0): Karlssberg.Motiv/SpecException.cs#L24
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (net8.0): examples/Karlssberg.Motiv.Poker/EnumExtensions.cs#L24
Converting null literal or possible null value to non-nullable type.
build (net8.0): Karlssberg.Motiv.Tests/BooleanResultPredicateMetadataSpecTests.cs#L16
Theory method 'Should_replace_the_metadata_with_new_metadata' on test class 'BooleanResultPredicateMetadataSpecTests' does not use parameter 'expected'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (net8.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L10
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (net8.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L27
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (net8.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L44
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (net8.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L61
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (net8.0): Karlssberg.Motiv.Tests/TutorialTests.cs#L77
Theory methods should have parameters. Add parameter(s) to the theory method. (https://xunit.net/xunit.analyzers/rules/xUnit1006)
build (net8.0): Karlssberg.Motiv/SpecException.cs#L24
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (net8.0): examples/Karlssberg.Motiv.Poker/EnumExtensions.cs#L24
Converting null literal or possible null value to non-nullable type.