Greetings:
I'm trying to clean up the following warnings related to a few projects. I'm new to this stuff so I'm not exactly sure what I'm getting myself into. I'm hoping to learn it is a quick and easy process to replace the existing.....
1)
--------------------------
----------
----------
----------
----------
----------
----------
----------
----------
----------
---------
[DllImport(KERNEL32)]
public static extern bool SystemTimeToFileTime(...
Warning: 'System.Runtime.InteropSer
vices.FILE
TIME' is obsolete: 'Use System.Runtime.InteropServ
ices.ComTy
pes.FILETI
ME instead.
http://go.microsoft.com/fwlink/?linkid=14202' C:\Projects\CCObjects\Tool
s\TimeZone
Informatio
n.cs
2)
--------------------------
----------
----------
----------
----------
----------
----------
----------
----------
----------
---------
public void LoadOutlook()
{
if (_outlook != null)
_outlook.Quit();
...
Warning: Ambiguity between method 'Microsoft.Office.Interop.
Outlook._A
pplication
.Quit()' and non-method 'Microsoft.Office.Interop.
Outlook.Ap
plicationE
vents_11_E
vent.Quit'
.
Using method group. C:\Projects\CCObjects\Emai
lProcessor
\MailReade
r.cs
3)
--------------------------
----------
----------
----------
----------
----------
----------
----------
----------
----------
---------
XslTransform myXslTrans = new XslTransform();
myXslTrans.Load("
http://ServerXYZ/MIS/mon_aone/IPRange.xsl");
Warning: 'System.Xml.Xsl.XslTransfo
rm' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiled
Transform instead.
http://go.microsoft.com/fwlink/?linkid=14202' C:\Projects\CCControls\IP\
IPManager.
cs
Start Free Trial