CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/12/2006 7:33:30 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 27 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
ojm37
Asp.Net User
VS2005 is renaming my userControl classes!4/12/2006 7:33:30 PM

0

How do I get VS2005 to stop renaming my classes? For example, I create a user control that I call RPT_Chart in the /Reports/Controls directory. Instead of giving me a class called RPT_Chart, VS2005 is helpful and renames it Reports_Controls_RPT_ChartAngry [:@]

How do I turn this HELPFULConfused [8-)] feature OFF? I want the class named RPT_Chart as I specified!

TIA,


Owen
billhie
Asp.Net User
Re: VS2005 is renaming my userControl classes!4/17/2006 4:44:23 PM

0

Unfortunately there isn't a way to turn this off. This was done to handle certain scenarios with dynamic (server side) compilation where class names in sub-folders can collide with parent folder class names.


Bill Hiebert

Visual Studio Web Tools
ojm37
Asp.Net User
Re: VS2005 is renaming my userControl classes!4/17/2006 4:52:58 PM

0

Isn't that what NAMESPACEs are for? I really do not like my coding environment being that intrusive. Besides, if I get a class name collision, that's my fault and the compiler should just give me an error that makes sense (i.e., class name "abc" in file abc.vb has same name as class "abc" in file classes/abc.vb). VB developers are not stupid, you know....

Too bad this is not a setting that could be turned off.

Cheers,


Owen
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro VB 2005 and the .Net 2.0 Platform Authors: Andrew Troelsen, Pages: 1034, Published: 2006
Pro C# 2005 and the .NET 2.0 Platform: Public Beta Edition Authors: Andrew W. Troelsen, Pages: 982, Published: 2005
The Complete Reference to Professional Soa With Visual Studio 2005 (C# & Vb 2005) .net 3.0 Authors: Tom Gao, Pages: 700, Published: 2007
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Pro C# with .NET 3.0: exploring the .NET universe using curly brackets Authors: Andrew Troelsen, Pages: 1186, Published: 2007

Web:
The .designer.cs partial class keeps renaming my ascx control ... UI.UserControl' does not contain a definition for 'OutputDate'. uggggghhhhh. So I have to manually go back into the designer class and re-rename the control ...
DotNetJunkies :: The #1 .NET Community for Developers Author, Thread: Context is not a member of UserControl .... I have run into this as a newbie when renaming my pages/classes. ...
VS2005 Designer Issue - WinForms not opening after migrating If I make my list class inherit from UserControl I get the same issue. ... problem was still there, so I've had to rename my dirs to exclude the "1. " part . ...
Creating Custom Controls for Microsoft .NET Compact Framework in ... Jul 29, 2005 ... NET Compact Framework custom control in Visual Studio 2005. ... when it is on my form but not in de usercontrol class itself (like a panel ...
MSDN Windows Presentation Foundation (WPF) How to reuse ... Also, when adding user controls to the usercontrol library, I had to rename the namespace and the class of each one to WpfControlLibrary1. ...
ASP.NET 2.0 and VS 2005 - You win some, you lose some Apr 19, 2006 ... In some instances, VS won't let you rename a control, saying that there are already ..... NET 2.0 and Visual Studio 2005. In my estimation ...
The .designer.cs partial class keeps renaming my ascx control ... Every once in awhile this designer class re-writes itself and my control gets renamed to:. protected System.Web.UI.UserControl ...
Migrating a VS 2005 Web Site Project to VS 2005 Web Application ... This command will also rename App_Code to Old_App_Code. ... Pages/Controls/ Classes built using the VS 2005 Web Application Project option, on the other hand ...
Francesco Balena’s Blog Exploring version 1.10 - The rename engine A few customers asked for the ability to rename classes, methods, and controls ... such as polishing UserControl classes and generating cumulative migration ...
CLYDE BARRETTO's BLOG - .NET etc. - Visual Studio 2005 Designing and Testing a User Control in Visual Studio 2005 using the Test Container ... the User Control class as the startup project and run the solution . ...












cannot use certain buttons after removing columns in gridview

cannot rename a file

difference between visualstudio professional & visualstudio - teamsuite

remote development

visual studio 2005 uses too much memory

beta 2 - any news yet?

sql express question

asp.net web site administration tool - can't connect to sql server 2005 in vista

typed data set designer

can't view images

new features

debugging serialization error, how?

upload a new stored procedure to published site

wildcard

vs 2005 b2 - where to download/buy when available

where should i issue aspnet_compiler command

tidy source code and set paragraph margin

regarding installation!

web setup + precompilation

argumentoutofrangeexception: '' has a selectedindex which is invalid because it does not exist in the list of items.

weird error

error when creating new report server project

stand-alone class file declaration in code-behind

unable to select items within asp:table

source control vs 2005

invalid formatetc structure (exception from hresult: 0x80040064(dv_e_formatetc))

frontpage extensions required?

install new itemtemplates and wizard template to my ide vb2005

soapformatter breaking change between beta2 and release?

vs 2003 and vs 2005 compatibility

   
  Privacy | Contact Us
All Times Are GMT