Skip to content

Add missing string resources to the ILVerify tool - #38630

Merged
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:issue-38623
Jun 30, 2020
Merged

Add missing string resources to the ILVerify tool#38630
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:issue-38623

Conversation

@jkotas

Copy link
Copy Markdown
Member

Fixes#38623

<CLSCompliant>false</CLSCompliant>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>

Copy link
Copy Markdown
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
Copy Markdown
MemberAuthor

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
Copy Markdown
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

@agockeagocke left a comment

Copy link
Copy Markdown
Member

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:masterJun 30, 2020
@jkotas
jkotas deleted the issue-38623 branch July 7, 2020 16:07
@ghostghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclrOnly use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ILVerify - Packaged release seems to be missing embedded resources

3 participants

@jkotas@agocke@Dotnet-GitSync-Bot