You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We decided to move towards unification of entry point semantics with desktop CLR.
Obsolete in RC1:
Support for async/Task<>Main.
Support for instantiating of entry point type (Program).
The Main method should be public static void Main or public static int Main.
Support for injecting dependencies into the Program class's constructor and Main method.
Use PlatformServices and CompilationServices instead.
To get to IApplicationEnvironment, IRuntimeEnvironment, IAssemblyLoaderContainer, IAssemblyLoadContextAccessor, ILibraryManager
use Microsoft.Extensions.PlatformAbstractions.PlatformServices.Default static object.
To get to ILibraryExporter, ICompilerOptionsProvider use the Microsoft.Extensions.CompilationAbstractions.CompilationServices.Default static object.
Support for CallContextServiceLocator. Use PlatformServices and CompilationServices instead.
We decided to move towards unification of entry point semantics with desktop CLR.
Obsolete in RC1:
async/Task<>
Main
.The
Main
method should bepublic static void Main
orpublic static int Main
.Program
class's constructor and Main method.Use
PlatformServices
andCompilationServices
instead.To get to
IApplicationEnvironment, IRuntimeEnvironment, IAssemblyLoaderContainer, IAssemblyLoadContextAccessor, ILibraryManager
use
Microsoft.Extensions.PlatformAbstractions.PlatformServices.Default
static object.To get to
ILibraryExporter, ICompilerOptionsProvider
use theMicrosoft.Extensions.CompilationAbstractions.CompilationServices.Default
static object.CallContextServiceLocator
. UsePlatformServices
andCompilationServices
instead.Same as above.
These would be removed in RC2: #106
The text was updated successfully, but these errors were encountered: