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. run c# project

run c# project

Scheduled Pinned Locked Moved C#
csharpvisual-studioquestionworkspace
16 Posts 6 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 Michael P Butler

    You are out of luck then. A C# app cannot run without the .NET framework being installed. Unless of course you have money to burn then you can buy something like this[^]. Michael CP Blog [^] Development Blog [^] -- modified at 3:05 Saturday 24th June, 2006

    F Offline
    F Offline
    foysal mamun
    wrote on last edited by
    #7

    i have about .net framework whice size is less than 1mb. but i can not get it.

    C 1 Reply Last reply
    0
    • F foysal mamun

      i have about .net framework whice size is less than 1mb. but i can not get it.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #8

      Even the compact framework is bigger than that. I don't want to sound too harsh here but if you didn't want to have to install something as big as the .NET Framework on the target system then you shouldn't have developed a C# application. Anyway, what is the big deal about the size of the .NET Framework? Modern PCs have Gigabytes of hard disk space going free.


      Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

      F 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Even the compact framework is bigger than that. I don't want to sound too harsh here but if you didn't want to have to install something as big as the .NET Framework on the target system then you shouldn't have developed a C# application. Anyway, what is the big deal about the size of the .NET Framework? Modern PCs have Gigabytes of hard disk space going free.


        Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

        F Offline
        F Offline
        foysal mamun
        wrote on last edited by
        #9

        but how a normal user install it on his pc. only for use my project.

        C T 2 Replies Last reply
        0
        • F foysal mamun

          but how a normal user install it on his pc. only for use my project.

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #10

          Many applications now use the .NET Framework - The user may already have it. You can always point them to the download page on the MS Website to obtain their free copy of the .NET Framework * Download .NET Framework 1.1[^] * Download .NET Framework 2.0[^]


          Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

          F 1 Reply Last reply
          0
          • F foysal mamun

            but how a normal user install it on his pc. only for use my project.

            T Offline
            T Offline
            Tamimi Code
            wrote on last edited by
            #11

            put you application in a Setup Project, where you can install the framework as on option Tamimi - Code

            1 Reply Last reply
            0
            • C Colin Angus Mackay

              Many applications now use the .NET Framework - The user may already have it. You can always point them to the download page on the MS Website to obtain their free copy of the .NET Framework * Download .NET Framework 1.1[^] * Download .NET Framework 2.0[^]


              Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

              F Offline
              F Offline
              foysal mamun
              wrote on last edited by
              #12

              but they are very big. can i make a setup file with .net framework and my project togather. plz help me.

              C T L 3 Replies Last reply
              0
              • F foysal mamun

                but they are very big. can i make a setup file with .net framework and my project togather. plz help me.

                C Offline
                C Offline
                Colin Angus Mackay
                wrote on last edited by
                #13

                foysal mamun wrote:

                but they are very big.

                Again, I'm not trying to be harsh here, but you chose C# as a language to develop your software in. If the size of the framework is too big then you should have thought about that in advance rather than whine about it now.

                foysal mamun wrote:

                can i make a setup file with .net framework and my project togather.

                Yes. See this for 1.1[^] or this for .NET 2.0[^] and look for "Creating a Single Setup Project to Install a .NET Framework Application"


                Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

                1 Reply Last reply
                0
                • F foysal mamun

                  but they are very big. can i make a setup file with .net framework and my project togather. plz help me.

                  T Offline
                  T Offline
                  Tamimi Code
                  wrote on last edited by
                  #14

                  http://www.codeproject.com/dotnet/Win_App_Setup_Project.asp[^] Tamimi - Code

                  1 Reply Last reply
                  0
                  • F foysal mamun

                    but they are very big. can i make a setup file with .net framework and my project togather. plz help me.

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

                    That is the concept of .NET. If you don't want to install the .NET Framework, then don't write codes in C#. Just use the old C++.

                    1 Reply Last reply
                    0
                    • T Tamimi Code

                      hi install the framework on that pc , then install your project on it Tamimi - Code

                      Z Offline
                      Z Offline
                      ZHENG YANG POINTER
                      wrote on last edited by
                      #16

                      Something Added. If you run a application based on .Net Framework 2.0 ,but there is only 1.0 or 1.1,the application will not run ,too.The .Net Framework 2.0 is required.:) No begin no end.

                      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