Jump to content

[C# Server] Server.exe shuts down immediately after launch on Visual Studio


Recommended Posts

Posted

Every time I try and run my server, I'm given this error, not sure how to fix it or prevent it as I can't get the server executable running.

 

"The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
The program '[13796] ragemp-server.exe' has exited with code -1073740791 (0xc0000409)."

I'm running rageMP server 1.1 and I'm using .net core 3.1 (the most recent)

1ec83d71135d6adb5e0ef299f83ffddf.png

Posted

For anyone struggling with this, you need to set your working directory to the server-files folder in which your server.exe resides.

like so:

 

 

d9b39aeeb32e2b73c14d1193cac867dc.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...