Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Linq not working when published #9

Open
rachied opened this issue May 29, 2023 · 0 comments
Open

System.Linq not working when published #9

rachied opened this issue May 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rachied
Copy link
Contributor

rachied commented May 29, 2023

LINQ methods like Where() do not seem to work when the Playground is published on Github Pages.

Compiling..
Compilation failed with 1 errors and 0 warnings
(26,38): error CS1061: 'IEnumerable<Person>' does not contain a definition for 'Where' and no accessible extension method 'Where' accepting a first argument of type 'IEnumerable<Person>' could be found (are you missing a using directive or an assembly reference?)

Example: https://stryker-mutator.io/stryker-playground/?gist=6c093e492fb2e645bf9636285810c772

The System.Linq.dll assembly is loaded and passed to Roslyn, so this should in theory work.
When running the playground locally, it strangely does work: http://localhost:5000/?gist=6c093e492fb2e645bf9636285810c772

@rachied rachied added the bug Something isn't working label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant