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. Compiling MSIL and c#

Compiling MSIL and c#

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

    Hi Is there a way to add MSIL to c# code? Thanks

    D N 2 Replies Last reply
    0
    • T thepersonof

      Hi Is there a way to add MSIL to c# code? Thanks

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      AFAIK, no. Yes, even I am blogging now!

      B 1 Reply Last reply
      0
      • D Daniel Turini

        AFAIK, no. Yes, even I am blogging now!

        B Offline
        B Offline
        Bo Hunter
        wrote on last edited by
        #3

        Will ILASM not work? Thank You Bo Hunter

        D 1 Reply Last reply
        0
        • B Bo Hunter

          Will ILASM not work? Thank You Bo Hunter

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #4

          ILASM will work, but you won't be able to embed it inside C# code. You can build a DLL and call it from C#, tough, but I guess this is not what the original post wanted to do... Yes, even I am blogging now!

          1 Reply Last reply
          0
          • T thepersonof

            Hi Is there a way to add MSIL to c# code? Thanks

            N Offline
            N Offline
            Nick Parker
            wrote on last edited by
            #5

            Check out RAIL (Runtime Assembly Instrumentation Library)[^]. There is also another way, through using a post-build event however it is more of a hack. - Nick Parker
            My Blog | My Articles

            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