Skip to content

2010 asp.net change file name

dc

Asked Jul 6, 2012, 8:45 AM EDT1 answer
Share
LinkedInX
I have a C# 2010 web form application that uses linq to sql connections. I am having problems with the visual studio.net 2010 ide opening up very slowly.
The problem looks like I need to change part of the name for a dbml file. Here are the names I am working with;
1. testapp.dbml,
2. testapp.dbml.layout, and

3. testapp1.designer.cs.


I know the problem is the name called testapp1.designer.cs.

I do not know how to change the name of this element. The visual studio.net ide will not let me change
the name from  testapp1.designer.cs to testapp.designer.cs.

Thus can you tell me how to change the name?

If you think something else is causing the problem, can you let me know what it is and how to solve the problem?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Firstofall, *.Designer.cs files are created automatically by VS to maintain the your page's control references. So, Don't rename it.
    If you rename these files it will not imporove your VS performance.

    The following things will affect your vs performance.
    1) RAM Size
    2) Processor Speed
    3) Number of running application in your system
    4) CPU Usage
    5) Memory Usage
    6) No.of files in your project
    7) Extensions in VS
    0