Skip to content

Introduction of an additional option to include IL CODE #4600

Description

@msedi

Visual Studio >= 2019

I am sure that this has been requested before but I could not find any issue for this.
The request is about if it is possible to introduce an additional step, similar to where we arr able to include IL code into the msbuild chain?

Currently you have to either create your own assembly to insert IL code or you have to weave in in afterwards. Additionally the project system does currently not recognize ilproj which is often used in your own repo.

So it would be nice if the project system does recognize the ilproj and additionally if we can weaveink directly IL code directly into a C# or any other .NET project. Since I am a C# guy a C# project id sufficient for me, but I assume othersdo not agree having it made possible in C# only.

Activity

  1. changed the title [-]Introduction of an additional optionto include IL CODE[/-] [+]Introduction of an additional option to include IL CODE[/+] on Feb 21, 2019
  2. added this to the Backlog milestone on Mar 5, 2019
  3. added
    Triage-Approved
    on Mar 5, 2019
  4. wjk commented on May 28, 2019

    @wjk
    Contributor

    @msedi Have you taken a look at Microsoft.NET.Sdk.IL? I don’t know how well it works in VS in practice, but it does allow constructing a C# project using only MSIL. Note that if you rename the project file to end in .msbuildproj (the default for MSIL projects is .ilproj, which VS won’t recognize without more work), it should at least load into VS. Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage-Approved

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions