Coding Horror posted by: Vuyiswamb
| Posted on: 9/30/2011 | Category: Silverlight
| Views: 3403 | Level: NotApplicable
| Status: [Member] [MVP] [Administrator]
| Points: 75
| Alert Moderator
I recently did a huge project in Silverlight 4. The way i admire the project, i used it as a framework to start other Silverlight projects. i did not want to start a new project from Scratch. i even use the Business Layer and DataLayer WCF service as a Template to start a new project. So i started a new project which is about to be deployed to a client next week.
Since the name of the previous is still holding on to the new project and if we are going to sell the Source code of the Project , it will be a problem. So because of time. i thought i could just rename the Solution file and the website. it was last night that i saw fire. I even slept late trying to revive my project that i worked so hard for months to finish.
I nearly cried when it gave me 800 namespace errors to be resolved. i spent almost the whole morning doing copy and paste because "ReplaceAll" was going to destroy the work i have done for months.
There are two lessons i learned from this.
1) Always be Careful with the names you use to name your Project
2) Always do a backup, even if you don't have any Source Safe Repositoty.
Ok i don't beat myself that much , as i explained i used the previous project as a template to do this project and the client want to buy the source code and the application. But the mistake i made was that in the Begining , i should have given my project a generic name , than naming it with the name of the Project e.g "AccountingSoftware" and when i want to use it for "Payroll" the name is no longer good for the other project.
Luckily i had someone working with me , in this project and he had a Backup :) , i will just replace the pages :)
Thank you for posting at Dotnetfunda
Found interesting? Add this to: