? Just a quick question, ****.exe.config

Discussion in 'Questions (Windows Mobile)' started by taximania, Aug 31, 2007.

  1. taximania

    taximania Well-Known Member Licensed User

    My Deal Or No Deal clone App doesn't use 'any' .DLL's.

    So why do I need the ****.exe.config for it to work on the device.

    Or does this fall into the same question as to why other people's .DLL work on my device, but if I compile the source with #sharpdevelop myself they don't work ?

    STRANGE .....................:sign0137:

    It must be my device :cool:
     
  2. Cableguy

    Cableguy Expert Licensed User

    My PDA whent on vacationns so I cant really tell, But I share the same line of thinking as you...If no dlls are neede why the config.exe must be in the directory?

    This brings me to one question:

    Is b4ppc v5.5 .net cf 2.0 targetted?

    Was it compiled on v5.5? have you tryed to compule in an older version?
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    You only need the config file when you use one of the .Net CF 2.0 libraries (Outlook, SQL, ImageLibEx).
    It doesn't matter whether you are using v5.5 or v5.0, they both target .Net CF 1.0 by default.
     
  4. taximania

    taximania Well-Known Member Licensed User

    Without the ***.exe.config file, my app gives me this error

    [​IMG]


    I re-ask the question.
    My app has 'NO' DLL,s. Why do I need the config file?
     
  5. dzt

    dzt Active Member Licensed User

    Good morning taximania,

    Are you sure, did you look at Tools->Components and there is nothing there?
     
  6. taximania

    taximania Well-Known Member Licensed User

    Good morning DZT :)
    I did indead check that Sir, before I posted the question.
    I've looked again since, recompiled for the device, and it still won't run without a config file :sign0137:
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    If you like you can send me your project and I'll further check it.
     
  8. dzt

    dzt Active Member Licensed User

    I finally think that the problem is with your device. It seems that your app refuses to run under .NETCF 1.0 or .NETCF 1.0 does not exists or .NETCF 1.0 installation is broken.

    If the config file is present your app is running by default under .NETCF 2.0 and does not care about .NETCF 1.0 existance or... healthiness:)
     
  9. dzt

    dzt Active Member Licensed User

    It seems that not all quick questions have always quick answers:)
     
  10. taximania

    taximania Well-Known Member Licensed User

    I've just wrote a simple program and compiled it for the device.

    Sub Globals
    End Sub

    Sub App_Start
    label1.Text="Hello World"
    Form1.show
    End Sub

    It works fine .....


    @Erel. I've emailed you my dond.sbp
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    I've compiled it and it works fine without the config file.
    What device are you using?
    If it is not WM2003 SE or newer you should install .Net CF SP3.
     
  12. taximania

    taximania Well-Known Member Licensed User

    Windows Mobile 2003 for Pocket PC Premium Edition

    I've installed SP3 and it works now. No config needed.
    Very strange :sign0163:
     
  13. Erel

    Erel Administrator Staff Member Licensed User

    Windows Mobile 2003 Premium Edition is actually Windows Mobile 2003 and not Windows Mobile 2003 SE.
     
Loading...