We were using class 'System.Xml.Xsl.XslTransform' in our project and now recently we started using resharper. This throw waring Class 'System.Xml.Xsl.XslTransform' is obsolete: “This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202“
Is it good to update the code to new class or keep the existing as the system performs well.
Is there any disadvantages with this approach.
Warnings are just that – not an error, but something you should be aware of. If the code performs well enough now, feel free to leave it as is. Just know that the API may disappear in the future so you’ll have to deal with it eventually if you upgrade.