Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application that was written by another programmer that I need to make a change to. The other programmer left the company so now it is my responsibility. I first made a copy of his app and copied it to my working directly. I then added the new resource to the app along with making some minor code changes. I also had to switch his manifest file to my manifest file The app works properly when running directly through Visual Studio. When I tried publishing the app via Click Once, and running the published version, it says it can't find the new resource file. When I go to the application file dialog under the publish tab, this resource files does not appear on the screen. I looked at the copy of the resources.resx file in Visual Studio and it has the new file included in there so I don't know why the new resource files does not appear on applications file dialog.

What I have tried:

I tried the following:

Rebooted my box
Removing the resource and adding it back in
Adding in another similar resource (It didn't work either)
Cleaning and rebuilding
Hit the "Reset all" button on the application dialog
Making sure the "Show All Files" check box is checked on the application dialog


I have been using resources for years and never had this type of issue before. Anyone have any other ideas?
Posted
Comments
Richard MacCutchan 4-Dec-18 16:38pm    
Check that you do not have a reference in the project file that is pointing to the 'old' project.
kasbaba 16-Dec-18 13:44pm    
Also, I would suggest checking the Resource properties (Compile / CopyIfNewer, etc.)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900