C# Standalone??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kailey Joanette

    #1

    C# Standalone??

    Hey guy,
    Relatively experienced programmer here (4th year university), playing
    more or less for the first time with .NET and C#.

    I'm wondering what the quickest, most efficient, and smallest way is of
    putting together a program written in C# so that it will run on a machine
    without the .NET framework installed? I guess there is not faculty like
    there was with VB for something like vbrun500.dll?

    I would love some suggestions. I have a very small program (at the
    moment, it will grow), which i would like to install on perhaps some older
    machines that really can run the .NET framework. All windows machines of
    course.

    If you're interested in seeing the program...its really simple.
    Basically its an educational aid. It creates HTML Math quizzes wit hthe
    various simple operations. Go to
    http://www.sourceforge.net/projects/quizgen currently the normal URL is not
    up yet, so this is the temporary address.

    Cheers,
    Kailey


  • Dmitriy Lapshin [C# / .NET MVP]

    #2
    Re: C# Standalone??

    Hi Kailey,

    C# programs cannot run without the .NET framework. What you could do instead
    is to re-design your quiz generator as an ASP .NET application run on some
    server capable of running .NET, and all the clients will have to have only
    IE installed.

    --
    Dmitriy Lapshin [C# / .NET MVP]
    X-Unity Test Studio

    Bring the power of unit testing to VS .NET IDE

    "Kailey Joanette" <kajoanet@uwo.c a> wrote in message
    news:vq3l8imggm ve66@corp.super news.com...
    [color=blue]
    > Hey guy,
    > Relatively experienced programmer here (4th year university), playing
    > more or less for the first time with .NET and C#.
    >
    > I'm wondering what the quickest, most efficient, and smallest way is[/color]
    of[color=blue]
    > putting together a program written in C# so that it will run on a machine
    > without the .NET framework installed? I guess there is not faculty like
    > there was with VB for something like vbrun500.dll?
    >
    > I would love some suggestions. I have a very small program (at the
    > moment, it will grow), which i would like to install on perhaps some older
    > machines that really can run the .NET framework. All windows machines of
    > course.
    >
    > If you're interested in seeing the program...its really simple.
    > Basically its an educational aid. It creates HTML Math quizzes wit hthe
    > various simple operations. Go to
    > http://www.sourceforge.net/projects/quizgen currently the normal URL is[/color]
    not[color=blue]
    > up yet, so this is the temporary address.
    >
    > Cheers,
    > Kailey
    >
    >[/color]

    Comment

    • Kailey Joanette

      #3
      Re: C# Standalone??

      Thats what I thought... but I would like the run it without web access...so
      looks like i'll just have to provide a link to the .NET framework.
      Thanks...

      That or write it a la C++ win32 API (oh but SOOOO much more messy :) )

      Kailey

      "Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.c om> wrote
      in message news:OAiZgE4nDH A.1708@TK2MSFTN GP12.phx.gbl...[color=blue]
      > Hi Kailey,
      >
      > C# programs cannot run without the .NET framework. What you could do[/color]
      instead[color=blue]
      > is to re-design your quiz generator as an ASP .NET application run on some
      > server capable of running .NET, and all the clients will have to have only
      > IE installed.
      >
      > --
      > Dmitriy Lapshin [C# / .NET MVP]
      > X-Unity Test Studio
      > http://x-unity.miik.com.ua/teststudio.aspx
      > Bring the power of unit testing to VS .NET IDE
      >
      > "Kailey Joanette" <kajoanet@uwo.c a> wrote in message
      > news:vq3l8imggm ve66@corp.super news.com...
      >[color=green]
      > > Hey guy,
      > > Relatively experienced programmer here (4th year university),[/color][/color]
      playing[color=blue][color=green]
      > > more or less for the first time with .NET and C#.
      > >
      > > I'm wondering what the quickest, most efficient, and smallest way is[/color]
      > of[color=green]
      > > putting together a program written in C# so that it will run on a[/color][/color]
      machine[color=blue][color=green]
      > > without the .NET framework installed? I guess there is not faculty like
      > > there was with VB for something like vbrun500.dll?
      > >
      > > I would love some suggestions. I have a very small program (at the
      > > moment, it will grow), which i would like to install on perhaps some[/color][/color]
      older[color=blue][color=green]
      > > machines that really can run the .NET framework. All windows machines[/color][/color]
      of[color=blue][color=green]
      > > course.
      > >
      > > If you're interested in seeing the program...its really simple.
      > > Basically its an educational aid. It creates HTML Math quizzes wit hthe
      > > various simple operations. Go to
      > > http://www.sourceforge.net/projects/quizgen currently the normal URL is[/color]
      > not[color=green]
      > > up yet, so this is the temporary address.
      > >
      > > Cheers,
      > > Kailey
      > >
      > >[/color]
      >[/color]


      Comment

      • Eric Cadwell

        #4
        Re: C# Standalone??

        Seems like a market for a tool that would convert from IL or C# to C++ or
        Assembly.

        -Eric


        Comment

        • Jon Skeet [C# MVP]

          #5
          Re: C# Standalone??

          Eric Cadwell <ecadwell@ns.in sight.com> wrote:[color=blue]
          > Seems like a market for a tool that would convert from IL or C# to C++ or
          > Assembly.[/color]

          I don't know - because sooner or later, you're going to need the
          functionality that the framework provides - both in terms of libraries
          and basic functionality such as threading, garbage collection etc.

          Given that one of the reasons people usually cite for wanting
          "standalone C#" in the first place is that the framework is too large,
          what benefit would providing the C# bit in assembly but requiring
          another (probably just as large) framework in order to run it give?

          --
          Jon Skeet - <skeet@pobox.co m>
          Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

          If replying to the group, please do not mail me too

          Comment

          • news.microsoft.com

            #6
            Re: C# Standalone??

            Now what would be nice is when we get the the point of picking and chosing
            our own imeplementation of the BCLs and runtimes. thats when its truely
            standard, if not, its no better than java.


            "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
            news:MPG.1a0c91 4f6e09275d9899c d@msnews.micros oft.com...[color=blue]
            > Eric Cadwell <ecadwell@ns.in sight.com> wrote:[color=green]
            > > Seems like a market for a tool that would convert from IL or C# to C++[/color][/color]
            or[color=blue][color=green]
            > > Assembly.[/color]
            >
            > I don't know - because sooner or later, you're going to need the
            > functionality that the framework provides - both in terms of libraries
            > and basic functionality such as threading, garbage collection etc.
            >
            > Given that one of the reasons people usually cite for wanting
            > "standalone C#" in the first place is that the framework is too large,
            > what benefit would providing the C# bit in assembly but requiring
            > another (probably just as large) framework in order to run it give?
            >
            > --
            > Jon Skeet - <skeet@pobox.co m>
            > http://www.pobox.com/~skeet
            > If replying to the group, please do not mail me too[/color]


            Comment

            • Eric Cadwell

              #7
              Re: C# Standalone??

              Yes, it would only be a benefit if that framework was already in place.

              In the case of C++, it could then be run managed or unmanaged.

              -Eric


              Comment

              Working...