Error (active) CS1503 Argument 1: cannot convert from 'int' to 'dynamic' Error (active) CS0400 The type or namespace name 'dynamic' could not be found in the global namespace (are you missing an assembly reference?) Error (active) CS1662 Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
Our demo is strongly typed while in your case you have dynamics most probably (the code is not visible in your screenshots) and the razor compiler cannot resolve the correct types.
UPDATE: Actually these errors might appear in the Visual Studio only while everything works normally runtime. We will do our best to improve this in our next update later today.
This might be an issue with my Visual Studio and environment if you do not see these errors on the same project. I disabled all the extensions of my project but no effect.
We decided to change the type of Min and Max from dynamic to IComparable. It should resolve this problem. Other than that this is only a UI problem in Visual Studio - the application should build and run fine.