Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / November 2005

Tip: Looking for answers? Try searching our database.

VS2003 aspx file Annoyance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kev - 20 Sep 2005 16:37 GMT
Hey everyone,

I have a ASP.NET project that gets kept in cvs here. Each time we start
a new development cycle we branch and I create a new directory. Then I
create a new project in VS 2003 and import (Include in Project) all the
files.

There are several places where we have .aspx files that do not require a
class file behind them. We do some dynamic includes (Server.Execute) and
some of these files are essentially just HTML files for some customers,
while having the .aspx extension so they can do more involved logic for
others.

Every time VS 2003 encounters one of the files without a class file
during the import it stops and asks me if I want to create one. Is there
any way to turn this off? If I need a back end file I'll create one
myself. It's annoying to have to click "No" for a multitude of dialog
boxes each time we branch. It actually asks this every time I open one
of those files to edit too come to think of it.

Anyone know how to disable this "helpful" feature?

Thanks,
Kev
Signature

Numbers in my email address are to prevent spam

Mikael Levén - 01 Nov 2005 11:26 GMT
Hi,

Have you tried to remove the CodeBehind directive at the @page command in
the .aspx file?

Regards,
Mikael Levén

> Hey everyone,
>
[quoted text clipped - 20 lines]
> Thanks,
> Kev

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.