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. c# or c#.net

c# or c#.net

Scheduled Pinned Locked Moved C#
csharpsysadminjsonquestion
5 Posts 4 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.
  • R Offline
    R Offline
    ranzask
    wrote on last edited by
    #1

    Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z

    D I D 3 Replies Last reply
    0
    • R ranzask

      Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z

      D Offline
      D Offline
      Dario Solera
      wrote on last edited by
      #2

      ranzask wrote:

      I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ?

      It will be needed, always.

      ranzask wrote:

      can i use the code to be compiled in a non framework enviournment?

      No, sorry. But you can write your own compiler and class library. ;) It would be great! C# is a standard ECMA language, but all the available compilers (Microsoft and Mono) require a specific framework. ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]

      1 Reply Last reply
      0
      • R ranzask

        Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z

        I Offline
        I Offline
        Ingo
        wrote on last edited by
        #3

        I hope I understood you rightfully. C# only exists for .NET (as I know). If you use C# you use .NET. If you don't want to use .NET you have to use another language (like C++). You can compile a C# Programm for other plattforms (Linux, Mac OS) but you use .NET. Greetings, Ingo ------------------------------ A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!

        D 1 Reply Last reply
        0
        • I Ingo

          I hope I understood you rightfully. C# only exists for .NET (as I know). If you use C# you use .NET. If you don't want to use .NET you have to use another language (like C++). You can compile a C# Programm for other plattforms (Linux, Mac OS) but you use .NET. Greetings, Ingo ------------------------------ A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!

          D Offline
          D Offline
          Dario Solera
          wrote on last edited by
          #4

          You're a little wrong. C# is a (standard) language, so *theoretically* it can be compiled to any platform. You only need a compiler. The problem is that all the real-world implementations of a C# compilers require the .NET Framework (csc.exe or the Borland something.net) or the Mono Framework (Mono compiler). The 2 frameworks' BCL are not equal: many classes haven't the same name and/or aren't in the same namespace, so the same code won't compile on the 2 frameworks. :) ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]

          1 Reply Last reply
          0
          • R ranzask

            Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z

            D Offline
            D Offline
            Dan Neely
            wrote on last edited by
            #5

            There are *expensive* 3rd party tools that can create a standalone executable by statically linking the needed parts of the framework into your app, there isn't a provided way to do so.

            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