Skip to content

Version 2 of GenAINET #320

Version 2 of GenAINET

Version 2 of GenAINET #320

Triggered via pull request February 27, 2026 17:24
Status Failure
Total duration 46s
Artifacts

build-validation.yml

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

Annotations

9 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/MCP-01-HuggingFace/Program.cs#L3
The type or namespace name 'OpenAI' does not exist in the namespace 'Azure.AI' (are you missing 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/MCP-01-HuggingFace/Program.cs#L3
The type or namespace name 'OpenAI' does not exist in the namespace 'Azure.AI' (are you missing 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#L38
This call site is reachable on all platforms. 'SolidBrush' 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#L78
This call site is reachable on all platforms. 'SolidBrush' 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. '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#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#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#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#L27
This call site is reachable on all platforms. 'Bitmap' 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. 'ImageFormat.Jpeg' 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/MEAIVectorsShared/MovieFactory.cs#L5
Non-nullable field '_currentKey' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/MEAIVectorsShared/Movie.cs#L5
Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/Vision-01MEAI-GitHubModels/Program.cs#L16
Possible null reference argument for parameter 'key' in 'AzureKeyCredential.AzureKeyCredential(string key)'.
Build .NET Projects (samples/CoreSamples/CoreGenerativeAITechniques.sln, Core Samples): samples/CoreSamples/BasicChat-01MEAI/Program.cs#L16
Possible null reference argument for parameter 'key' in 'AzureKeyCredential.AzureKeyCredential(string key)'.