Methods and ideas that are no longer used in the current versions of various technologies.
Questions tagged [obsolete]
190 questions
0
votes
1 answer
Suppress obsolete warning on factory method in vb.net
Is it possible to prevent compiler warning caused by a static factory method returning an instance of an obsolete class?
For example if an instance of an obsolete class (Foo) is created through a static method (Create) a compiler warning is caused…

detaylor
- 7,112
- 1
- 27
- 46
0
votes
1 answer
Validation error, obsolete attribute
I'm currently working on a web page. Everything is working but when I went to validate, I ran into an error. The W3C validator says the name attribute is obsolete. Everything works, but no errors would be nice.
line from About_me.html

wfarrar
- 3
- 2
0
votes
1 answer
Is there a difference between System.Runtime.InteropServices.UCOM* classes and System.Runtime.InteropServices.ComTypes.* in .NET?
I'm trying to remove a bunch of warnings from an old system and one of them is this:
'System.Runtime.InteropServices.UCOMIEnumMoniker' is obsolete: 'Use System.Runtime.InteropServices.ComTypes.IEnumMoniker instead.…

Jordi
- 5,846
- 10
- 40
- 41
0
votes
1 answer
Programmatically discourage constructor initialization?
I have a class Foo and a static class FooFactory, which is used to create instances of Foo and Foo derived classes via the following API:
public static class FooFactory {
public static T Create() where T : Foo, new() {
...
return new…

Anders Gustafsson
- 15,837
- 8
- 56
- 114
0
votes
1 answer
Marking External Library Sealed Class as Obsolete
This is a bit of a nasty one;
I have an "external" library (technically internal to the company but the original source code is no longer available, just the DLL) with a sealed class that is/should be marked as obsolete.
Is it possible to do? I…

Trent
- 1,595
- 15
- 37
0
votes
2 answers
How to find unused parts of a large .NET application?
Consider a large multi-tier enterprise web application and many services with very complex functionality, mostly written in .NET (C#) on the server side and obviously html and javascript on the client, consisting of many hundred pages with the…

Gabor Lengyel
- 14,129
- 4
- 32
- 59
0
votes
1 answer
how to fix gallery is obsolete error(CS0618) in visual studio?
I was working on an android wallpaper app in visual studio and got this error mentioned above. I included Gallery and some ImageAdapter code from xamarin website here is the link https://developer.xamarin.com/guides/android/user_interface/gallery/.…

Keb_Tse
- 39
- 9
0
votes
1 answer
xsd DataSet switch to Oracle.DataAccess.Client driver
I'm currently upgrading an old application to the .Net 4.6.1 framework. I'm fixing all warnings about System.Data.OracleClient being obsolete by updating everything to use the Oracle.DataAccess.Client driver.
Everything is going well, but there are…

landers
- 105
- 9
0
votes
0 answers
Visual Studio 2015 keeps offering me an obsolete update for Tools for Universal Windows Apps 1.1.1
This isn't fatal, of course. Just annoying. I'm wondering if anyone's seen this and found a way to solve it.
I have Visual Studio 2015 Update 2 installed, with Tools for Universal Windows Apps 1.3.2 installed.
In Extensions and Updates, under…

mfeingol
- 33
- 1
- 4
0
votes
1 answer
rpm install package with obsolete error
I hit one problem during install some dependency packages.
I have two yum repo, repo1 and repo2 both provide one dependency
For example, one is python-XXXXX, the other is python2-XXXXX
They have different version info
python-XXXXX was built by own…

gang xu
- 1
- 1
- 2
0
votes
1 answer
TFS - How to identify obsolete build defintions
We are support project across our companies.
We are going to have around 100 projects, 3 build definitions per project, around 5-7 branches and their build definitions.
Now as development of branch is completed, build definition(s) of that branch is…

Manish Joisar
- 1,256
- 3
- 23
- 47
0
votes
1 answer
Chrome: No cipher suits incommon
This problem only exists in Chrome and I can get to my URL on https://localhost:8443 without a problem in Safari, Firefox and IE:
I tried to fix an "obsolete cipher" suite warning in Chrome and therefore removed all cipher suites with SHA1 and MD5…

Jonas
- 854
- 13
- 33
0
votes
1 answer
C# Form authentication obsolete how can I fix without using database?
I would like to do save some membership information like username and password for authentication purpose using c# Web API. As my server don't have any database, originally I use Formauthenication.Validate with saving all the credentials in…

Goldfish
- 11
- 1
0
votes
1 answer
Angular: Is directive link function obsolete about now?
Given the latest versions (v1.4+) of the Angular codebase, it is possible to do lots of awesome stuff inside directives using controllers. Eg. actually using a controller, doing controller-as, bind-to-controller etc etc.
It is possible to DI the…

sniii
- 87
- 1
0
votes
3 answers
Properly obsoleting old members in an XML Serializable class in C# VB .NET
Sometime ago I defined a class that was serialized using XML. That class contained a serializable property Alignment of integer type. Now I have extended and updated this class, whereby a new property Position was added, whose type is another class…

Fit Dev
- 3,413
- 3
- 30
- 54