Methods and ideas that are no longer used in the current versions of various technologies.
Questions tagged [obsolete]
190 questions
1
vote
0 answers
How to highlight background in Visual studio for Obsolete class instances using DiagnosticAnalyzer
A class is marked as Obsolete and I don't want the build to fail so it is only marked as a warning.
But to discourage developers to use this class in future, I want to highlight background or change the colour to bright RED wherever it is being used…

Suleman Khalid
- 11
- 1
1
vote
1 answer
How do I bring this up to date (CrystalDecisions.Windows.Forms.CrystalReportViewer)?
Me.rpt_Viewer.DisplayGroupTree = False
This generates a warning saying that DisplayGroupTree is…

software is fun
- 7,286
- 18
- 71
- 129
1
vote
2 answers
Are acronyms like .gt., .lt., .ne., etc. considered obsolescent in Fortran 95?
I'm going through some older code and there's a lot of .gt.'s, .lt.'s, .ne., etc. That's fine for me, but are these considered obsolescent? Should I be replacing them with <, >, /=, etc. to keep our code base up to date, or is it totally a…

synchh
- 31
- 3
1
vote
1 answer
Alternative to obsolete ForSqlServerUseSequenceHiLo()?
I'm using .NET Core 3 and so when trying to utilize ForSqlServerUseSequenceHiLo(), the method does not exist in the Microsoft.EntityFrameworkCore namespace (or in the SqlServerPropertyBuilderExtensions extention).
The documentation notes that this…

8protons
- 3,591
- 5
- 32
- 67
1
vote
1 answer
How to bind Ninject to [Obsolete] constructor?
In my submodule, I have:
public class CustomerRepository : ICustomerRepository
{
private readonly IDBEngine _dbEngine;
[CanBeNull] private readonly string _overriddenDebugEmail;
[Obsolete("Use the other constructor")]
public…

Sarov
- 545
- 6
- 17
1
vote
1 answer
Replace ScenarioContext.Current in non binding class using context injection
I want to use context injection to remove the obsolete warnings for FeatureContext.Current and ScenarioContext.Current my code.
I have a reporter in a non binding class that requires setup before the test is run.
I have tried making a constructor…

Jack Summerville
- 13
- 1
- 4
1
vote
0 answers
Unity3d: Version2018.2 TouchInputModule obsolete
I am recently working on a project and I need to create custom events for different input methods/devices.
Since the latest Unity update the Input.Touch method is not working anymore. Right now i am not able to find a method to get a touch input,…

Christian0815
- 11
- 1
1
vote
1 answer
Is there any alternative way for getting IMEI number which wont give me obsolete warning?
Hi I want to get IMEI number in my Android device.And I'm able to do it. But I'm getting obsolete warning saying 'TelephonyManager.DeviceId' is obsolete:'deprecated'. I'm using this code to get IMEI number in my Android…

Judson Abraham
- 316
- 2
- 11
- 37
1
vote
1 answer
If I mark a method as Obsolete["...", true], what should be the return value? An arbitrary value?
I have a method that is being made obsolete (in fact completely unsupported) because the underlying concept is being removed. So, the method can't have any implementation and I made it throw new NotSupportedException(). Does it make sense to also…

Ms. Corlib
- 69
- 2
1
vote
1 answer
Can't define variables after any operation?
My C language teacher claims that all variables must be defined before any operation. I can somehow recall it's a very old feature of C (no later than 1990) but I can't reproduce it with GCC 7.2.0.
My teacher claims this:
int main(){
int a; /*…

iBug
- 35,554
- 7
- 89
- 134
1
vote
1 answer
Can yum be forced to uninstall an obsolete package before installing the new package?
The use case is this:
I have PkgA which is already installed.
Now I created PkgB which obsoletes PkgA.
In this case: yum install PkgB will do the following operations:
install PkgB
uninstall PkgA
The problem is that in PkgA has a bug, and it when…
1
vote
2 answers
Annotating methods with no implementation
In the interest of clean and beautiful code, I've been looking for an answer to a question that's popped up whist documenting my latest project.
Often times, there will be an abstract class or interface with methods requiring implementation; and…

justis
- 447
- 7
- 13
1
vote
1 answer
Is DirextX9 material no longer worthy material for learning win32 API programming?
I have been expanding my library (Physical library of these weird things called 'books'... I know... I know) and I'm reading Beginning DirectX 9.0 by Wendy Jones. As I have gone through some books in the past that are 'outdated' the logic behind…

Cameron P
- 57
- 6
1
vote
1 answer
Does Oracle still develop JavaFX Scene Builder?
If you look at JavaFX Scene Builder, it's at version 2.0 since: 2014-03-21 09:29.
It's also kinda hard to find it on Oracle's website. There is no Wikipedia page for it, so I want to ask, is it decrepit, obsolete? I want to use it for desktop GUI…

Daniel
- 137
- 6
1
vote
1 answer
Why objectdatasource is executing obsolete method without any error?
ObjectDataSource is not recognizing obsolete method and executing it as normal method.
ObjectDataSource is not identifying the obsolete attribute where as the code behind file recognizes the obsolete method and throwing an error during…

Babuji Godem
- 79
- 2
- 3