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
The IDE uses relative path for the source generated file, while the compiler is using absolute path.
Generated file class ends up having two different path hashes in metadata name.
Version Used: SDK 8.0.201, VS Version 17.10.0 Preview 2.0 [34626.289.main]
Steps to Reproduce:
Start debugging, change the
@".*"
string to something else and click Hot reload.Expected Behavior: Works or at least doesn't show "unexpected error".
Actual Behavior:
[Error] C:\Users\janjones\Code\issues\roslyn\EnC-ReplaceRegex\ClassLibrary1\ClassLibrary1.sln (line 1): error ENC1002: Cannot apply changes -- unexpected error: 'Unexpected value 'System.Text.RegularExpressions.Generated.Utilities' of type 'Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol''The text was updated successfully, but these errors were encountered: