Meu projeto nao reconhece mais oglobal::ExtremePDV.Properties.Resources.sair , todas as imagens do resouurce nao são reconheciadas , e se eu tentar inserir mais uma tambem não , só se eu colocar arquivo externo , como corrigir isto , alguem pode me ajudar

Eloisio Campos 20 Reputation points
2023-10-29T15:34:52.6333333+00:00

de repente nao consigo mais editar as telas dos formularios do meu projeto , ele nao reconhece mais Meu projeto nao reconhece mais oglobal::ExtremePDV.Properties.Resources.sair , todas as imagens do resouurce nao são reconheciadas , e se eu tentar inserir mais uma tambem não , só se eu colocar arquivo externo , como corrigir isto , alguem pode me ajudar?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,175 questions
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 31,006 Reputation points Microsoft Vendor
    2023-10-31T06:30:04.2133333+00:00

    Hello @Eloisio Campos ,

    Thank you for sharing us the screenshots.

    Please first check if some projects reference themselves. For example, controls/forms defined in this project uses other controls defined in the same project. Try to remove this reference(from "References" node in VS Solution Explorer) and rebuild your project.

    If you are using a Resources file, please try to replace it with another backup(not damaged) Resources file, re-add the images and check if this works.

    Please also double check the References node in Solution Explorer and make sure that all the references are correct.

    Feel free to let us know the results.

    Sincerely,

    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

2 additional answers

Sort by: Most helpful
  1. Eloisio Campos 20 Reputation points
    2023-10-30T12:28:03.11+00:00

    "Good morning! Thank you very much for responding.

    This problem started when I tried to insert an image into a form, as in the attached image. When trying to use project resource files, it doesn't work, but if I import a local resource, it works: The Resource folder in Solution Explorer looks like this: (attached image)"Captura2 de tela2 2023-10-30 092328

    Captura de tela 2023-10-30 092059

    0 comments No comments

  2. Eloisio Campos 20 Reputation points
    2023-10-30T12:38:52.2966667+00:00

    "Dear Sirs, I found this information relevant:

    When I open the form designer, an error appears on all images (as attached): However, if I compile it, it does not show an error. However, I can no longer edit the form.

    Thank you"Captura3 de tela 2023-10-30 093310

    Captura4 de tela 2023-10-30 093342


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.