Home All Groups Group Topic Archive Search About

Microsoft.VisualBasic.Compatibility

Author
17 Jan 2006 2:33 PM
Usarian Skiff
I'm using an API that references this namespace. and all I can find on
Google is "Don't use it!"

I'm stuck using it and need to know how.

The specific problem I'm having is in my deployment project. I get a compile
error "Unable to find dependancy "MICROSOFT.VISUALBASIC.COMPATIBILITY' ...
version 7.0.3300.0.."

A version did put itself amongst my included dependencies, but it is version
7.0.5000.0

How do I resolve this?

Usarian

Author
24 Jan 2006 6:09 PM
Jay B. Harlow [MVP - Outlook]
Usarian,
| I'm using an API that references this namespace. and all I can find on
| Google is "Don't use it!"
I would recommend you refactor your program to remove the dependency on
Microsoft.VisualBasic.Compatibility if at all possible.

Microsoft.VisualBasic.Compatibility is intended for upgraded programs only,
I hope you are not writing new code that uses it...

| The specific problem I'm having is in my deployment project. I get a
compile
| error "Unable to find dependency "MICROSOFT.VISUALBASIC.COMPATIBILITY' ...
| version 7.0.3300.0.."
Microsoft.VisualBasic.Compatibility by default is not installed, as its use
is for upgraded apps only,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconthevisualbasic60compatibilitylibrary.asp

http://msdn2.microsoft.com/en-us/library/wk6ka2wf.aspx

You need to manually add the file to your install package, I would consider
registering it in the GAC, although there is some benefit on leaving it side
by side in your app. Having it side by side with your app will help insure
it is removed when you app is removed...

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Show quoteHide quote
"Usarian Skiff" <usarian.sk***@servicecentermetals.com> wrote in message
news:uUGpMM3GGHA.344@TK2MSFTNGP09.phx.gbl...
| I'm using an API that references this namespace. and all I can find on
| Google is "Don't use it!"
|
| I'm stuck using it and need to know how.
|
| The specific problem I'm having is in my deployment project. I get a
compile
| error "Unable to find dependancy "MICROSOFT.VISUALBASIC.COMPATIBILITY' ...
| version 7.0.3300.0.."
|
| A version did put itself amongst my included dependencies, but it is
version
| 7.0.5000.0
|
| How do I resolve this?
|
| Usarian
|
|