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. Managed C++/CLI
  4. About exe file

About exe file

Scheduled Pinned Locked Moved Managed C++/CLI
csharpdotnetvisual-studiodebugginghelp
3 Posts 3 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
    minihotto
    wrote on last edited by
    #1

    Hello, I'm not sure which topic to post this kind of problem. If I ask on the wrong board, please let me know. I write a windows form project with CLR supporting, and I want to package it into an exe file. I run the exe file in the Debug folder. It works on my computer, but not on other's computer which doesn't install .NET. But I want the exe file to be portable and without install. It seems that it needs a .NET environment. I try to install .net framework 2.0 to the computer which doesn't install Microsoft Visual Studio 2005. But I still can't open the exe file, too. Is it possible to create a exe file without install in Microsoft Visual Studio 2005? Thx for ur reply. Jane

    L U 2 Replies Last reply
    0
    • M minihotto

      Hello, I'm not sure which topic to post this kind of problem. If I ask on the wrong board, please let me know. I write a windows form project with CLR supporting, and I want to package it into an exe file. I run the exe file in the Debug folder. It works on my computer, but not on other's computer which doesn't install .NET. But I want the exe file to be portable and without install. It seems that it needs a .NET environment. I try to install .net framework 2.0 to the computer which doesn't install Microsoft Visual Studio 2005. But I still can't open the exe file, too. Is it possible to create a exe file without install in Microsoft Visual Studio 2005? Thx for ur reply. Jane

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      minihotto wrote:

      But I want the exe file to be portable and without install.

      Then don't use the .NET platform

      minihotto wrote:

      Is it possible to create a exe file without install in Microsoft Visual Studio 2005?

      Yes. The MSDN documentation has information detailing deployment issues of Visual Studio C++ projects, well any type of Visual Studio project actually.

      1 Reply Last reply
      0
      • M minihotto

        Hello, I'm not sure which topic to post this kind of problem. If I ask on the wrong board, please let me know. I write a windows form project with CLR supporting, and I want to package it into an exe file. I run the exe file in the Debug folder. It works on my computer, but not on other's computer which doesn't install .NET. But I want the exe file to be portable and without install. It seems that it needs a .NET environment. I try to install .net framework 2.0 to the computer which doesn't install Microsoft Visual Studio 2005. But I still can't open the exe file, too. Is it possible to create a exe file without install in Microsoft Visual Studio 2005? Thx for ur reply. Jane

        U Offline
        U Offline
        uusheikh
        wrote on last edited by
        #3

        A program written using /clr should run on any computer with .Net framework installed. Make sure that 1. The program in 100% .Net /clr then you can just install dotnetfx 2. Also check which version of .net are you targeting 3. If you are doing a mixed assembly, make sure you deploy appropriate CRT/OpenMP/ etc DLLs as well, you can distribute using vcredist.exe or MSMs. 4. And finally, you need to distribute applications built in Release mode not Debug mode. Debug DLLs cannot be distributed.

        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