[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

Copy Visual Studio.net project & namespace rename

I have successfully copied a VS.net203 project and changed the name of the assembly and its namespace( for the project properties, the *.cs files, and the aspx files). When I build the project, a *.dll and a *.pdb file appear in the \bin directory with the old namespace name. If I delete them from the folder, then and verify that the file no longer exists in the solution explorer, ther reappear when I rebuild the project - even though there is a dll and a pdb file with the NEW namespace as well.

Did I miss changing a setting when I changed the namespace and assembly names somewhere?

Thanks!
0
MadRiverLizard
Asked:
MadRiverLizard
  • 2
1 Solution
 
nauman_ahmedCommented:
Visual Studio .NET IDE -> Project -> Project Properties. Change the Assembly Name and you willl be done.

Best, Nauman.
0
 
MadRiverLizardAuthor Commented:
I was sure I already changed the assembly name and the namespace at the same time as I stated in my first post. For what ever reason it was NOT changed. I may have hit 'cancel' instead of 'ok'.

I took your advice and changed it again. I then deleted the old assemblies, and it works perfectly.

Thanks for the speedy response!
0
 
nauman_ahmedCommented:
NP :)

Best, Nauman.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now