Skip to content

Publish Nuget Packages #79

Publish Nuget Packages

Publish Nuget Packages #79

Manually triggered September 10, 2025 00:31
Status Failure
Total duration 2m 39s
Artifacts 1

main.yml

on: workflow_dispatch
Updating Version
6s
Updating Version
Publishing  /  Build, test and publish
2m 24s
Publishing / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Publishing / Build, test and publish
Unhandled error: SyntaxError: Unexpected identifier 'GenerativeAIEmbeddingGenerator'
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/ComprehensiveDateTimeTransformer.cs#L26
Type 'TransformationMetadata' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L905
'string.Contains(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'GenerativeAI.Microsoft.Extensions.MicrosoftExtensions.TransformDateTimeValue(System.Text.Json.Nodes.JsonNode, string?, string?, Microsoft.Extensions.AI.ChatOptions?, System.Text.Json.Nodes.JsonNode?)' with a call to 'string.Contains(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/ComprehensiveDateTimeTransformer.cs#L423
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'ComprehensiveDateTimeTransformer.TransformToTimeOnly(JsonNode)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/ComprehensiveDateTimeTransformer.cs#L414
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'ComprehensiveDateTimeTransformer.TransformToTimeOnly(JsonNode)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L442
Parameter 'options' has no matching param tag in the XML comment for 'MicrosoftExtensions.ToChatMessages(List<Content>?, ChatOptions?)' (but other parameters do)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L426
Parameter 'options' has no matching param tag in the XML comment for 'MicrosoftExtensions.ToChatMessage(GenerateContentResponse, ChatOptions?)' (but other parameters do)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L356
Parameter 'options' has no matching param tag in the XML comment for 'MicrosoftExtensions.ToChatResponseUpdate(GenerateContentResponse?, ChatOptions?)' (but other parameters do)
Publishing / Build, test and publish: src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L333
Parameter 'options' has no matching param tag in the XML comment for 'MicrosoftExtensions.ToChatResponse(GenerateContentResponse?, ChatOptions?)' (but other parameters do)

Artifacts

Produced during runtime
Name Size Digest
nuget-packages-ubuntu-latest Expired
9.16 MB
sha256:3481dbc2f02f872ee1b34152f058f283752c1d6b2425fdb79de5286c3a4a8f17