Skip to content

Latest commit

 

History

History
207 lines (204 loc) · 10.8 KB

edit-and-continue-errors.md

File metadata and controls

207 lines (204 loc) · 10.8 KB
titledescriptionms.datems.topicf1_keywordshelpviewer_keywordsauthorms.authormanagerms.subservice
Edit and Continue error messages
Learn about the error messages that can occur when you use Hot Reload or Edit and Continue features.
03/29/2024
error-reference
ENC0001
ENC0002
ENC0003
ENC0004
ENC0005
ENC0006
ENC0007
ENC0008
ENC0009
ENC0011
ENC0012
ENC0013
ENC0014
ENC0015
ENC0016
ENC0018
ENC0019
ENC0020
ENC0021
ENC0023
ENC0024
ENC0025
ENC0026
ENC0029
ENC0030
ENC0031
ENC0032
ENC0033
ENC0036
ENC0038
ENC0044
ENC0045
ENC0046
ENC0047
ENC0051
ENC0052
ENC0053
ENC0054
ENC0059
ENC0060
ENC0061
ENC0062
ENC0063
ENC0064
ENC0065
ENC0066
ENC0067
ENC0068
ENC0069
ENC0070
ENC0071
ENC0072
ENC0073
ENC0074
ENC0075
ENC0076
ENC0080
ENC0081
ENC0082
ENC0083
ENC0085
ENC0086
ENC0087
ENC0088
ENC0089
ENC0090
ENC0097
ENC0098
ENC0099
ENC0100
ENC0101
ENC0102
ENC0103
ENC0104
ENC0105
ENC0106
ENC0107
ENC0108
ENC0109
ENC0110
ENC0111
ENC0112
ENC0113
ENC0114
ENC0115
ENC0116
ENC0117
ENC1001
ENC1002
ENC1004
ENC1005
ENC1006
ENC1007
Edit and Continue error messages
Hot Reload error messages
mikejo5000
mikejo
mijacobs
debug-diagnostics

Hot Reload and Edit and Continue error messages

You might encounter one or more of these error messages during a Hot Reload or a debug session.

