Image not checking in, pending add forever

Connor Frayne 20 Reputation points
2024-08-12T18:23:44.5066667+00:00

Hello,

I'm having an issue with my resources folder in visual studio. This image won't check in, and it's barring me from using it in my code so I'm not sure how to proceed. The resource folder has many images in it so that could be a problem. Below is my File properties, it's the same as all my other pngs in the resources file.
Thank you,

Connor Frayne

User's image
User's image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,904 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,172 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,732 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 31,976 Reputation points Microsoft Vendor
    2024-08-13T02:08:58.0833333+00:00

    Hi @Connor Frayne ,

    Make sure the Build Action is set to Resource instead of None. This ensures that the image is embedded as a resource in your assembly.

    Best Regards.

    Jiachen Li


    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.

    2 people found this answer helpful.

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.