12
1
Option Strict On
2
Imports System
3
Public Module Module1
4
Public Sub Main()
5
PrintTwoLines()
6
Console.WriteLine(">>")
7
End Sub
8
Sub PrintTwoLines()
9
Console.WriteLine()
10
Console.WriteLine()
11
End Sub
12
End Module
Cached Result
Unhandled exception. System.AggregateException: One or more errors occurred. (The type initializer for 'System.Data.Entity.DbContext' threw an exception.)
---> System.TypeInitializationException: The type initializer for 'System.Data.Entity.DbContext' threw an exception.
---> System.TypeInitializationException: The type initializer for 'Z.EntityFramework.Classic.EntityFrameworkManager' threw an exception.
---> System.TypeInitializationException: The type initializer for '' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Z.Expressions.CompilerManager..cctor()
at Z.Expressions.CompilerManager.LoadEntityFrameworkClassicConfiguration()
at Z.Expressions.ExceptionMessage.ThrowLicenseException()
at ..cctor()
--- End of inner exception stack trace ---
at .()
at Z.EntityFramework.Classic.EntityFrameworkManager..cctor()
--- End of inner exception stack trace ---
at Z.EntityFramework.Classic.EntityFrameworkManager.Initialize()
at System.Data.Entity.DbContext..cctor()
--- End of inner exception stack trace ---
at System.Data.Entity.DbContext..ctor(String nameOrConnectionString)
at Program.EntityContext..ctor()
at Program.GenerateData()
at Program.MainAsync()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Program.Main()
Command terminated by signal 6
---> System.TypeInitializationException: The type initializer for 'System.Data.Entity.DbContext' threw an exception.
---> System.TypeInitializationException: The type initializer for 'Z.EntityFramework.Classic.EntityFrameworkManager' threw an exception.
---> System.TypeInitializationException: The type initializer for '' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Z.Expressions.CompilerManager..cctor()
at Z.Expressions.CompilerManager.LoadEntityFrameworkClassicConfiguration()
at Z.Expressions.ExceptionMessage.ThrowLicenseException()
at ..cctor()
--- End of inner exception stack trace ---
at .()
at Z.EntityFramework.Classic.EntityFrameworkManager..cctor()
--- End of inner exception stack trace ---
at Z.EntityFramework.Classic.EntityFrameworkManager.Initialize()
at System.Data.Entity.DbContext..cctor()
--- End of inner exception stack trace ---
at System.Data.Entity.DbContext..ctor(String nameOrConnectionString)
at Program.EntityContext..ctor()
at Program.GenerateData()
at Program.MainAsync()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Program.Main()
Command terminated by signal 6