Error codeError text
ENC0001Updating an active statement requires restarting the application.
ENC0002Removing 'text' that contains an active statement requires restarting the application.
ENC0003Updating 'text' requires restarting the application.
ENC0004Updating the modifiers of 'text' requires restarting the application.
ENC0005Updating the Handles clause of 'text' requires restarting the application.
ENC0006Updating the Implements clause of a 'text' requires restarting the application.
ENC0007Updating the variance of 'text' requires restarting the application.
ENC0008Changing a field to an event or vice versa requires restarting the application.
ENC0009Updating the type of 'text' requires restarting the application.
ENC0011Updating the initializer of 'text' requires restarting the application.
ENC0012Updating the size of a 'text' requires restarting the application.
ENC0013Updating the underlying type of 'text' requires restarting the application.
ENC0014Updating the base class and/or base interface(s) of 'text' requires restarting the application.
ENC0015Updating the kind of a type requires restarting the application.
ENC0016Updating the kind of a property/event accessor requires restarting the application.
ENC0018Updating the library name of Declare statement requires restarting the application.
ENC0019Updating the alias of Declare statement requires restarting the application.
ENC0020Renaming 'text' requires restarting the application.
ENC0021Adding 'text' requires restarting the application.
ENC0023Adding an abstract 'text' or overriding an inherited 'text' requires restarting the application.
ENC0024Adding a MustOverride 'text' or overriding an inherited 'text' requires restarting the application.
ENC0025Adding an extern 'text' requires restarting the application.
ENC0026Adding a user defined 'text' requires restarting the application.
ENC0029Adding an imported method requires restarting the application.
ENC0030Adding 'text' into a 'text' requires restarting the application.
ENC0031Adding 'text' into a class with explicit or sequential layout requires restarting the application.
ENC0032Moving 'text' requires restarting the application.
ENC0033Deleting 'text' requires restarting the application.
ENC0036Modifying a generic method requires restarting the application.
ENC0038Modifying a method inside the context of a generic type requires restarting the application.
ENC0044Modifying 'text' which contains the stackalloc operator requires restarting the application.
ENC0045Modifying source with experimental language features enabled requires restarting the application.
ENC0046Updating a complex statement containing an await expression requires restarting the application.
ENC0047Changing visibility of 'text' requires restarting the application.
ENC0051Changing the type of a captured variable 'text' previously of type 'text' requires restarting the application.
ENC0052Changing the declaration scope of a captured variable 'text' requires restarting the application.
ENC0053Changing the parameters of 'text' requires restarting the application.
ENC0054Changing the return type of 'text' requires restarting the application.
ENC0059Changing the signature of 'text' requires restarting the application because is not supported by the runtime.
ENC0060Adding 'text' around an active statement requires restarting the application.
ENC0061Deleting 'text' around an active statement requires restarting the application.
ENC0062Removing 'text' that contains an active statement requires restarting the application.
ENC0063Updating a 'text' around an active statement requires restarting the application.
ENC0064Modifying a catch/finally handler with an active statement in the try block requires restarting the application.
ENC0065Modifying a try/catch/finally statement when the finally block is active requires restarting the application.
ENC0066Modifying a catch handler around an active statement requires restarting the application.
ENC0067Modifying 'text' which contains a static variable requires restarting the application.
ENC0068Adding a constructor to a type with a field or property initializer that contains an anonymous function requires restarting the application.
ENC0069Renaming a captured variable, from 'text' to 'text' requires restarting the application.
ENC0070Adding 'text' with the Handles clause requires restarting the application.
ENC0071Adding a new file requires restarting the application.
ENC0072Updating an active statement requires restarting the application.
ENC0073Removing 'text' that contains an active statement requires restarting the application.
ENC0074Updating async or iterator modifier around an active statement requires restarting the application.
ENC0075Attribute 'text' is missing. Updating an async method or an iterator requires restarting the application.
ENC0076Switching between a lambda and a local function requires restarting the application.
ENC0080Modifying source file 'text' requires restarting the application due to internal error: 'text'
ENC0081Adding a method with an explicit interface specifier requires restarting the application.
ENC0082Adding 'text' into an interface requires restarting the application.
ENC0083Adding 'text' into an interface method requires restarting the application.
ENC0085Changing 'text' from asynchronous to synchronous requires restarting the application.
ENC0086Changing 'text' to 'text' requires restarting the application because it changes the shape of the state machine.
ENC0087Modifying 'text' which contains an Aggregate, Group By, or Join query clauses requires restarting the application.
ENC0088Modifying the body of 'text' requires restarting the application due to internal error: 'text'
ENC0089Modifying source file 'text' requires restarting the application because the file is too big.
ENC0090Modifying the body of 'text' requires restarting the application because the body has too many statements.
ENC0097Applying source changes while the application is running is not supported by the runtime.
ENC0098Making a method asynchronous requires restarting the application because is not supported by the runtime.
ENC0099Making a method an iterator requires restarting the application because is not supported by the runtime.
ENC0100Adding 'text' requires restarting the application.
ENC0101Updating the attributes of 'text' requires restarting the application because it is not supported by the runtime.
ENC0102An update that causes the return type of the implicit Main method to change requires restarting the application.
ENC0103Changing parameter types of 'text' requires restarting the application.
ENC0104Changing type parameters of 'text' requires restarting the application.
ENC0105Changing constraints of 'text' requires restarting the application.
ENC0106Updating a reloadable type (marked by 'text') or its member requires restarting the application because is not supported by the runtime.
ENC0107Renaming 'text' requires restarting the application because it is not supported by the runtime.
ENC0108Changing pseudo-custom attribute 'text' of 'text' requires restarting the application
ENC0109Changing the containing namespace of 'text' from 'text1' to 'text2' requires restarting the application
ENC0110Changing the signature of 'text' requires restarting the application because is not supported by the runtime.
ENC0111Deleting 'text' requires restarting the application because is not supported by the runtime.
ENC0112Updating async or iterator requires restarting the application because is not supported by the runtime.
ENC0113Updating 'text' within generic type or method requires restarting the application because is not supported by the runtime.
ENC0114Capturing primary constructor parameter 'text' that hasn't been capture before requires restarting the application.
ENC0115Ceasing to capture primary constructor parameter 'text' of 'text' requires restarting the application.
ENC0116Changing attribute 'text' requires restarting the application.
ENC0117Changing attribute 'text' requires restarting the application.
ENC1001Error while reading file 'text': 'text'
ENC1002Cannot apply changes -- unexpected error: 'text'
ENC1004Changes are not allowed while stopped at exception
ENC1005The current content of source file 'text' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source.
ENC1006Unable to read source file 'text' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source.
ENC1007One or more changes result in a new type being created by the compiler, which requires restarting the application because it is not supported by the runtime
close