Skip to content

Conversation

@akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Nov 11, 2022

When the server path in the pid file didn't exist we'd hit an error during dotnet build-server shutdown:

Razor build server (process 27970) failed to shut down: The shutdown command failed: The application to execute does not exist

This can happen when the file wasn't cleaned up and the SDK was uninstalled in the meantime. Ensure we delete the pid file in that case and don't error.

Fixes #10573

When the server path in the pid file didn't exist we'd hit an error:

```
The shutdown command failed: The application to execute does not exist
```

This can happen when the file wasn't cleaned up and the SDK was uninstalled in the meantime.
Ensure we delete the pid file in that case and don't error.

Fixes dotnet#10573
@akoeplinger akoeplinger merged commit a95dd63 into dotnet:main Nov 15, 2022
@akoeplinger akoeplinger deleted the razorserver-pidfile branch November 15, 2022 12:33
akoeplinger added a commit to akoeplinger/sdk that referenced this pull request Nov 17, 2022
While debugging dotnet#29029 I noticed that we hit an unhandled exception because later macOS versions don't have an extra dot in the RID version number so the string split failed.

Switched to using float parsing for the version like we do for Ubuntu.
akoeplinger added a commit to akoeplinger/sdk that referenced this pull request Nov 21, 2022
While debugging dotnet#29029 I noticed that we hit an unhandled exception because later macOS versions don't have an extra dot in the RID version number so the string split failed.

Switched to using float parsing for the version like we do for Ubuntu.
marcpopMSFT pushed a commit that referenced this pull request Jan 20, 2023
While debugging #29029 I noticed that we hit an unhandled exception because later macOS versions don't have an extra dot in the RID version number so the string split failed.

Switched to using float parsing for the version like we do for Ubuntu.
dsplaisted pushed a commit to dsplaisted/sdk that referenced this pull request Jan 31, 2023
While debugging dotnet#29029 I noticed that we hit an unhandled exception because later macOS versions don't have an extra dot in the RID version number so the string split failed.

Switched to using float parsing for the version like we do for Ubuntu.
dsplaisted pushed a commit to dsplaisted/sdk that referenced this pull request Jan 31, 2023
While debugging dotnet#29029 I noticed that we hit an unhandled exception because later macOS versions don't have an extra dot in the RID version number so the string split failed.

Switched to using float parsing for the version like we do for Ubuntu.
marcpopMSFT pushed a commit that referenced this pull request Feb 7, 2023
While debugging #29029 I noticed that we hit an unhandled exception because later macOS versions don't have an extra dot in the RID version number so the string split failed.

Switched to using float parsing for the version like we do for Ubuntu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Razor build server (process 27970) failed to shut down: The shutdown command failed: The application to execute does not exist

2 participants