|
|
 |
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.
|
 |

October 30th, 2004, 01:57 AM
|
|
Authorized User
|
|
Join Date: Oct 2004
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

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.
Eric
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |