This project is read-only.

Status of Compilation.CreateSubmission and VS2014 CTP

Topics: General, VB Language Design
Jun 4, 2014 at 3:39 AM
Edited Jun 4, 2014 at 3:40 AM
Today's NuGet drop of Microsoft.CodeAnalysis.VisualBasic 0.7.4052301-beta appears to still reference Roslyn.Scripting.Session and it appears to still be gone.

Dim t = VisualBasicSyntaxTree.ParseText("dim z as integer : z= 10",, New VisualBasicParseOptions(kind:=SourceCodeKind.Interactive))

Dim x1 = VisualBasicCompilation.CreateSubmission("M", t, {New MetadataFileReference(GetType(Object).Assembly.Location)})

For Each z In x1.GetDiagnostics()
    Console.WriteLine("Problem: " & z.Category & ":" & z.Severity & ":" & z.GetMessage)
"Problem: Compiler:3:Import of type 'Roslyn.Scripting.Session' from assembly or module 'M.dll' failed."

Does the VS2014 CTP contain the ability to compile against SourceCodeKind.Interactive or SourceCodeKind.Script yet? I know it was being re-worked.

Are today's NuGet drops the same as those found directly in the VS2014 CTP?