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. C#
  4. Running C# Windows Application

Running C# Windows Application

Scheduled Pinned Locked Moved C#
csharphelpquestionvisual-studio
5 Posts 4 Posters 16 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.
  • R Offline
    R Offline
    Rick Crone
    wrote on last edited by
    #1

    I have built a simple C# Windows Application and it runs on the machine I built it on fine. I put the .EXE on another machine and tried to run it there it failed. It needed mscoree.dll so I added that to the directory the .EXE is in. Now I'm getting a .NET frame work initialization error. I guess I need to install the .NET frame work (maybe?). If that is the problem, how do I do that without installing the Visual Studio.NET? Rick Crone

    N P 3 Replies Last reply
    0
    • R Rick Crone

      I have built a simple C# Windows Application and it runs on the machine I built it on fine. I put the .EXE on another machine and tried to run it there it failed. It needed mscoree.dll so I added that to the directory the .EXE is in. Now I'm getting a .NET frame work initialization error. I guess I need to install the .NET frame work (maybe?). If that is the problem, how do I do that without installing the Visual Studio.NET? Rick Crone

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      You need to have the .NET runtime installed on target machines [its a 18-19 MB download] Nish Sonork ID 100.9786 voidmain
      www.busterboy.org
      Nish is a BIG fan of Goran Ivanisevic

      1 Reply Last reply
      0
      • R Rick Crone

        I have built a simple C# Windows Application and it runs on the machine I built it on fine. I put the .EXE on another machine and tried to run it there it failed. It needed mscoree.dll so I added that to the directory the .EXE is in. Now I'm getting a .NET frame work initialization error. I guess I need to install the .NET frame work (maybe?). If that is the problem, how do I do that without installing the Visual Studio.NET? Rick Crone

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        download this and install it on the target machine http://download.microsoft.com/download/VisualStudioNET/Trial/2.0/W982KMeXP/EN-US/dotnetfx.exe Nish Sonork ID 100.9786 voidmain
        www.busterboy.org
        Nish is a BIG fan of Goran Ivanisevic

        1 Reply Last reply
        0
        • R Rick Crone

          I have built a simple C# Windows Application and it runs on the machine I built it on fine. I put the .EXE on another machine and tried to run it there it failed. It needed mscoree.dll so I added that to the directory the .EXE is in. Now I'm getting a .NET frame work initialization error. I guess I need to install the .NET frame work (maybe?). If that is the problem, how do I do that without installing the Visual Studio.NET? Rick Crone

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          Rick you need to install the .NET framework on the target machine. Developing for .NET brings along awhole slew of new things, including runtime baggage. If you got VS.NET via an MSDN subscription then you should also have got a CD with the entire .NET Framework on it. Use that on the target machine. From what I have heard there will be a "service pack" for Windows XP (not sure about 2000, but probably as well) that will include the .NET Framework. This should be released once .NET has gone gold. Future versions of Windows will have it all built in. I can't wait :) regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

          L 1 Reply Last reply
          0
          • P Paul Watson

            Rick you need to install the .NET framework on the target machine. Developing for .NET brings along awhole slew of new things, including runtime baggage. If you got VS.NET via an MSDN subscription then you should also have got a CD with the entire .NET Framework on it. Use that on the target machine. From what I have heard there will be a "service pack" for Windows XP (not sure about 2000, but probably as well) that will include the .NET Framework. This should be released once .NET has gone gold. Future versions of Windows will have it all built in. I can't wait :) regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            :-D ;P ;) :) :omg: :rolleyes: :mad: X| :eek: :cool: :| ;) ;) ;) ;) ;)

            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