Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not suppress warnings and can not proceed with build #76581

Open
vghodekar-oms opened this issue Dec 30, 2024 · 1 comment
Open

Can not suppress warnings and can not proceed with build #76581

vghodekar-oms opened this issue Dec 30, 2024 · 1 comment
Labels
Area-Analyzers untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@vghodekar-oms
Copy link

vghodekar-oms commented Dec 30, 2024

Version Used: Microsoft Visual Studio Professional 2022 (2) (64-bit) - Current
Version 17.8.3

Steps to Reproduce:

  1. As shown in the attached images, I am using Microsoft Semantic Kernel and have encountered this issue in multiple instances
  2. I get the error: Error SKEXP0010 'Microsoft.SemanticKernel.Connectors.OpenAI.AzureOpenAITextEmbeddingGenerationService' is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
  3. I am unable to suppress the error in sources code ( The Quick Actions and Refactoring option does not include a suppress action).
  4. I am unable to suppress the error in Error List. This is a Build Error, and the Build Errors do not include a Suppress action (as designed in Visual Studio).
  5. I tried adding the #pragma entry manually in the source code, but that did not help.
  6. I tried to directly edit the EditorConfig file to add the SKEXP00 but that did not help either.
  7. I am going to use Azure Open AI directly without using Semantic Kernel to bypass this issue, but I spent the whole afternoon trying to figure this out,, needless to say this seems quite inscrutable and I probably others are running into this issue as well. !

A minimal repro, with source-code provided, is ideal. Most compiler/language issues can be distilled into a snippet that can be pasted into sharplab.

Diagnostic Id:

If this is a report about a bug in an analyzer, please include the diagnostic ID and message if possible (e.g. "IDE0030: Use coalesce expression").

Expected Behavior:

Actual Behavior:

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Analyzers untriaged Issues and PRs which have not yet been triaged by a lead labels Dec 30, 2024
@vghodekar-oms vghodekar-oms changed the title Can not suppress warnings and can not proceed with build - STUCK!!!!!!!!!! Can not suppress warnings and can not proceed with build Dec 30, 2024
@jaredpar
Copy link
Member

jaredpar commented Jan 6, 2025

@vghodekar-oms I removed the images you uploaded to the issue as they seemed to contain API keys. If those were valid recommend strongly you rotate them immediately. In the future please redact sensitive information from screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Analyzers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

2 participants