Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Renaming aspx file in Visual Studio 2012 results in improper name for code behind file

$
0
0

I do not know if this only happens in my enviroment or not (Visual Studio 2012 Ultimate on Windows 7 Ultimate 64bit). Let's say I have a page in a web site project named as default.aspx. The name for its code behind file is default.aspx.cs. When the page is renamed to default_1.aspx, the code behind file name is automatically changed to default_1.cs but NOT default_1.aspx.cs. I am wondering if this is a bug or designed behavior. Thanks,


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>