Visual Studio 2022- File Ignored always ignore when adding to class librarar

Dani_S 4,836 Reputation points
2025-12-11T17:39:46.8933333+00:00

Hi,

Please see the following screenshot, why adding a new new file I always need to

use Git/Add ignore file (right click on the file) ?

It happened in class library as follow: TargetFramework>netstandard2.0</TargetFramework>

Thanks in advance,

User's image

Developer technologies | Visual Studio | Extensions
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.