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
Hot reload diagnostic output provides the following information:
2025-01-04 14:02:51.956 [info] Starting session.
2025-01-04 14:03:21.483 [info] 💡 Possible code changes were found.
2025-01-04 14:03:22.149 [info] Checking for code updates...
2025-01-04 14:03:22.179 [info] Exception thrown for Check for code updates: 0x80131500 - Unable to find method 'GetUpdatesAsync/1' on {no object} for the following reasons: Microsoft.CodeAnalysis.EditAndContinue.ManagedHotReloadLanguageServiceBridge.GetUpdatesAsync(CancellationToken) parameter(s) (excluding any CancellationToken): 0 - 0, but the request supplies 1
2025-01-04 14:03:22.179 [info] Stack trace for RemoteMethodNotFoundException:
at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
at Microsoft.VisualStudio.Debugger.Shared.Utilities.LoggerExtensions.LogOnExceptionAsync[T](ValueTask`1 this, LoggerInformation loggerInformation, Boolean propagateException)
2025-01-04 14:03:22.182 [info] An unexpected error has occurred, any pending updates have been discarded.
2025-01-04 14:03:22.189 [info] ❌ Hot Reload failed due to an unexpected error.
2025-01-04 14:03:22.217 [info] Exception found while applying code changes: Error: Unable to find method 'GetUpdatesAsync/1' on {no object} for the following reasons: Microsoft.CodeAnalysis.EditAndContinue.ManagedHotReloadLanguageServiceBridge.GetUpdatesAsync(CancellationToken) parameter(s) (excluding any CancellationToken): 0 - 0, but the request supplies 1```
**Version 1.14.14**, with identical project configuration, files and steps.
Note: While stating things were successfully applied, there are no changes to the program without restarting.
Output:
2025-01-04 14:06:52.418 [info] Starting session.
2025-01-04 14:06:59.610 [info] 💡 Possible code changes were found.
2025-01-04 14:07:00.418 [info] Checking for code updates...
2025-01-04 14:07:00.483 [info] Applying code updates...
2025-01-04 14:07:00.968 [info] Code changes were successfully applied.
### Steps To Reproduce
1. Create console dotnet project `dotnet new console -n "Test"`
2. Paste the following code ``` while (true) {
Console.WriteLine("Hello, World!");
Thread.Sleep(1000);
}```
3. Comment out `Console.WriteLine`, hot reload
4. Prints continue!
### Expected Behavior
Print stop :)
### Environment Information
- Extension version 1.14.14
- Windows 11
The text was updated successfully, but these errors were encountered:
Describe the Issue
Version 1.15.13 Pre-release.
Hot reload diagnostic output provides the following information:
2025-01-04 14:06:52.418 [info] Starting session.
2025-01-04 14:06:59.610 [info] 💡 Possible code changes were found.
2025-01-04 14:07:00.418 [info] Checking for code updates...
2025-01-04 14:07:00.483 [info] Applying code updates...
2025-01-04 14:07:00.968 [info] Code changes were successfully applied.
The text was updated successfully, but these errors were encountered: