user1816979
user1816979

Reputation: 531

vb.net 2012 Error 1 Resource file "My Project\Resources.resx" cannot be found.

In a vb.net 2012 vb.net desktop application that I am opening for the first time, I am getting the following error and warning message: Error 1 Resource file "My Project\Resources.resx" cannot be found.

Warning 2 A custom tool 'VbMyResourcesResXFileCodeGenerator' is associated with file 'My Project\Resources.resx', but the output of the custom tool was not found in the project. You may try re-running the custom tool by right-clicking on the file in the Solution Explorer and choosing Run Custom Tool.

I tried to run the custom tool that was suggested in the warning message and that did not help. Thus can you tell me what I can do to get the Resources.resx file that is missing?

Upvotes: 0

Views: 3500

Answers (1)

Stefan Đorđević
Stefan Đorđević

Reputation: 595

I have fixed this issue by copying "My Project" folder from different project and pasting it into project where I had this error.

You also need to change root namespaces from files inside so it matches your solution's root namespace where error occurs.

Upvotes: 2

Related Questions