Skip to content

Moving towards unification of entry point semantics with desktop CLR #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pakrym opened this issue Nov 18, 2015 · 0 comments
Open

Moving towards unification of entry point semantics with desktop CLR #113

pakrym opened this issue Nov 18, 2015 · 0 comments

Comments

@pakrym
Copy link

pakrym commented Nov 18, 2015

We decided to move towards unification of entry point semantics with desktop CLR.

Obsolete in RC1:

  1. Support for async/Task<> Main.
  2. Support for instantiating of entry point type (Program).

    The Main method should be public static void Main or public static int Main.
  3. 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.
  4. Support for CallContextServiceLocator. Use PlatformServices and CompilationServices instead.

    Same as above.

These would be removed in RC2: #106

@aspnet aspnet locked and limited conversation to collaborators Nov 18, 2015
@pakrym pakrym added this to the 1.0.0-rc1 milestone Nov 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant