p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 30th, 2004, 01:57 AM
Authorized User
Points: 49, Level: 1
Points: 49, Level: 1 Points: 49, Level: 1 Points: 49, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old November 1st, 2004, 01:15 PM
Friend of Wrox
Points: 1,883, Level: 17
Points: 1,883, Level: 17 Points: 1,883, Level: 17 Points: 1,883, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 01:49 PM
Default Namespace - XSLT 1.0 Geierwally XSLT 2 July 9th, 2007 12:08 PM
Dynamic Default Namespace EcceBozo XSLT 2 June 6th, 2007 05:05 PM
Default Namespace (where is it?) bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 4 June 12th, 2004 04:50 AM



All times are GMT -4. The time now is 01:03 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc