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. How compile a file from my application

How compile a file from my application

Scheduled Pinned Locked Moved C#
csharpquestion
5 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.
  • S Offline
    S Offline
    Sasuko
    wrote on last edited by
    #1

    I've created a program that make a c# class. Can i inlcude with my application a free program that produce a .dll file?

    D J 2 Replies Last reply
    0
    • S Sasuko

      I've created a program that make a c# class. Can i inlcude with my application a free program that produce a .dll file?

      D Offline
      D Offline
      Dy
      wrote on last edited by
      #2

      I believe the C# command line compiler (csc.exe) is part of the .net framework re-distributable. Link[^] Don't forget to check the license though...


      - Dy

      S 1 Reply Last reply
      0
      • D Dy

        I believe the C# command line compiler (csc.exe) is part of the .net framework re-distributable. Link[^] Don't forget to check the license though...


        - Dy

        S Offline
        S Offline
        Sasuko
        wrote on last edited by
        #3

        How can i to know how can i run it within my application then what the comand line are? where can i find the license?

        D 1 Reply Last reply
        0
        • S Sasuko

          I've created a program that make a c# class. Can i inlcude with my application a free program that produce a .dll file?

          J Offline
          J Offline
          Josh Smith
          wrote on last edited by
          #4

          This might be what you're looking for... new Microsoft.CSharp.CSharpCodeProvider().CreateCompiler() Josh

          1 Reply Last reply
          0
          • S Sasuko

            How can i to know how can i run it within my application then what the comand line are? where can i find the license?

            D Offline
            D Offline
            Dy
            wrote on last edited by
            #5

            Sasuko wrote:

            where can i find the license?

            Download that link, there will be a text or HTML file included detailing the licence.

            Sasuko wrote:

            how can i run it within my application then what the comand line are?

            csc.exe yourCodeFile.cs

            Look in MSDN for documentation on csc.exe, it will explain producing a DLL etc. if that's what you need


            - Dy

            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