kkokosa / Tune

The Ultimate .NET Experiment
GNU General Public License v3.0
355 stars 25 forks source link

Cannot use System.Linq #25

Open cezarypiatek opened 6 years ago

cezarypiatek commented 6 years ago

When I'm trying test code that depend on System.Linq I'm getting error:

[02:16:29.522] Running started.
[02:16:29.800] Script parsed.
[02:16:29.853] Script compilation into assembly assemblyName_636777153898003530.
[02:16:31.283] Script compilation failed: (3,14): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
(21,20): error CS0103: The name 'Enumerable' does not exist in the current context
(31,31): error CS1061: 'List<Test>' does not contain a definition for 'Where' and no extension method 'Where' accepting a first argument of type 'List<Test>' could be found (are you missing a using directive or an assembly reference?)
(37,31): error CS1061: 'List<Test>' does not contain a definition for 'Where' and no extension method 'Where' accepting a first argument of type 'List<Test>' could be found (are you missing a using directive or an assembly reference?).
[02:16:31.291] System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
   w Tune.Core.DiagnosticAssembly.Execute(String argument) w D:\a\1\s\src\Tune.Core\DiagnosticAssembly.cs:wiersz 54
   w Tune.UI.MVVM.ViewModels.MainViewModel.<RunAsync>d__96.MoveNext() w D:\a\1\s\src\Tune.UI.ViewModels\ViewModels\MainViewModel.cs:wiersz 285
[02:16:31.295] Running ended with success False
kkokosa commented 6 years ago

You will be able to add references as soon as I will find time to review and accept https://github.com/kkokosa/Tune/pull/24 :)

michasacuer commented 4 years ago

@kkokosa any updates?