Solved

Copy Visual Studio.net project & namespace rename

Posted on 2004-10-28
278 Views
Last Modified: 2008-03-03
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
Question by:MadRiverLizard
    3 Comments
     
    LVL 25

    Accepted Solution

    by:
    Visual Studio .NET IDE -> Project -> Project Properties. Change the Assembly Name and you willl be done.

    Best, Nauman.
    0
     

    Author Comment

    by:MadRiverLizard
    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
     
    LVL 25

    Expert Comment

    by:nauman_ahmed
    NP :)

    Best, Nauman.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    Want to pick and choose which updates you receive? Feel free to check out this quick video on how to manage your email notifications.
    This video discusses moving either the default database or any database to a new volume.

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now