Skip to content
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

libcoreclr shim out of date? #4679

Closed
davidfowl opened this issue Dec 20, 2015 · 1 comment
Closed

libcoreclr shim out of date? #4679

davidfowl opened this issue Dec 20, 2015 · 1 comment

Comments

@davidfowl
Copy link
Member

Davids-MacBook-Pro:HelloMvc dfowler$ dotnet run
Hosting environment: Production
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.

Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named 'SetConsoleCtrlHandler' in DLL 'libcoreclr'.
   at Interop.libcoreclr.SetConsoleCtrlHandler(ConsoleCtrlHandlerRoutine handler, Boolean addOrRemove)
   at System.ConsolePal.ControlCHandlerRegistrar.RegisterOrUnregister(Boolean register)
   at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value)
   at Microsoft.AspNet.Hosting.WebApplicationExtensions.Run(IWebApplication application)
   at HelloMvc.Program.Main(String[] args)

I know dependencies are wrong somewhere but I'm not sure where. So here are a few questions:

  • Should this still be in libcoreclr? I thought the only thing left was semaphores... (Didn't this move to System.Native)?
  • If it did move, why would it still be loading? Is it my version of System.Console? I'm using System.Console 4.0.0-rc2-23616

/cc @anurse @stephentoub @ericstj

@davidfowl
Copy link
Member Author

Adding "NETStandard.Library": "1.0.0-rc2-23616" worked...

wli3 referenced this issue in wli3/cli Jul 14, 2017
Package System.IO.FileSystem facade with SDK
@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
rainersigwald pushed a commit to rainersigwald/sdk that referenced this issue Jul 20, 2020
….11 (dotnet#4679)

Microsoft.NET.Sdk
 From Version 3.1.400-preview.20358.5 -> To Version 3.1.400-preview.20360.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant