You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This file is used by Code Analysis to maintain SuppressMessage// attributes that are applied to this project. Project-level// suppressions either have no target or are given a specific target// and scoped to a namespace, type, member, etc.//// To add a suppression to this file, right-click the message in the// Error List, point to "Suppress Message(s)", and click "In Project// Suppression File". You do not need to add suppressions to this// file manually.[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1017:MarkAssembliesWithComVisible")][assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1063:ImplementIDisposableCorrectly")]
this I tried:
changing the file header comment to match the one in the newly generated file; didn't help
inserting a using System.Diagnostics.CodeAnalysis; at the start, just like the newly generated file would contain; didn't help either...
The text was updated successfully, but these errors were encountered:
Version Used:
Microsoft Visual Studio Professional 2022 (2) (64-bit) - Current
Version 17.12.3
Coming from https://developercommunity.visualstudio.com/content/problem/937290/new-globalsuppressionscs-file-is-generated-when-th.html and #42201 (which was closed and locked due to missing feedback), and #37530, which seems to be fixed. I just now experienced this... @CyrusNajmabadi what kind of feedback do you need?
The existing file is included explicitly in the project via:
Its content is:
this I tried:
using System.Diagnostics.CodeAnalysis;
at the start, just like the newly generated file would contain; didn't help either...The text was updated successfully, but these errors were encountered: