error en el diseñador de visual studio aparece ventana de error de tipo de valor statement no admitido

carlos adolfo yañez gutierrez 0 Reputation points
2024-07-14T03:27:35.37+00:00

No se abre el form en el diseñador de visual studio porque indica error de valor de statement no admitido

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,484 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,184 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,086 Reputation points Microsoft Vendor
    2024-07-15T03:08:37.5866667+00:00

    Hello @carlos adolfo yañez gutierrez,

    Welcome to Microsoft Q&A forum.

    Please kindly edit your question into English, so that we can better help you:)

    Did you modify something(like changing default InitializeComponent( )) or remove some default files(like .Designer.cs file) by mistake?

    Try to create a new project, match the files and the default code, see if some code was added wrongly.

    If it still doesn’t work, please share us some code snippets/screenshots and tell us what you have changed(in the project) to check further.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.