Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 30th, 2004, 12:57 AM
Authorized User
Join Date: Oct 2004
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I change the default namespace

I have renamed the default namespace in the files

But it cann't get the "**.WebModules.FileManager.Web.BrowseFiles" class at the BrowseFiles.aspx

It can't find the "AccountsTool" in the namespace "**.WebModules.Data" at the AccountsTool.cs of the AccountBusiness module. the same with the permission,dataPermission,Role,User and so on.

Doesn't it inherit the namespace from the Core class?

I have referenced the AccountsData module with the Core module before rebuild the assembly

I have doubt with the files in the bin folder of the AccountsData module. Are they created by the programmer? or they are created by the machine. I try to rename the Dll Files but receive the same questions. I saw the code but i don't know when i open it with vs studio.

who can tell me how to assembly the module without the namespace errors?
How to compile the Dll files?

  #2 (permalink)  
Old November 1st, 2004, 01:15 PM
Friend of Wrox
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts

I'm guessing your DLLs were made before you renamed the namespace. The DLLs probably have metadata that has the old namespace (you could check this with ildasm).

You should make a backup of your whole directory tree, then delete the .dll and .pdb files. Rebuild the project - it will fail the first time, but it probably makes you a new DLL that you can set a reference to in the other projects. Keep doing builds and fixing references until the whole thing builds cleanly.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XmlWriter and default namespace miguel.ossa XML 11 December 4th, 2008 08:05 AM
default-xpath-namespace stolte XSLT 1 March 19th, 2008 12:49 PM
Default Namespace - XSLT 1.0 Geierwally XSLT 2 July 9th, 2007 11:08 AM
Dynamic Default Namespace EcceBozo XSLT 2 June 6th, 2007 04:05 PM
Default Namespace (where is it?) bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 4 June 12th, 2004 03:50 AM

All times are GMT -4. The time now is 07:41 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.