Visual Studio 2008 does not show any "obsolete" -warnings

Duplicate: Why are the properties of the C # collection not marked obsolete when properties are called on them?

I just migrated the .NET 1.1 project to .NET 2.0 using Visual Studio 2008. I know there are references to deprecated methods in the project.

But Visual Studio does not show "obsolete" -warnings after building. The assembly succeeds and displays only 3 warnings from members who are assigned a value that is never used. When I delete these items, there are no warnings at all.

I NEED THESE “REVERSIBLE" OPTIONS

Warning Level 4 (maximum), warnings enabled.

Just one example:

protected internal DataConnector()
{
    _connectionString = ConfigurationSettings.AppSettings["ProductConnectionString"];
}

, "" -warning, .NET Framework.

+3
4

, # ?

# 3.5, : https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=417159

: csc.exe CMD-. .NET 2.0 ( # 2.0), . Microsoft # 4.0, 3.5.

0

, ?

0

, , , , , ? , , , .

0
source

Make sure you complete the project assembly, not just incremental builds.

0
source

Source: https://habr.com/ru/post/1705425/


All Articles