Skip to content

Version 2 of GenAINET #324

Version 2 of GenAINET

Version 2 of GenAINET #324

Triggered via pull request February 27, 2026 21:05
Status Success
Total duration 41s
Artifacts

build-validation.yml

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

Annotations

50 warnings
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#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#L79
This call site is reachable on all platforms. 'Graphics.DrawString(string?, Font, Brush, float, float)' 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#L30
This call site is reachable on all platforms. 'Font' 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.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#L44
This call site is reachable on all platforms. 'ImageFormat.Png' 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/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/AIService.cs#L16
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/AIService.cs#L16
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/IMCPService.cs#L15
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/IMCPService.cs#L15
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/AIService.cs#L131
'McpClientExtensions.ListToolsAsync(IMcpClient, JsonSerializerOptions?, CancellationToken)' is obsolete: 'Use McpClient.ListToolsAsync instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/IMCPService.cs#L60
'McpClientExtensions.ListToolsAsync(IMcpClient, JsonSerializerOptions?, CancellationToken)' is obsolete: 'Use McpClient.ListToolsAsync instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/AIService.cs#L16
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/AIService.cs#L16
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/IMCPService.cs#L15
'IMcpClient' is obsolete: 'Use McpClient instead. This member will be removed in a subsequent release.'
Build .NET Projects (samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln, HFMCP GenImage App): samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.Web/Services/IMCPService.cs#L15
'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)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx-ImageGen-02/ChatClientProvider.cs#L21
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx-AIFoundryAgents-01/Program.cs#L22
Possible null reference argument for parameter 'agentId' in 'Task<ChatClientAgent> PersistentAgentsClientExtensions.GetAIAgentAsync(PersistentAgentsClient persistentAgentsClient, string agentId, ChatOptions? chatOptions = null, Func<IChatClient, IChatClient>? clientFactory = null, IServiceProvider? services = null, CancellationToken cancellationToken = default(CancellationToken))'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx-AIFoundry-02/Program.cs#L16
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx-AIFoundry-02/Program.cs#L13
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx02/Program.cs#L14
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx02/Program.cs#L10
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx-AIFoundry-01/Program.cs#L17
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx-AIFoundry-01/Program.cs#L12
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx01/Program.cs#L13
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build .NET Projects (samples/AgentFx/AgentFx-Demos.slnx, AgentFx Demos): samples/AgentFx/AgentFx01/Program.cs#L9
Possible null reference argument for parameter 'key' in 'ApiKeyCredential.ApiKeyCredential(string key)'.