How to use .net program from backup

Hi Experts,
While working on a .aspx and its code behind program, I did many changes and now it is not working as expected, and finaly lost track of the changes.  Fortunately I kept a backup of it before making all those changes.  Now I am trying replace (or use) its backup version and start all over again.  Below are the steps I already tried.

1.  Deleted the .aspx and code behind files from the folder and copied from the backup.  When tried to Build the application, I got this error message.

Error      105      An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'XXX_YYY_ProgName' found in assembly 'App_Web_hpbgdvnu'.      aspnet_merge      1      1      ghpWork_deploy

2.  Next, I copied and pasted the entire program content from the backup.  When tried to Build, got the exact same error as above.

The question here is how can I make use of my backup programs?

Thank you in advance for your time and help.
RadhaKrishnaKiJayaAsked:
Who is Participating?
 
RadhaKrishnaKiJayaConnect With a Mentor Author Commented:
In the Bin folde I found the duplicate files of ghpWork_deploy.dll and ghpWork_deploy.pdb.
0
 
RadhaKrishnaKiJayaAuthor Commented:
Already described.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.