Search Issue Tracker

By Design

Votes

0

Found in

4.6.0f3

Issue ID

650265

Regression

No

[WSA] System.Collections.Generic.List<string> does not contain a definition for 'ForEach'

Windows Store Apps

-

Can't build the project to WSA platform, when compilation overrides is set to "Use Net Core";

Error in console:
Assets\Main.cs(19,21): error CS1061: 'System.Collections.Generic.List<string>' does not contain a definition for 'ForEach' and no extension method 'ForEach' accepting a first argument of type 'System.Collections.Generic.List<string>' could be found (are you missing a using directive or an assembly reference?)

Reproducible on 4.5, 4.6, 5.0 versions;

Repro steps:
1. open user's sent project "BugRepo.zip" (open with 4.6 or higher, because it has uGUI elements and crashes on 4.5);
2. try to build to WSA when compilation overrides is set to "Use Net Core";

Workaround is to build with compilation overrides set to "None";

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.