Cannot build
I pulled the source (master), and tried a rebuild, no joy, I expect I need to tweak something, at least to point to the version of Chakra I already built, I notice there are no System references in the Microsoft.Scripting project, should I be adding them by hand?
Here is a sampling of the errors I get
Severity Code Description Project File Line Source Suppression State Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) Microsoft.Scripting C:\Users\aphilpotts\AppData\Local\Temp.NETPortable,Version=v5.0.AssemblyAttributes.cs 2 IntelliSense Active Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) Microsoft.Scripting C:\Users\aphilpotts\AppData\Local\Temp.NETPortable,Version=v5.0.AssemblyAttributes.cs 3 IntelliSense Active Error CS0400 The type or namespace name 'System' could not be found in the global namespace (are you missing an assembly reference?) Microsoft.Scripting C:\Users\aphilpotts\AppData\Local\Temp.NETPortable,Version=v5.0.AssemblyAttributes.cs 4 IntelliSense Active Error CS0518 Predefined type 'System.String' is not defined or imported Microsoft.Scripting C:\Users\aphilpotts\AppData\Local\Temp.NETPortable,Version=v5.0.AssemblyAttributes.cs 4 IntelliSense Active
Can you tell me what version of Visual Studio you're using?
@aphilpotts Is there any chance you're seeing this issue? https://github.com/dotnet/corefx/issues/5140#issuecomment-174720390
Odd, that issue just went away after restarting visual studio, for the record I am using VS2015, I do see a much more specific error now, in JavaScriptconverter.cs line 255 it does not like IsValueType
else if (t.IsValueType)
{
...
}
Severity Code Description Project File Line Source Suppression State Error CS1061 'Type' does not contain a definition for 'IsValueType' and no extension method 'IsValueType' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?) Microsoft.Scripting C:\Users\aphilpotts\Source\Repos\jsrt-dotnet\src\Microsoft.Scripting\JavaScript\JavaScriptConverter.cs 255 IntelliSense Active
I changed it to:
else if (!t.IsByRef)
Now I can build