Adding a reference to a .NET 1.1 assembly in a VS 2005 (.NET 2.0) project

I am trying to use the Microsoft POS (Point-of-Service) for .NET
SDK in a VS 2005 project. There is only a version for .NET 1.1 that's been
released so far for the POS SDK. I have created some samples in VS 2003 that are working w/o
problems. It's just a simple console application that prints "Hello World!"
on the receipt printer. If I take that very simple piece of code and put it
into a VS 2005 C# stand-alone console application project, the code compiles
fine but fires an exception with the message "The information is not described in
XML". It does so when a call into the (>NET 1.1) POS API is made (sample code is available upon request). That's why it got me thinking that
something may be wrong with mixing the .NET 1.1 assemblies in to a .NET 2.0
project. I keep reading that .NET 2.0 is backwards compatible, so it should
work.
Any comments on this issue would be highly appreciated.

Regards,
Eddie



Answer this question

Adding a reference to a .NET 1.1 assembly in a VS 2005 (.NET 2.0) project

  • rhaazy

    Hi Mario,

    I suppose your observation may have some merit, in the end. I do use an Epson receipt printer and the Cash Drawer is connected to it, so I must use the same driver when I try to command the device.

    I also have a bar-code scanner and a magnetic stripe card reader. These are USB devices too (just like the RP) but they are not Epson. Sure enough, I don't get the same error, although I am still not able to run the examples under VS 2005.

    One thing I need to thank you for is the mention of the windows.embedded.pointofservice newsgroup - I wasn't aware there is such a place on the I-net.

    I will continue to investigate my problem.

    Thanks a lot,

    Eddie


  • Greg Wishart

    Eddie,
    while I must say that Microsoft put in great efforts to keep 2.0 compatible with 1.1, they are not 100% so, as is quite reasonable after all. You may find some information about compatibility here. The list is not too long, though.

    Back to your issue, I found this message, along with a few others on google, all pointing to some issue with the configuration (or driver) of some Epson POS printers. I don't know if this applies to you, as while the message stays the same, the problems and solutions described vary a lot (from downloading a new driver to fix a resource file, to change the pinout of a serial cable (!)... I was half expecting to see some voodoo ritual mentioned somewhere), so I guess the error message is not too informative.

    The final suggestion, if everything fails, is to browse and relay your questions on the windows.embedded.pointofservice newsgroup.

    HTH
    --mc


  • vijay_jan80

    Hi Eddie,

    I am also working with vs 2005 and using scanner through point of service . I will appriciate you if send you console code for printer. I have to work now with printer.

    Awaiting your reply .

    Regards,

    Adnan


  • Adding a reference to a .NET 1.1 assembly in a VS 2005 (.NET 2.0) project