Skip to content

Version 2 of GenAINET #321

Version 2 of GenAINET

Version 2 of GenAINET #321

Triggered via pull request February 27, 2026 20:27
Status Failure
Total duration 48s
Artifacts

build-validation.yml

on: pull_request
Matrix: Build .NET Projects
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 30 warnings
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos)
Process completed with exit code 1.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/MCP-02-HuggingFace-Ollama/Program.cs#L45
'OllamaApiClient' does not contain a definition for 'AsBuilder' and no accessible extension method 'AsBuilder' accepting a first argument of type 'OllamaApiClient' could be found (are you missing a using directive or an assembly reference?)
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/AgentLabs-02-Functions/Program.cs#L77
The call is ambiguous between the following methods or properties: 'ThreadRuns.SubmitToolOutputsToRunAsync(ThreadRun, IEnumerable<ToolOutput>, CancellationToken)' and 'ThreadRuns.SubmitToolOutputsToRunAsync(ThreadRun, IEnumerable<ToolOutput>, IEnumerable<ToolApproval>, CancellationToken)'
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/MCP-02-HuggingFace-Ollama/Program.cs#L45
'OllamaApiClient' does not contain a definition for 'AsBuilder' and no accessible extension method 'AsBuilder' accepting a first argument of type 'OllamaApiClient' could be found (are you missing a using directive or an assembly reference?)
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/AgentLabs-02-Functions/Program.cs#L77
The call is ambiguous between the following methods or properties: 'ThreadRuns.SubmitToolOutputsToRunAsync(ThreadRun, IEnumerable<ToolOutput>, CancellationToken)' and 'ThreadRuns.SubmitToolOutputsToRunAsync(ThreadRun, IEnumerable<ToolOutput>, IEnumerable<ToolApproval>, CancellationToken)'
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L68
This call site is reachable on all platforms. 'Graphics.FromImage(Image)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L83
This call site is reachable on all platforms. 'Image.Save(Stream, ImageFormat)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L44
This call site is reachable on all platforms. 'Image.Save(string, ImageFormat)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L29
This call site is reachable on all platforms. 'Graphics.Clear(Color)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L69
This call site is reachable on all platforms. 'Graphics.Clear(Color)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L70
This call site is reachable on all platforms. 'GraphicsUnit.Pixel' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L70
This call site is reachable on all platforms. 'FontStyle.Regular' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.Screenshot/ScreenshotService.cs#L30
This call site is reachable on all platforms. 'GraphicsUnit.Pixel' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build .NET Projects (samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln, SpaceAINet App): samples/AppsWithGenAI/SpaceAINet/SpaceAINet.GameActionProcessor/GameActionProviderBase.cs#L5
Non-nullable field 'chat' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build .NET Projects (samples/PracticalSamples/Aspire.MCP.Sample.sln, Practical Samples - Aspire MCP): samples/PracticalSamples/src/McpSample.Chat/Components/Pages/Home.razor#L11
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/PracticalSamples/Aspire.MCP.Sample.sln, Practical Samples - Aspire MCP): samples/PracticalSamples/src/McpSample.Chat/Components/Pages/Home.razor#L153
'McpClientExtensions.ListToolsAsync(IMcpClient, JsonSerializerOptions?, CancellationToken)' is obsolete: 'Use McpClient.ListToolsAsync instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/PracticalSamples/Aspire.MCP.Sample.sln, Practical Samples - Aspire MCP): samples/PracticalSamples/src/McpSample.Chat/Components/Pages/Home.razor#L11
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/Vision-01MEAI-AzureOpenAI/Program.cs#L12
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/Vision-01MEAI-AzureOpenAI/Program.cs#L8
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/BasicChat-01MEAI/Program.cs#L12
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/BasicChat-01MEAI/Program.cs#L9
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.