Results 1 to 9 of 9

Thread: [RESOLVED] Compiling for 3.5 Framework not works(?)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Resolved [RESOLVED] Compiling for 3.5 Framework not works(?)

    I have compiled my WPF application for 3.5 Framework. But when I try to start it on Windows Xp with this framework installed - there is an exception.
    Have no idea why... (?)
    When I run this application on Win Seven with 4.0 Framework - everything is OK.

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: Compiling for 3.5 Framework not works(?)

    What's the exception
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    I don't realy remember. Something like: "Application will not run..."
    I have thinking that there is not my mistake in code - there is something else.
    But I will take a look again - when I wil be able.
    May be it's needed .Net 3.5 SP1? Couse I have tried on 3.5 - 33 Mb

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    O! Have remembed! May be I have set "Any CPU" - not x86....

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    Strange. CPU is set to x86.
    And when I try to run application on computer with windows XP and installed .Net Framework 4.0 I recieve message like "one of the .Net Frameworks required .Net 2.0 Framework"
    May be this couse I have a reference to Windows.Forms in my application?

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    And when I compile my project to 4.0 Framework it works on Windows Xp with .Net 4.0 Framework.
    Seems that .Net Framework doesn't contain .Net 3.5 Framework.
    Hmmm...
    When I have previously wrote WinForms programms for .Net 2.0 they have perfectly working on .Net 3.0 and 3.5 and also 4.0 ....

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    Oh. I see now! I have all references to .Net 4.0 in my project.
    Will try now to change them!

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    Oh no! I have forget that last time I have compiled for 4.0

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Mar 2010
    Posts
    75

    Re: Compiling for 3.5 Framework not works(?)

    Have read "The SP1 update added the .NET Framework Client Profile, Dynamic Data, and a small set of additional enhancements" and understands that my application will not works on .Net Framework 3.5 - it's needs SP1. But simple WPF applications, that where compiled for .Net 3.5 are working.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width