CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



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/1/2006 4:18:03 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 39 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
ADF1969
Asp.Net User
Web Application Project - Can't create project with no root namespace4/1/2006 4:18:03 AM

0/0

We prefer to create our Web Projects (all projects, for that matter) with *no* root namespace; this allows us to specify the namespace for each file at the *file* level.  It allows us to put files in a folder, use them, and then when they mature or need to be moved, move them to another file and not have to re-namespace all the references (because we established that when they were created).

This simplifies development and allows us flexibility.

Currently, if I create a WAP project without a namespace, I get some fairly odd results, like Inherits=".WebPage_aspx" entries (note the "." before the name); I assume that it just blindly prepends the "root namespace" before the page name, but since I don't *have* a root namespace, it prepends "" (empty string) before the "." and that causes an error.

Just want to point this out so it can get fixed prior to the next release of the WAP tool.

Also, if there is a workaround, let me know.

I like the tool, although it took me around 10 hours to convert our project (and I'm still not even done)...it is a modest project in size, but it uses base pages and a fair quantity of code in other projects and the "no root namespace" issue caused me substantial trouble...

Thanks.

Andrew Fields.

BradleyB
Asp.Net User
Re: Web Application Project - Can't create project with no root namespace4/3/2006 4:56:07 PM

0/0

Thanks for bring this to our attention.  I've entered a bug to track the issue.  Other than the empty root namespace problem have you been runing into other issues?

Thanks, Brad.

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
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 VB 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1377, Published: 2008
Beginning Object-Oriented ASP.NET 2.0 with VB.NET: From Novice to Professional Authors: Brian R. Myers, Pages: 193, Published: 2005
Professional Refactoring in Visual Basic Authors: Danijel Arsenovski, Pages: 517, Published: 2008
Professional VB.NET Authors: Fred Barwell, Richard Case, Bill Forgey, Billy Hollis, Jonathan Pinnock, Tim McCarthy, Richard Blair, Jonathan Crossland, Whitney Hankison, Jan Narkiewicz, Rockford Lhotka, Rama Ramachandran, Matthew Reynolds, John Roth, Bill Sheldon, Bill Sempf, Pages: 1032, Published: 2002
Developing Web Applications with Visual Basic.NET and ASP.NET Authors: John Alexander, Billy Hollis, Pages: 400, Published: 2002
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
Foundation Flex for Developers: Data-Driven Applications with PHP, ASP. Net, Coldfusion, and LCDs Authors: Sas Jacobs, Koen de Weggheleire, Pages: 545, Published: 2007
Professional Visual Studio 2005 Team System Authors: Jean-Luc David, Tony Loton, Erik Gunvaldson, Christopher Bowen, Noah Coad, Darren Jefford, Pages: 700, Published: 2006
A Tester's Guide to .NET Programming Authors: Randal Root, Mary Romero Sweeney, Pages: 606, Published: 2006

Web:
Beta 1, Web Application Projects, namespace problems... - ASP.NET ... If you create project "WAP1", that will be your root (default) ... again i have no difficulty in using classes from the project so i can't ...
Migrating a VS 2005 Web Site Project to VS 2005 Web Application ... To create a new VS 2005 Web Application Project in a new solution, .... You can easily add namespaces in code to existing classes within VS using the ...
Compiled Thoughts: Web Site vs. Web Application Project A web site has no project file. The "site" is simply the collection of files ... of the root namespace defined in the project (typically the project name). ...
Structuring Solutions and Projects By default, when you create a new ASP.NET Web application, the project file is located .... NET projects expose the root namespace via project properties. ...
Visual Web Developer Team Blog : Visual Studio 2008 SP1 Beta To create one of these projects, you can simply go to File > New Project. ..... No web application projects are available from any menu. ...
CodeProject: Web-Application Framework - Catharsis - Part VII ... Sep 24, 2008 ... (Re)Create all entity’s infrastructure menu item can be found on .... If you are on the project level, the Root namespace suggestion will ...
Help with Compiling under Web Application Project - v1.9.3 Issues ... I am trying to compile 1.9.3 under a Web Application project. ... I can't add YAF as a project to my solution without getting these errors, ...
VS 2005 Web Application Project Release Candidate Now Available ... ASPX files no longer locked when debugging. Support for root-path based image and stylesheets ..... So sad I can't use the lasted Web Application Project. ...
15 Seconds : Effective Application Structure and Naming in .NET Figure 6 - Creating an ASP.NET Web Application project called ... By effective project and namespace naming standards, developers can rest assured that they ...
ScrewTurn Software Blog Basically, there will be a root namespace and a number of sub-namespaces, .... The web application part of the project is now a real compiled Web ...




Search This Site:










vs 2005 application works in asp.net development server, but not in iis5.1

wildcard

visual studio 2005 - avp.exe appears in solution explorer

play sound upon compile completion

error when checking sources in and out of source safe.

debug error

no xml documentation for websites in vs2005?

vs problem while opening any website in vb.net environment mode

transfer asp.net website from one computer to another

user controls in tables: design view?

vs install configuration

refreshing folder information for the web

setup & deployment??

visual studio too slow for windows app than asp.net app

user control properties in designer

access classes stored in separate directory from aspx.cs page

share resouces across projects

problem connecting to another server in server explorer

intellisense and custom controls

i can get to design view (source view & design view)

intellisense on the first word

new help system in vs2005.

disable id for servercontrols

getting set up

debugging non-managed code on visual studio.net

package load failure

studio to sourcesafe 2005 upload error on large files

extracting data from sqldatasource

show all files

how to restore ie as default browser after uninstalling the mozilla firefox.

  Privacy | Contact Us
All Times Are GMT