Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. .Net Framework and x64 compatibility

.Net Framework and x64 compatibility

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnetquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mjmim
    wrote on last edited by
    #1

    If I create a .net application is it fully compatible with a 64 bit OS or do I need to compile it specifically for this task? I lack knowledge in this specific area and would gladly accept references...

    L 1 Reply Last reply
    0
    • M mjmim

      If I create a .net application is it fully compatible with a 64 bit OS or do I need to compile it specifically for this task? I lack knowledge in this specific area and would gladly accept references...

      L Offline
      L Offline
      Lev Danielyan
      wrote on last edited by
      #2

      See Jeffrey Richter's "CLR via C#" book The target platform of the assembly is being controlled via /platform key of the compiler, here is the table of possible values and target assembly behavior depending on Windows version:

      /platform x86 Windows x64 Windows IA64 Windows

      anycpy exec. as 32bit app exec as 64bit app exec as 64bit app
      x86 exec. as 32bit app exec as WoW64 app exec as WoW64 app
      x64 does not exec. exec as 64bit app does not exec.
      Itanium does not exec. does not exec. exec as 64bit app

      To make it short, if you compile you app for "anycpu" it will run under 64bit framwork

      Regards, Lev

      M 1 Reply Last reply
      0
      • L Lev Danielyan

        See Jeffrey Richter's "CLR via C#" book The target platform of the assembly is being controlled via /platform key of the compiler, here is the table of possible values and target assembly behavior depending on Windows version:

        /platform x86 Windows x64 Windows IA64 Windows

        anycpy exec. as 32bit app exec as 64bit app exec as 64bit app
        x86 exec. as 32bit app exec as WoW64 app exec as WoW64 app
        x64 does not exec. exec as 64bit app does not exec.
        Itanium does not exec. does not exec. exec as 64bit app

        To make it short, if you compile you app for "anycpu" it will run under 64bit framwork

        Regards, Lev

        M Offline
        M Offline
        mjmim
        wrote on last edited by
        #3

        Thank you for the perfect answer ;).

        L 1 Reply Last reply
        0
        • M mjmim

          Thank you for the perfect answer ;).

          L Offline
          L Offline
          Lev Danielyan
          wrote on last edited by
          #4

          you're welcome

          Regards, Lev

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups