Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Jun 30, 2020

Fixes #38623

<CLSCompliant>false</CLSCompliant>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding was that resx files in the current directory would be added automatically if this property isn't set. Is that wrong?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this line, ILVerification.Strings.resources was included automatically and then the build complained that ILVerification.Strings.resources is included twice. The second one comes from ILVerification.projitems.

I am mirroring the setup this has for CompileItems for EmbeddedResourceItems. (Introduced by #37388 to fix build breaks in tests.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, missed the specification in projitems

Copy link
Member

@agocke agocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jkotas jkotas merged commit ead30d9 into dotnet:master Jun 30, 2020
@jkotas jkotas deleted the issue-38623 branch July 7, 2020 16:07
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ILVerify - Packaged release seems to be missing embedded resources

3 participants