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

Adding ILDasm restore and resources switches in order to be able to produce resources for System.Runtime.CompilerServices.Unsafe.dll#2123

Merged
joperezr merged 1 commit intodotnet:masterfrom
joperezr:SRCSU
Aug 15, 2018
Merged

Adding ILDasm restore and resources switches in order to be able to produce resources for System.Runtime.CompilerServices.Unsafe.dll#2123
joperezr merged 1 commit intodotnet:masterfrom
joperezr:SRCSU

Conversation

@joperezr
Copy link
Member

This is in order to fix this issue: https://github.com/dotnet/corefx/issues/24012

S.R.CS.Unsafe is built as an ilproj where we call ilasm directly. This causes that the write version headers are not built into the managed library. With these changes (plus a PR comming up in corefx) we will be able to produce a resource file and then pass it down to ilasm so that the dll will have the right headers on it.

…roduce resources for System.Runtime.CompilerServices.Unsafe.dll
@@ -20,6 +20,7 @@

<ItemGroup>

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@ericstj
Copy link
Member

ericstj commented Aug 15, 2018

/cc @tannergooding who was recently building out the ILproj SDK.

<_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL</_IlasmSwitches>
<_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT</_IlasmSwitches>
<_IlasmSwitches Condition="'$(Optimize)' == 'True'">$(_IlasmSwitches) -OPTIMIZE</_IlasmSwitches>
<_IlasmSwitches Condition="'$(IlasmResourceFile)' != ''">$(_IlasmSwitches) -RESOURCES=$(IlasmResourceFile)</_IlasmSwitches>

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

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