Closing the project and the constructor does not help.
Either VCProject or VCCodeModel is not ready yet. Please close designer and try again.
в Microsoft.VisualC.CppCodeParser.Parse(TextReader codeStream)
в System.CodeDom.Compiler.CodeDomProvider.Parse(TextReader codeStream)
в Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
в Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
--- End of stack trace from the previous location where the exception was thrown ---
в Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
в System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
This problem appears for the second time. Last time, creating a new project helped me, but the form was reset. How can I fix this without doing it all over again?
VS 2019
2 answers
Sort by: Most helpful
-
-
Andrew MacGillivray 1 Reputation point
2022-06-23T14:27:12.523+00:00 I am having the same issue. I was working on a CLR (.NET Framework) C++ project where the designer had been working fine. I accidentally clicked and dragged in an area outside of the window in the designer, then this error started and I have not been able to fix it. The project still compiles, but I cannot access the designer.