Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Hook .ilproj files into the build#655

Merged
mellinoe merged 1 commit intodotnet:masterfrom
mellinoe:ilproj3
Apr 21, 2016
Merged

Hook .ilproj files into the build#655
mellinoe merged 1 commit intodotnet:masterfrom
mellinoe:ilproj3

Conversation

@mellinoe
Copy link

This is a few small changes to enable building "ilproj" files as a regular participant in the build. This just imports the existing targets file if the file's extension is detected as ".ilproj". This will be used to build the System.Unsafe library in corefx (https://github.com/mellinoe/corefx/tree/system.unsafe).

There is also a minor modification to the calling syntax for ilasm so that it will work with the x-plat version of ilasm. "Forward-slash syntax" doesn't work in the x-plat version of ilasm. Currently it seems like the nuget packages for ilasm are broken, though, so I have not been able to incorporate it into the tool runtime yet. I have done manual testing of the scenario.

  • Import IL.targets if the project extension is ".ilproj"
  • Use hyphen syntax for ilasm flags, the forward-slash syntax does not
    work on non-Windows ilasm.

@weshaggard

* Import IL.targets if the project extension is ".ilproj"
* Use hyphen syntax for ilasm flags, the forward-slash syntax does not
  work on non-Windows ilasm.
@weshaggard
Copy link
Member

LGTM

@mellinoe
Copy link
Author

Thanks Wes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants