Why Obsolete causes error?
.net, c#, visual-studio, visual-studio-2010
Solution
On the obsolete method define:
#pragma warning disable 0618
[Obsolete("test",false)]
private void myMethod()
then go to project properties, under build, in suppress warning type type 0618, Now it will ignore that particular method and project will compile
Problem
I use: ``` [Obsolete("Use AnotherMethod() insted.", false)] ``` 2nd parameter is `false` but Visual Studio shows Warning as Error for every obsolete method call preventing project from compilation. How to make VS mark these calls as Warning not Error?