using a specific.NET version.

Discussion in 'Questions (Windows Mobile)' started by jesb4ppc, Sep 9, 2008.

  1. jesb4ppc

    jesb4ppc Member Licensed User

    Hi everyone,

    How can I know, or what can I do, to make my applications runs with one version or another one of .NET?

    I mean, I have write an application, but the destination desktop PC, only has .NET version 1.1, and can't install any other version. As I have developed it, it uses .NET version 2.0. But how can I rewrite it, to be usable with this version 1.1?. The application only uses Bitwise, CryptoDesktop and RegistryDesktop libraries.

    Thanks in advance,

  2. Cableguy

    Cableguy Expert Licensed User

    I think the best way is to go trough the MSDN class reference and check if the features used are compatible with the version of .NET you targeted.
  3. agraham

    agraham Expert Licensed User

    I'm afraid you will not get it to run under .NET 1.1 as CryptoDesktop uses functions only introduced with .NET 2.0. You would need to "downgrade" to the Crypto library to run under .NET 1.1.

    EDIT :- I assume you mean CryptoExDesktop!

    EDIT :- :signOops: Ignore this rubbish I've written :sign0013: I never released my CryptoExDesktop library so you are referring to the normal one which is .NET 1.1 compatible.
    Last edited: Sep 10, 2008
  4. agraham

    agraham Expert Licensed User

    Let's have another go now that I have thought rather than reacted :sign0161:

    As far as I know those libraries are all .NET 1.1 compatible so the question is why you think your app won't work under .NET 2.0. I assume you have tried it and it doesn't in fact work. What error did you get and was the app optimised or legacy compiled?

    If the app was optimised compiled then it won't run under .NET 1.1 as it references the .NET 2.0 runtime assemblies. You should legacy compile your app and it should then run under .NET 1.1 without changes as long as you don't use a library that needs .NET 2.0 - and your libraries don't seem to.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice