Obsolete Errors using Dotnet Framework 2.0

S

SenthilVel

Hi All

I am Trying to build my 1.1 framework code with 2.0 framework using Visual
Studio 2005 installed in my
machine.

when i tried doing doing so , i get errors like :
"
Error 1 Warning as Error: 'System.Runtime.InteropServices.UCOMITypeLib' is
obsolete: 'Use System.Runtime.InteropServices.ComTypes.ITypeLib instead.

when i get erros like Errors due to method is obsolete: what should i do to
over come these errors?

thanks
Senthil
 
N

.neter

SenthilVel said:
Hi All

I am Trying to build my 1.1 framework code with 2.0 framework using Visual
Studio 2005 installed in my
machine.

when i tried doing doing so , i get errors like :
"
Error 1 Warning as Error: 'System.Runtime.InteropServices.UCOMITypeLib' is
obsolete: 'Use System.Runtime.InteropServices.ComTypes.ITypeLib instead.

when i get erros like Errors due to method is obsolete: what should i do to
over come these errors?

thanks
Senthil
Get (or re-generate) new interop assemblies for your COM library.
 
M

Michael Nemtsev

Hello SenthilVel,

Find there http://msdn.microsoft.com/netframework/programming/obsoleteapi/default.aspx
you obsolete function
and description what to use in lue of

S> Hi All
S>
S> I am Trying to build my 1.1 framework code with 2.0 framework using
S> Visual
S> Studio 2005 installed in my
S> machine.
S> when i tried doing doing so , i get errors like :
S> "
S> Error 1 Warning as Error:
S> 'System.Runtime.InteropServices.UCOMITypeLib' is
S> obsolete: 'Use System.Runtime.InteropServices.ComTypes.ITypeLib
S> instead.
S> when i get erros like Errors due to method is obsolete: what should i
S> do to over come these errors?
S>
S> thanks
S> Senthil
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top